Polya Urn Simulation
observablehq.com
Polya Urn Simulation
1–10 of 21 posts
Re: Polya Urn Simulation
#2Re: Polya Urn Simulation
#3I must admit: this went against my intuition. My first guess was that you would end up with an urn full of either red or blue balls.
Re: Polya Urn Simulation
#4I must admit: this went against my intuition. My first guess was that you would end up with an urn full of either red or blue balls.
But the problem is symmetric, and even if pick a red, you end up with two reds and one blue, so not so much imbalanced.
And even if the mix becomes really imbalanced, say 7 red and one blue, picking the rarest color will have more effect than picking the most common one. So you could consider that the system tries to balance itself naturally, hence avoiding huge swings in some direction or the other.
Re: Polya Urn Simulation
#5Isn’t the more enticing question how strong the bias towards the first picked Color is?
Re: Polya Urn Simulation
#6Urn models are engineered to have a rich get richer bias which is best seen by varying the initial populations.
Instead of offering trial count and pick counts which are (invariates in the actual model) he could have picked initial ball count and initial white/red ratio.
Re: Polya Urn Simulation
#7I must admit: this went against my intuition. My first guess was that you would end up with an urn full of either red or blue balls.
Me too, but only because I was expecting something interesting to happen since it was on HN!
Re: Polya Urn Simulation
#8I must admit: this went against my intuition. My first guess was that you would end up with an urn full of either red or blue balls.
As you say, the way in which new balls are added tends to push the proportion towards the extremes.
The uniform distribution is the result of these two tendencies exactly cancelling out.
Re: Polya Urn Simulation
#9> After a large number of picks, what is the behavior of the proportion of red balls in the urn Isn’t the more enticing question how strong the bias towards the first picked Color is?
Re: Polya Urn Simulation
#10> After a large number of picks, what is the behavior of the proportion of red balls in the urn Isn’t the more enticing question how strong the bias towards the first picked Color is?