Difference between revisions of "SOCR EduMaterials Activities Bivariate"

From SOCR
Jump to: navigation, search
Line 1: Line 1:
 
== [[SOCR_EduMaterials_Activities | SOCR Educational Materials - Activities ]] - SOCR Bivariate Activity ==
 
== [[SOCR_EduMaterials_Activities | SOCR Educational Materials - Activities ]] - SOCR Bivariate Activity ==
  
The Java applet needed for the following two activities can be found in the SOCR site
+
'''The Bivariate Normal Experiment''': The Java applet needed for the following two activities can be found in the SOCR site: http://socr.stat.ucla.edu/htmls/SOCR_experiments.html
  
http://socr.stat.ucla.edu/htmls/SOCR_experiments.html
 
  
The Bivariate Normal Experiment
+
* '''Setting''': This experiment consists of selecting values for the random variables  X and Y which are jointly normally distributed as a bivariate normal f(X,Y) with parameters <math>\mu_x=0</math>, <math>\mu_y=0</math>, <math>\sigma_x=0</math>=”a value of your choice” , <math>\sigma_y=0</math>=”a value of your choice” ,  and <math>\rho</math>=”a value of your choice”.  The '''first objective''' of our activity is to see how the location of the base of the distribution and its spread changes as the parameters change.  The '''second objective''' is to see how no matter what the values of the parameters are, the marginal distribution of X and the marginal distribution of Y are both normal, with more or less spread depending on the values you assign to the parameters.
  
<math>\sum_{n=0}^\infty \frac{x^n}{n!}</math>
+
The points you select on the left hand side diagram, which shows the area above which the normal density lies (or area of integration), can be chosen by setting stop=10,000 update=100 and then clicking on the <math>\rhd</math> button.
  
This experiment consists of selecting values for the random variables  X and Y which are jointly normally distributed as a bivariate normal f(X,Y) with parameters x=0, y=0, x=”a value of your choice” , y=”a value of your choice” , and =”a value of your choice”.  The first objective of our activity is to see how the location of the base of the distribution and its spread changes as the parameters change.  The second objective is to see how no matter what the values of the parameters are, the marginal distribution of X and the marginal distribution of Y are both normal, with more or less spread depending on the values you assign to the parameters.
+
=== See what happens when <math>\rho</math> and the standard deviation of Y, <math>\sigma_y</math>, are constant, and the standard deviations of X, <math>\sigma_x</math>, increases ===
  
The points you select on the left hand side diagram, which shows the area above which the normal density lies (or area of integration), can be chosen by setting stop=10,000 update=100 and then clicking on the  button.  
+
* '''Excersize 1''': Next, set <math>\rho=0.6, \sigma_x=1.3 and \sigma_y=1.1</math> and select the 10,000 points as indicated above. Write down the mean and standard deviation of the numbers you generated and the correlation. Save the picture.
  
(A) See what happens when  and the standard deviation of Y are constant, and the standard deviations of X increases.  
+
* '''Excersize 2''': Now, change only the standard deviation of X from 1.3 to 2. Write down the means, standard deviations and correlations of numbers you gnerated. Save the picture.
  
A.1 Start by setting =0.6, x=1.3 and y=1.1 and select the 10000 points as indicated above. Print a screen shot of the pictures you get.  Attach at the end, well labeled so that we know it is for this question.
+
* '''Excersize 3''': Compare the pictures generated in excersizes 1 and 2 above. What would you say is the effect on the joint distribution <math>f(X,Y)</math> of increasing the standard deviation of X, other things held constant.  Write your comments here.  
Write down the mean and standard deviation of the numbers you generated and the correlation.  
 
  
A.2 Change now only the standard deviation of X from 1.3 to 2. Print a screen shot of the pictures. Write means, standard deviations and correlations of numbers you gnerated.
+
* '''Excersize 4''': Compare the marginal densities for X and for Y in excersizes 1 and 2. Which density is more spread out?
  
A.3 Compare the pictures in A.1 and A.2. What would you say has been the effect on the joint distribution f(X,Y) of increasing the standard deviation of X, other things held constant.  Write your comments here.  
+
* '''Excersize 5''': Compare the regression lines in excersizes 1 and 2. Make your comparison in terms of the slope.  
  
 +
=== See what happens when the standard deviations of X and Y are fixed and the correlation increases ===
  
A.4. Compare the marginal densities for X and for Y in A.1 and A.2. Which is more spread out?
+
* '''Excersize 6''': Fix now the standard deviation of X to 1.3 and the standard deviation of Y to 1.1 and the correlation coefficient to 0.9. Print a screenshot of the pictures, means, standard deviations and correlations in your data. Compare your pictures to those in excersize 1.
  
