SOCR EduMaterials Activities BivariateNormalExperiment

From Socr

(Difference between revisions)
Jump to: navigation, search
(Applications)
(added the conditional probability as application)
 
(One intermediate revision not shown)
Line 13: Line 13:
== Experiment ==
== Experiment ==
-
Go to the SOCR Experiments [[http://www.socr.ucla.edu/htmls/SOCR_Experiments.html]] and select Bivariate Normal Experiment from the drop-down list of experiments located at the top left. The image below shows the initial view of this experiment:
+
Go to the [http://www.socr.ucla.edu/htmls/SOCR_Experiments.html SOCR Experiments] and select '''Bivariate Normal Experiment''' from the drop-down list of experiments located at the top left. The image below shows the initial view of this experiment:
-
<center>[[Image:SOCR_Activities_BivariateNormalExperiment_Chui_050407_Fig1.jpg|300px]]</center>
+
<center>[[Image:SOCR_Activities_BivariateNormalExperiment_Chui_050407_Fig1.jpg|400px]]</center>
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.
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.
Line 35: Line 35:
Suppose researchers want to determine the age of women who gave birth to a child. This study should offer a bell shaped curve as young teenagers and old women are not as likely to give birth to a child as those who are young to middle-aged women.
Suppose researchers want to determine the age of women who gave birth to a child. This study should offer a bell shaped curve as young teenagers and old women are not as likely to give birth to a child as those who are young to middle-aged women.
 +
 +
==Applications - [[AP_Statistics_Curriculum_2007_Prob_Rules#Conditional_Probability | Conditional Probability]]==
 +
 +
The [http://socr.ucla.edu/htmls/exp/Bivariate_Normal_Experiment.html SOCR Bivariate Normal Experiment] may be used to demonstrate the notion of [[AP_Statistics_Curriculum_2007_Prob_Rules#Conditional_Probability | conditional probability]].
 +
 +
Go to the [http://socr.ucla.edu/htmls/exp/Bivariate_Normal_Experiment.html Bivariate Normal Experiment]. The Rho-parameter (<math>\rho</math>) controls the (in)dependence between the events ''A={X<a}'' & ''B={Y<b}'', where X and Y are two different random Normal variables whose means and variances are controlled by sliders. If <math>\rho =0</math>, then ''A'' and ''B'' are independent. If <math>\rho \not=0</math>, then <math>P(A|B) \not= P(A)</math> -- and ''A'' and ''B'' are not independent as events.
 +
 +
For example, image below shows a simulation for <math>\rho =0</math>, ''A={X<0}'' and ''B={Y<0}''. By definition, the [[AP_Statistics_Curriculum_2007_Prob_Rules#Conditional_Probability | conditional probability]] P(A|B) = P(AB)/P(B), which can be experimentally validated to be = P(A). In this example we used a 20-point simulation and count the number of outcomes with the specified conditions:
 +
: ''P(A={X<0}) = 6/20 = 3/10''
 +
: ''P(B={Y<0}) = 12/20''
 +
: <math>P(A|B) = {P(A \cap B) \over P(B)} = {4/20 \over 12/20} = 4/12 = 1/3  \approx  P(A) = 3/10</math>.
 +
This is pretty strong evidence of independence. But now changing <math>\rho \not=0</math>, will cause a bigger discrepancy between ''P(A|B)'' and ''P(A)''. Try it out!
 +
<center>[[Image:SOCR_Activities_BivariateNormalExperiment_Dinov_091208_Fig2.png|400px]]</center>
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=SOCR_EduMaterials_Activities_BivariteNormalExperiment}}
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=SOCR_EduMaterials_Activities_BivariteNormalExperiment}}

Current revision as of 21:29, 12 September 2008

Contents

Bivariate Normal Experiment

Description

The Bivariate Normal Experiment demonstrates the central tendency, variability, and spread of two quantitative variables in an event. A randomly generated point (X,Y) from a Bivariate normal distribution with mean (0,0) is graphically shown as a red dot in the scatter plot. The distribution regression line is also shown in the scatter plot as blue and the same regression line is shown as red. The middle graph contains the distribution graphs that display the density function and moments of X and the last graph displays the same information for variable Y. For each update, the coordinates are recorded in the data table to the left and the last two tables give the numerical moment values of X and Y, as well as the distribution standard deviation and mean. The last table gives the distribution and sample correlation.

Goal

To provide a simple applet that provides information for bivariate data that consists of two quantitative variables (e.g. age, height, blood pressure, etc.) and build a common ground about these events while enforcing the knowledge of bivariate procedures.

Experiment

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

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.

The distribution standard deviations and correlations can be varied with the scroll bars above the graphs. Note that modifying the mean and standard deviation of X and Y only changes the spread of the distribution graphs for X and Y. The distribution regression line (blue) in the scatter plot will remain horizontal and the density function graphs of X and Y will continue to be normal. When varying p, only the slope of the distribution regression line in the scatter plot changes; when p>0.50, the slope is positive and when p<0.50, the slope becomes negative. The image below displays information when p>0.50 after many trials.

Applications

The Bivariate Experiment is a special case for values that X and Y that are finite. If either of the values is infinite, then the bivariate probability reverts to the univariate probability.

This SOCR Java applet could be used in many different kinds of studies.

For instance, a professor may use the SOCR Bivariate Experiment to determine the grades for his students since the bivariate normal probability offers a “bell-shaped” curve.

Another example may be to study the population in a big city’s subway throughout a weekday. The distribution graph may be centered at the time of peak hours in the subway. Using the SOCR Bivariate Normal Experiment will display the exact mean and standard deviation of the population in the subway on a daily basis.

Suppose researchers want to determine the age of women who gave birth to a child. This study should offer a bell shaped curve as young teenagers and old women are not as likely to give birth to a child as those who are young to middle-aged women.

Applications - Conditional Probability

The SOCR Bivariate Normal Experiment may be used to demonstrate the notion of conditional probability.

Go to the Bivariate Normal Experiment. The Rho-parameter (ρ) controls the (in)dependence between the events A={X<a} & B={Y<b}, where X and Y are two different random Normal variables whose means and variances are controlled by sliders. If ρ = 0, then A and B are independent. If \rho \not=0, then P(A|B) \not= P(A) -- and A and B are not independent as events.

For example, image below shows a simulation for ρ = 0, A={X<0} and B={Y<0}. By definition, the conditional probability P(A|B) = P(AB)/P(B), which can be experimentally validated to be = P(A). In this example we used a 20-point simulation and count the number of outcomes with the specified conditions:

P(A={X<0}) = 6/20 = 3/10
P(B={Y<0}) = 12/20
P(A|B) = {P(A \cap B) \over P(B)} = {4/20 \over 12/20} = 4/12 = 1/3  \approx  P(A) = 3/10.

This is pretty strong evidence of independence. But now changing \rho \not=0, will cause a bigger discrepancy between P(A|B) and P(A). Try it out!



Translate this page:

(default)

Deutsch

Español

Français

Italiano

Português

日本語

България

الامارات العربية المتحدة

Suomi

इस भाषा में

Norge

한국어

中文

繁体中文

Русский

Nederlands

Ελληνικά

Hrvatska

Česká republika

Danmark

Polska

România

Sverige

Personal tools