Consider a box containing 25% white, 50% black and 25% blue balls. Extract with replacement 2 balls. Denote by X and Y the random variables representing the number of white and, respectively, black balls obtained. Find the distribution of XY and calculate ρ(X, Y ).
sample (X,Y) probability
2,0 "0.25\\cdot0.25=0.0625"
1,1 "0.25\\cdot0.5=0.125"
0,2 "0.5\\cdot0.5=0.25"
0,0 "0.25\\cdot0.25=0.0625"
correlation coefficient:
"\\rho (X,Y)=\\frac{\u03a3(x_i - x\u0304)(y_i - \u0233)}{\u221a(\u03a3(x_i - x\u0304)^2\u03a3(y_i - \u0233)^2 }=-0.4545"
Comments
Leave a comment