A.5. Compare the regression lines in A.1 and A.2.  Make your comparison in terms of the slope.
+
* '''Excersize 7''': According to your results in execrsize 1, what has happened to the joint density function of X and Y as the correlation coefficient has increased? What has happened to the regression line? What has happened to the marginal densities of X and of Y?
  
(B). See what happens when the standard deviations of X and Y are fixed and the correlation increases.
 
  
B.1 Fix now the standard deviation of X to 1.3 and the standard deviation of Y to 1.1 and the correlation coefficient to 0.9.
+
=== Write here the joint density function of X and Y with parameter values as in excersize 1 ===
Print a screenshot of the pictures, means, standard deviations and correlations in your data. Compare your pictures to those in part A.1.
 
  
  
B.2. According to your results in part A.1, what has happened to the joint density function of X and Y as the correlation coefficient has increased?
+
* '''Excersize 8''': Write the formula for the marginal density of X and the marginal density of Y with parameter values as given in excersize 1. Write the formulas for the conditional densities of X given Y and Y given X, with parameter values as given in excersize 1. Write then the regression lines that follow from these densities.  
 
 
 
 
What has happened to the regression line?
 
 
 
What has happened to the marginal densities of X and of Y?
 
 
 
 
 
C. Write here the joint density function of X and Y with parameter values as in A.1
 
 
 
 
 
    Write the formula for the marginal density of X and the marginal density of Y with parameter values as given in A.1
 
 
 
 
 
Write the formulas for the conditional densities of X given Y and Y given X, with parameter values as given in A.1. Write then the regression lines that follow from these densities.  
 
 
 
  
 +
<hr>
 
* SOCR Home page: http://www.socr.ucla.edu
 
* SOCR Home page: http://www.socr.ucla.edu
  

Revision as of 15:24, 26 September 2006

SOCR Educational Materials - Activities - SOCR Bivariate Activity

The Bivariate Normal Experiment: The Java applet needed for the following two activities can be found in the SOCR site: http://socr.stat.ucla.edu/htmls/SOCR_experiments.html


  • Setting: This experiment consists of selecting values for the random variables X and Y which are jointly normally distributed as a bivariate normal f(X,Y) with parameters \(\mu_x=0\), \(\mu_y=0\), \(\sigma_x=0\)=”a value of your choice” , \(\sigma_y=0\)=”a value of your choice” , and \(\rho\)=”a value of your choice”. The first objective of our activity is to see how the location of the base of the distribution and its spread changes as the parameters change. The second objective is to see how no matter what the values of the parameters are, the marginal distribution of X and the marginal distribution of Y are both normal, with more or less spread depending on the values you assign to the parameters.

The points you select on the left hand side diagram, which shows the area above which the normal density lies (or area of integration), can be chosen by setting stop=10,000 update=100 and then clicking on the \(\rhd\) button.

See what happens when \(\rho\) and the standard deviation of Y, \(\sigma_y\), are constant, and the standard deviations of X, \(\sigma_x\), increases

  • Excersize 1: Next, set \(\rho=0.6, \sigma_x=1.3 and \sigma_y=1.1\) and select the 10,000 points as indicated above. Write down the mean and standard deviation of the numbers you generated and the correlation. Save the picture.
  • Excersize 2: Now, change only the standard deviation of X from 1.3 to 2. Write down the means, standard deviations and correlations of numbers you gnerated. Save the picture.
  • Excersize 3: Compare the pictures generated in excersizes 1 and 2 above. What would you say is the effect on the joint distribution \(f(X,Y)\) of increasing the standard deviation of X, other things held constant. Write your comments here.
  • Excersize 4: Compare the marginal densities for X and for Y in excersizes 1 and 2. Which density is more spread out?
  • Excersize 5: Compare the regression lines in excersizes 1 and 2. Make your comparison in terms of the slope.

See what happens when the standard deviations of X and Y are fixed and the correlation increases

  • Excersize 6: Fix now the standard deviation of X to 1.3 and the standard deviation of Y to 1.1 and the correlation coefficient to 0.9. Print a screenshot of the pictures, means, standard deviations and correlations in your data. Compare your pictures to those in excersize 1.
  • Excersize 7: According to your results in execrsize 1, what has happened to the joint density function of X and Y as the correlation coefficient has increased? What has happened to the regression line? What has happened to the marginal densities of X and of Y?


Write here the joint density function of X and Y with parameter values as in excersize 1

  • Excersize 8: Write the formula for the marginal density of X and the marginal density of Y with parameter values as given in excersize 1. Write the formulas for the conditional densities of X given Y and Y given X, with parameter values as given in excersize 1. Write then the regression lines that follow from these densities.

\end{document} 


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