Below you will find pages that utilize the taxonomy term “Stats”
July 1, 2016
Swaptastic Part 3: The Shiny App
The shiny app embedded below allows you to explore the number of packets you need to complete the Panini sticker album for this summer’s Euro tournament. This builds on the results I presented in an [earlier post](link to earlier post) and allows you to explore how many fewer packets you need to buy when you have more friends to swap with. You can also vary the number of runs performed because the model runs considerably slower with more swappers involved.
June 29, 2016
Swaptastic Part 2
As a follow-up to my post about the Euro 2016 Panini Stickers, I’ve now completed the collection with the help of an online swapping site and by buying the last 39 stickers directly from Panini. I also managed to write a new simulator, this time with additional collectors involved.
I assume that each of N collectors will buy a packet of stickers and add any new stickers to their album. Then they attempt to swap any leftovers with the rest of their friends.
June 5, 2016
Euro 2016 Panini Stickers
Sound the conspicuous consumption klaxon! 📣 I know it’s foolish but I decided to collect the Panini stickers for the Euro 2016 tournament this summer. I think it’s a more edifying waste of money than a series of group game accumulators that don’t come off. If this week’s long read in The Guardian is anything to go by, we really shouldn’t be giving any more of our money to betting companies.
September 25, 2014
How to generate random numbers in R
This post deals with how to generate random numbers in R. It is good to know how to generate random numbers with a particular language or software package for at least one of the following three reasons:
You want to test something that depends on a particular distribution. You’re running a stochastic process of some kind (Branching process, random walk etc) and you need random numbers for deciding whether an event occurs.