Difference between revisions of "SOCR EduMaterials Activities DiceExperiment"

From SOCR
Jump to: navigation, search
m
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== This is an activity to explore the distribution of various discrete random variable when <math> n </math> dice are rolled. ==
+
== Dice Experiment ==
  
Open http://www.socr.ucla.edu/htmls/SOCR_Experiments.html and use the scroll bar to find the Dice Experiment.  Once you find it, click on the About button and read about the experiment.  Below you can see the distribution of the sum (<math> Y </math>) of the two numbers shown when 2 dice are rolled.
+
== Description ==
  
<center>[[Image: SOCR_Activities_DiceExperiment_Christou_dice.jpg|600px]]</center>
+
The experiment consists of rolling n dice, each governed by the same probability distribution. You can specify the die distribution by clicking on the die probability button; this button bring up the die probability dialog box. You can define your own distribution by typing probabilities into the text fields of the dialog box, or you can click on one of the buttons in the dialog box to specify one of the following special distributions:
 +
fair, 1-6 flat
 +
2-5 flat
 +
3-4 flat
 +
skewed left
 +
skewed right
  
Answer the following questions:
+
The following random variables are recorded on each update:  
 +
the sum of the scores Y
 +
the average score M
 +
the minimum score U
 +
the maximum score V
 +
the number of aces (1's) Z
  
'''a.''' There are five random variables (<math> Y, M, U, V, Z </math>) and two parameters <math> n, p </math>) involved in this experiment. Describe what each one represents.  
+
Any one of these variables can be selected with a list box. The density and moments of the selected variable are shown in blue in the distribution graph and are recorded in the distribution table. When the simulation runs, the empirical density and moments are shown in red in the distribution graph and are recorded in the distribution table. The parameter n can be varied with a scroll bar.
  
'''b.''' Choose <math> n=3 </math>.  Find the probability distribution for each one of the random variables <math> Y, M, U, V, Z </math>, compute the mean and standard deviation for each one of them, and verify that they agree with the ones in the applet.
 
  
'''c.''' Choose <math> Y, \ n=3 </math>, fair dice, perform 100 runs, take a snapshot and comment.
+
== Goal ==
  
'''d.''' Reset. Choose <math> M, \ n=3 </math>, fair dice, perform 100 runs, take a snapshot and comment.
+
To provide a simulation demonstrating events of discrete variables and resemblance to the “bell shaped curve” of the Central Limit Theorem. Using this applet should allow the user to gain a better understanding of experimenting with distinct variables.
  
'''d.'''  Reset.  Choose <math> U, \ n=3 </math>, fair dice, perform 100 runs, take a snapshot and comment.
+
== Experiment ==
  
'''e.''' Reset.  Choose <math> V, \ n=3 </math>, fair dice, perform 100 runs, take a snapshot and comment.
+
Go to the [http://www.socr.ucla.edu/htmls/SOCR_Experiments.html SOCR Experiments] and select the '''Dice Experiment''' from the drop-down list of experiments on the top left. The image below shows the initial view of this experiment:
  
'''g.'''  Reset.  Choose <math> Z, \ n=3 </math>, fair dice, perform 100 runs, take a snapshot and comment.
+
<center>[[Image:SOCR_Activities_DiceExperiment_Chui_051807_Fig1.jpg|400px]]</center>
  
'''h.'''Reset. Change <math> p </math> to 1-6 Flat (1,6 each has probability 0.25, and 2,3,4,5, each has probability 0.125).  Find the probability distribution of <math> Y </math> when <math> n=3 </math> dice are rolled and verify that it agrees with the one in the applet.  Run the experiment 100 times, take a snapshot and comment.
+
When pressing the '''play''' button, one trial will be executed and recorded in the distribution table below. The fast forward button symbolizes the nth number of trials to be executed each time. The stop button ceases any activity and is helpful when the experimenter chooses “continuous,” indicating an infinite number of events. The fourth button will reset the entire experiment, deleting all previous information and data collected.
 +
The “update” scroll indicates nth number of trials (1, 10, 100, or 1000) performed when selecting the fast forward button and the “stop” scroll indicates the maximum number of trials in the experiment.
  
<hr>
 
  
* SOCR Home page: http://www.socr.ucla.edu
+
As parameter n increases, the distribution graph will have a “bell shaped curve” for variable Y and M. Similarly, when variable U and V are selected, the distribution graph will become more skewed to the right and left, respectively. For variable Z, it will also be skewed to the right but it also slightly takes form of the “bell shaped curve.” The image below demonstrates this property of the java applet when selecting variable Y after many trials:
 +
 
 +
 
 +
Note that the empirical density and moments graph begin to converge to the distribution graph after every trial.
 +
 
 +
<center>[[Image:SOCR_Activities_DiceExperiment_Chui_051807_Fig2.jpg|400px]]</center>
 +
 
 +
 
 +
== Applications ==
 +
 
 +
The Dice Experiment is an applet that generalizes the important of experiments involving discrete variables. It allows users to understand the different outcomes when drawing the selected random variables, whether it is the sum of the scores, the average score, etc.
 +
 
 +
 
 +
This applet may also be used in place of other activities that occur in daily lives:
 +
 
 +
 
 +
Suppose a gambler wants to test his luck in a casino. He uses this applet to show the actually likelihood of randomly tossing two dice and having their sum equal to 7. With the selection of variable Y, he sees that he has a higher chance of landing with the sum of 7 than most of the other numbers.
 +
 
 +
 
 +
For example, researchers want to know which color of the rainbow attracts toddlers the most so that they can develop a product that will be successful. They hypothesize the color yellow to be the best candidate. With this applet, they select variable Z to represent the number of toddlers choosing yellow.  
 +
 
  
 
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=SOCR_EduMaterials_Activities_DiceExperiment}}
 
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=SOCR_EduMaterials_Activities_DiceExperiment}}

