exercise:7f19badaad: Difference between revisions

From Stochiki
(Created page with "<div class="d-none"><math> \newcommand{\NA}{{\rm NA}} \newcommand{\mat}[1]{{\bf#1}} \newcommand{\exref}[1]{\ref{##1}} \newcommand{\secstoprocess}{\all} \newcommand{\NA}{{\rm NA}} \newcommand{\mathds}{\mathbb}</math></div> The Polya urn model for contagion is as follows: We start with an urn which contains one white ball and one black ball. At each second we choose a ball at random from the urn and replace this ball and add one more of the color chosen. Write a pr...")
 
No edit summary
 
Line 1: Line 1:
<div class="d-none"><math>
The Polya urn model for contagion is as follows: We start with an urn which contains one white ball and one black ball.  At each
\newcommand{\NA}{{\rm NA}}
\newcommand{\mat}[1]{{\bf#1}}
\newcommand{\exref}[1]{\ref{##1}}
\newcommand{\secstoprocess}{\all}
\newcommand{\NA}{{\rm NA}}
\newcommand{\mathds}{\mathbb}</math></div> The Polya urn model for contagion is as follows: We
start with an urn which contains one white ball and one black ball.  At each
second we choose a ball at random from the urn and replace this ball and add one
second we choose a ball at random from the urn and replace this ball and add one
more of the color chosen.  Write a program to simulate this model, and see if
more of the color chosen.  Write a program to simulate this model, and see if

Latest revision as of 00:46, 13 June 2024

The Polya urn model for contagion is as follows: We start with an urn which contains one white ball and one black ball. At each second we choose a ball at random from the urn and replace this ball and add one more of the color chosen. Write a program to simulate this model, and see if you can make any predictions about the proportion of white balls in the urn after a large number of draws. Is there a tendency to have a large fraction of balls of the same color in the long run?