Difference between revisions of "SOCR EduMaterials Activities Explore Distributions"

From SOCR
Jump to: navigation, search
(This is an activity to explore the relations among some of the commonly used probability distributions.)
(This is an activity to explore the relations among some of the commonly used probability distributions.)
Line 5: Line 5:
 
* '''Geometric probability distribution:'''  
 
* '''Geometric probability distribution:'''  
 
Let's roll two dice until a sum of 10 is obtained.  What is the probability that the first sum of 10 will occur after the 5th trial?  The answer to this question is <math> P(X>5)=(1-\frac{3}{36})^5=0.6472. </math>.  This is equivalent to the event that no sum of 10 is observed on the first 5 trials (5 failures).  Now, using SOCR we can obtain this probability easily by entering in the SOCR geometric distribution applet <math> p=\frac{3}{36}=0.0833 </math> and in the Right Cut-Off box 5.  We can find the desire probability on the right corner of the applet.  The figure below clearly displays this probability.
 
Let's roll two dice until a sum of 10 is obtained.  What is the probability that the first sum of 10 will occur after the 5th trial?  The answer to this question is <math> P(X>5)=(1-\frac{3}{36})^5=0.6472. </math>.  This is equivalent to the event that no sum of 10 is observed on the first 5 trials (5 failures).  Now, using SOCR we can obtain this probability easily by entering in the SOCR geometric distribution applet <math> p=\frac{3}{36}=0.0833 </math> and in the Right Cut-Off box 5.  We can find the desire probability on the right corner of the applet.  The figure below clearly displays this probability.
 +
  
 
<center>[[Image: SOCR_Activities_ExploreDistributions_Christou_figure1.jpg|600px]]</center>
 
<center>[[Image: SOCR_Activities_ExploreDistributions_Christou_figure1.jpg|600px]]</center>
 +
  
 
* '''Binomial approximation to hypergeometric:'''   
 
* '''Binomial approximation to hypergeometric:'''   
 
An urn contains 50 marbles (35 green and 15 white).  Fifteen marbles are selected without replacement.  Find the probability that exactly 10 out of the 15 selected are green marbles.  The answer to this question can be found using the formula:
 
An urn contains 50 marbles (35 green and 15 white).  Fifteen marbles are selected without replacement.  Find the probability that exactly 10 out of the 15 selected are green marbles.  The answer to this question can be found using the formula:
 
<math> P(X=10)=\frac{{35 \choose 10}{15 \choose 5}}{{50 \choose 15}}=0.2449. </math>  Using SOCR simply enter population size 50, sample size 15, and number of good objects 35, to get the figure below.
 
<math> P(X=10)=\frac{{35 \choose 10}{15 \choose 5}}{{50 \choose 15}}=0.2449. </math>  Using SOCR simply enter population size 50, sample size 15, and number of good objects 35, to get the figure below.
 +
  
 
<center>[[Image: SOCR_Activities_ExploreDistributions_Christou_figure2.jpg|600px]]</center>
 
<center>[[Image: SOCR_Activities_ExploreDistributions_Christou_figure2.jpg|600px]]</center>
 +
  
 
Now, select without replacement only 2 marbles.  Compute the exact probability that 1 green marble is obtained.  This is equal to  
 
Now, select without replacement only 2 marbles.  Compute the exact probability that 1 green marble is obtained.  This is equal to  

Revision as of 00:08, 24 March 2007

This is an activity to explore the relations among some of the commonly used probability distributions.

  • Geometric probability distribution:

Let's roll two dice until a sum of 10 is obtained. What is the probability that the first sum of 10 will occur after the 5th trial? The answer to this question is \( P(X>5)=(1-\frac{3}{36})^5=0.6472. \). This is equivalent to the event that no sum of 10 is observed on the first 5 trials (5 failures). Now, using SOCR we can obtain this probability easily by entering in the SOCR geometric distribution applet \( p=\frac{3}{36}=0.0833 \) and in the Right Cut-Off box 5. We can find the desire probability on the right corner of the applet. The figure below clearly displays this probability.


SOCR Activities ExploreDistributions Christou figure1.jpg


  • Binomial approximation to hypergeometric:

An urn contains 50 marbles (35 green and 15 white). Fifteen marbles are selected without replacement. Find the probability that exactly 10 out of the 15 selected are green marbles. The answer to this question can be found using the formula\[ P(X=10)=\frac{{35 \choose 10}{15 \choose 5}}[[:Template:50 \choose 15]]=0.2449. \] Using SOCR simply enter population size 50, sample size 15, and number of good objects 35, to get the figure below.


SOCR Activities ExploreDistributions Christou figure2.jpg


Now, select without replacement only 2 marbles. Compute the exact probability that 1 green marble is obtained. This is equal to \( P(X=1)=\frac{{35 \choose 1}{15 \choose 1}}[[:Template:50 \choose 2]]=0.4286. \) This is also shown on the figure below.

SOCR Activities ExploreDistributions Christou figure3.jpg

We will approximate the probability of obtaining 1 green marble using binomial as follows. Select the SOCR binomial distribution and choose number of trials 2 and probablity of success \( p=\frac{35}{50}=0.7 \). Compare the figure below with the figure above. They are almost the same! Why? Using the binomial formula we can compute the approximate probability of observing 1 green marble as \( P(X=1)={2 \choose 1}0.70^10.30^1=0.42 \) (very close to the exact probability).

SOCR Activities ExploreDistributions Christou figure4.jpg
  • Normal approximation to binomial:

Graph and comment on the shape of binomial with \( n=20, p=0.1 \) and \( n=20, p=0.9 \). Now, keep \( n=20 \) but change \( p=0.45 \). What do you observe now? How about when \( n=80, p=0.1 \). See the four figures below.

SOCR Activities ExploreDistributions Christou figure5.jpg
SOCR Activities ExploreDistributions Christou figure6.jpg
SOCR Activities ExploreDistributions Christou figure7.jpg
SOCR Activities ExploreDistributions Christou figure8.jpg


What is your conclusion on the shape of the binomial distribution in relation to its parameters \( n, p \)? Clearly when \( n \) is large and \( p \) small or large the result is a bell-shaped distribution. When \( n \) is small (10-20) we still get approximately a bell-shaped distribution as long as \( p \approx 0.5 \). Because of this feature of the binomial distribution we can approximate binomial distributions using the normal distribution when the above requirements hold. Here is one example: Eighty cards are drawn with replacement from the standard 52-card deck. Find the exact probability that at least 8 aces are obtained. This can be computed using the formula \( P(X \ge 8)=\sum_{x=8}^{80}(\frac{4}{52})^x (\frac{48}{52})^{80-x}=0.2725 \).

Much easier we can use SOCR to compute this probability (see figure below).


SOCR Activities ExploreDistributions Christou figure9.jpg

But we can also approximate this probability using the normal distribution. We will need the mean and the standard deviation of this normal distribution. These are \( \mu=np=80\frac{4}{52}=6.154 \) and \( \sigma=\sqrt{80 \frac{4}{52}\frac{48}{52}}=2.383. \) Of course this can be obtained directly from the SOCR binomial applet. Now, all you need to do is to select the SOCR normal distribution applet and enter for the mean 6.154, and for the standard deviation 2.383. To obtain the desire probability in the right cut-off box enter 7.5 (using the continuity correction for better approximation). The approximate probability is \( P(X \ge 8) \approx 0.2861 \) (see figure below).

SOCR Activities ExploreDistributions Christou figure10.jpg





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