Difference between revisions of "SOCR EduMaterials Activities Bivariate"

From SOCR
Jump to: navigation, search
m (Reverted edit of JnrVlk, changed back to last version by IvoDinov)
 
(12 intermediate revisions by 2 users not shown)
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
+
<center>[[Image:Dinov_SOCR_BivariateNormaltivity_Fig1_092606.jpg|300px]]</center>
  
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</math>=”a value of your choice” , <math>\sigma_y</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. 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 <nowiki><RUN></nowiki> button.
  
:<math>f(x)=
+
=== 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 ===
\begin{cases}
 
d(x, \partial S) & \mbox{ if } x\in S \\
 
-d(x, \partial S)&  \mbox{ if } x\not\in S
 
\end{cases}
 
</math>
 
  
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.  
+
* '''Exercise 1''': Next, set <math>\rho=0.6, \sigma_x=1.3</math> and <math>\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.
  
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.  
+
* '''Exercise 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) See what happens when  and the standard deviation of Y are constant, and the standard deviations of X increases.  
+
* '''Exercise 3''': Compare the pictures generated in Exercise 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.  
  
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.
+
* '''Exercise 4''': Compare the marginal densities for X and for Y in Exercise 1 and 2. Which density is more spread out?
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.  
+
* '''Exercise 5''': Compare the regression lines in Exercise 1 and 2.  Make your comparison in terms of the slope.  
  
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.
+
=== See what happens when the standard deviations of X and Y are fixed and the correlation increases ===
  
 +
* '''Exercise 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 Exercise 1.
  
A.4. Compare the marginal densities for X and for Y in A.1 and A.2. Which is more spread out?  
+
* '''Exercise 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?  
  
A.5. Compare the regression lines in A.1 and A.2.  Make your comparison in terms of the slope.
 
  
(B). See what happens when the standard deviations of X and Y are fixed and the correlation increases.
+
=== Write here the joint density function of X and Y with parameter values as in Exercise 1 ===
  
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.
 
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?
 
 
 
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.
 
  
 +
* '''Exercise 8''': Write the formula for the marginal density of X and the marginal density of Y with parameter values as given in Exercise 1. Write the formulas for the conditional densities of X given Y and Y given X, with parameter values as given in Exercise 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
  
\end{document}
 
  
 
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=SOCR_EduMaterials_Activities_Bivariate}}
 
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=SOCR_EduMaterials_Activities_Bivariate}}

Latest revision as of 12:03, 9 July 2007

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

Dinov SOCR BivariateNormaltivity Fig1 092606.jpg
  • 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\)=”a value of your choice” , \(\sigma_y\)=”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 <RUN> 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

  • Exercise 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.
  • Exercise 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.
  • Exercise 3: Compare the pictures generated in Exercise 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.
  • Exercise 4: Compare the marginal densities for X and for Y in Exercise 1 and 2. Which density is more spread out?
  • Exercise 5: Compare the regression lines in Exercise 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

  • Exercise 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 Exercise 1.
  • Exercise 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 Exercise 1

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




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