# SOCR EduMaterials Activities MontyHall

(Difference between revisions)
 Revision as of 23:32, 19 October 2006 (view source)Nchristo (Talk | contribs)← Older edit Current revision as of 23:38, 8 February 2008 (view source)IvoDinov (Talk | contribs) (8 intermediate revisions not shown) Line 1: Line 1: - ==This activity== + == This is an activity to find the probability of winning the Let's Make a Deal (Monty Hall) experiment. == - \noindent Open $http://www.socr.ucla.edu/htmls/SOCR\_Experiments.html$ and use the scroll bar to find the Monty Hall Experiment.  Once you find it, click on the About button and read about the experiment.  There are two different versions of the game (standard or blind), but for this lab you will be using only the {\it standard} version of the game, which is the default setting of the applet.   Answer the following questions: + Go to the [http://www.socr.ucla.edu/htmls/SOCR_Experiments.html SOCR Experiments] and select the '''Monty Hall Experiment''' from the drop-down list of experiments on the top-left.  Once you find it, click on the About button and read about the experiment.  There are two different versions of the game (standard or blind), but for this lab you will be using only the standard version of the game, which is the default setting of the applet. Below you can see the result of a single run of the experiment. You can also play the [http://socr.ucla.edu/htmls/SOCR_Games.html Interactive Manty Hall Game]. - \begin{itemize} + - \item[a.]  There are three random variables ($G, S, W$) and one parameter ($p$) involved in this experiment. Describe what each one represents and what possible values they can take (you find it helpful if you run the experiment a few times before you answer the question). + - \item[b.]  Run the experiment just once (make sure $p=1$, which means the player always switches), make a snapshot of the outcome, and describe what happened (i.e. What door did the player chose at first? Which door did the host opened? Did the player switch? Did the player win?). + - \item[c.] Perform 10 runs, take a snapshot. + - \item[d.] Reset and perform 100 runs, take a snapshot. +
[[Image: SOCR_Activities_Monty_Hall_Christou_Monty_Hall.jpg|600px]]
- \item[e.]  Reset and perform 1000 runs, take a snapshot. + Answer the following questions: - \item[f.] Using the three snapshots just taken, compare the theoretical probability distribution of $W$ with the empirical distribution. + '''a.''' There are three random variables ($G, S, W$) and one parameter ($p$) involved in this experiment.  Describe what each one represents and what possible values they can take (you find it helpful if you run the experiment a few times before you answer the question). + '''b.'''  Run the experiment just once (make sure $p=1$, which means the player always switches), make a snapshot of the outcome, and describe what happened (i.e. What door did the player chose at first? Which door did the host opened? Did the player switch? Did the player win?). - \item[g.] For the three snapshots taken, look at the graph on the bottom right hand corner, and compare the blue lines with the shaded red area. Where does the graph come from and how do they relate to the part (f)? + '''c.''' Perform 10 runs, take a snapshot. - \item[h.] Reset and change $p=0$, which means the player never switches.  Perform 100 runs and take a snapshot.  Describe the theoretical and empirical distribution of $W$. + '''d.''' Reset and perform 100 runs, take a snapshot. - \item[i.] Reset and change $p=0.5$, which means the player never switches half of the time.  Perform 100 runs and take a snapshot.  Describe the theoretical and empirical distribution of $W$. + '''e.'''  Reset and perform 1000 runs, take a snapshot. + '''f.'''  Using the three snapshots just taken, compare the theoretical probability distribution of $W$ with the empirical distribution. + '''g.'''  For the three snapshots taken, look at the graph on the bottom right hand corner, and compare the blue lines with the shaded red area.  Where does the graph come from and how do they relate to the part (f)? - \end{itemize} + '''h.''' Reset and change $p=0$, which means the player never switches.  Perform 100 runs and take a snapshot.  Describe the theoretical and empirical distribution of $W$. + + '''i.''' Reset and change $p=0.5$, which means the player never switches half of the time.  Perform 100 runs and take a snapshot.  Describe the theoretical and empirical distribution of $W$. + +

## This is an activity to find the probability of winning the Let's Make a Deal (Monty Hall) experiment.

Go to the SOCR Experiments and select the Monty Hall Experiment from the drop-down list of experiments on the top-left. Once you find it, click on the About button and read about the experiment. There are two different versions of the game (standard or blind), but for this lab you will be using only the standard version of the game, which is the default setting of the applet. Below you can see the result of a single run of the experiment. You can also play the Interactive Manty Hall Game.

a. There are three random variables (G,S,W) and one parameter (p) involved in this experiment. Describe what each one represents and what possible values they can take (you find it helpful if you run the experiment a few times before you answer the question).

b. Run the experiment just once (make sure p = 1, which means the player always switches), make a snapshot of the outcome, and describe what happened (i.e. What door did the player chose at first? Which door did the host opened? Did the player switch? Did the player win?).

c. Perform 10 runs, take a snapshot.

d. Reset and perform 100 runs, take a snapshot.

e. Reset and perform 1000 runs, take a snapshot.

f. Using the three snapshots just taken, compare the theoretical probability distribution of W with the empirical distribution.

g. For the three snapshots taken, look at the graph on the bottom right hand corner, and compare the blue lines with the shaded red area. Where does the graph come from and how do they relate to the part (f)?

h. Reset and change p = 0, which means the player never switches. Perform 100 runs and take a snapshot. Describe the theoretical and empirical distribution of W.

i. Reset and change p = 0.5, which means the player never switches half of the time. Perform 100 runs and take a snapshot. Describe the theoretical and empirical distribution of W.