Latest revision as of 16:26, 24 January 2008

Dice Experiment

Description

The experiment consists of rolling n dice, each governed by the same probability distribution. You can specify the die distribution by clicking on the die probability button; this button bring up the die probability dialog box. You can define your own distribution by typing probabilities into the text fields of the dialog box, or you can click on one of the buttons in the dialog box to specify one of the following special distributions: fair, 1-6 flat 2-5 flat 3-4 flat skewed left skewed right

The following random variables are recorded on each update: the sum of the scores Y the average score M the minimum score U the maximum score V the number of aces (1's) Z

Any one of these variables can be selected with a list box. The density and moments of the selected variable are shown in blue in the distribution graph and are recorded in the distribution table. When the simulation runs, the empirical density and moments are shown in red in the distribution graph and are recorded in the distribution table. The parameter n can be varied with a scroll bar.


Goal

To provide a simulation demonstrating events of discrete variables and resemblance to the “bell shaped curve” of the Central Limit Theorem. Using this applet should allow the user to gain a better understanding of experimenting with distinct variables.

Experiment

Go to the SOCR Experiments and select the Dice Experiment from the drop-down list of experiments on the top left. The image below shows the initial view of this experiment:

SOCR Activities DiceExperiment Chui 051807 Fig1.jpg

When pressing the play button, one trial will be executed and recorded in the distribution table below. The fast forward button symbolizes the nth number of trials to be executed each time. The stop button ceases any activity and is helpful when the experimenter chooses “continuous,” indicating an infinite number of events. The fourth button will reset the entire experiment, deleting all previous information and data collected. The “update” scroll indicates nth number of trials (1, 10, 100, or 1000) performed when selecting the fast forward button and the “stop” scroll indicates the maximum number of trials in the experiment.


As parameter n increases, the distribution graph will have a “bell shaped curve” for variable Y and M. Similarly, when variable U and V are selected, the distribution graph will become more skewed to the right and left, respectively. For variable Z, it will also be skewed to the right but it also slightly takes form of the “bell shaped curve.” The image below demonstrates this property of the java applet when selecting variable Y after many trials:


Note that the empirical density and moments graph begin to converge to the distribution graph after every trial.

SOCR Activities DiceExperiment Chui 051807 Fig2.jpg


Applications

The Dice Experiment is an applet that generalizes the important of experiments involving discrete variables. It allows users to understand the different outcomes when drawing the selected random variables, whether it is the sum of the scores, the average score, etc.


This applet may also be used in place of other activities that occur in daily lives:


Suppose a gambler wants to test his luck in a casino. He uses this applet to show the actually likelihood of randomly tossing two dice and having their sum equal to 7. With the selection of variable Y, he sees that he has a higher chance of landing with the sum of 7 than most of the other numbers.


For example, researchers want to know which color of the rainbow attracts toddlers the most so that they can develop a product that will be successful. They hypothesize the color yellow to be the best candidate. With this applet, they select variable Z to represent the number of toddlers choosing yellow.




Translate this page:

(default)
Uk flag.gif

Deutsch
De flag.gif

Español
Es flag.gif

Français
Fr flag.gif

Italiano
It flag.gif

Português
Pt flag.gif

日本語
Jp flag.gif

България
Bg flag.gif

الامارات العربية المتحدة
Ae flag.gif

Suomi
Fi flag.gif

इस भाषा में
In flag.gif

Norge
No flag.png

한국어
Kr flag.gif

中文
Cn flag.gif

繁体中文
Cn flag.gif

Русский
Ru flag.gif

Nederlands
Nl flag.gif

Ελληνικά
Gr flag.gif

Hrvatska
Hr flag.gif

Česká republika
Cz flag.gif

Danmark
Dk flag.gif

Polska
Pl flag.png

România
Ro flag.png

Sverige
Se flag.gif