Mathematics — Probability · bivariate-normal-construction
Problem
*Let X and V be two standard normal random variables. Let ρ be a real number between −1 and 1.
(a) Let Y=ρX+1−ρ2V. Show that E(Y)=0 and Var(Y)=1. We shall see later (see Example 7.5 and Example 10.17), that the sum of two independent normal random variables is again normal. Thus, assuming this fact, we have shown that Y is standard normal.
(b) Using Exercises 17 and 18, show that the correlation of X and Y is ρ.
(c) In Exercise 20, the joint density function fX,Y(x,y) for the random variable (X,Y) is given. Now suppose that we want to know the set of points (x,y) in the xy-plane such that fX,Y(x,y)=C for some constant C. This set of points is called a set of constant density. Roughly speaking, a set of constant density is a set of points where the outcomes (X,Y) are equally likely to fall. Show that for a given C, the set of points of constant density is a curve whose equation is
x2−2ρxy+y2=D,
where D is a constant which depends upon C. (This curve is an ellipse.)
(d) One can plot the ellipse in part (c) by using the parametric equations
x=2(1−ρ)rcosθ+2(1+ρ)rsinθ,y=2(1−ρ)rcosθ−2(1+ρ)rsinθ.
Write a program to plot 1000 pairs (X,Y) for ρ=−1/2,0,1/2. For each plot, have your program plot the above parametric curves for r=1,2,3.