A number X is chosen uniformly at random from the numbers 1,2,3,4. After that another number Y is chosen uniformly at random among those at least as large as X. Compute E[X], E[Y], Var(X), Var(Y), Cov(X,Y), the correlation coefficient of X,Y and the regression lines.© BrainMass Inc. brainmass.com March 4, 2021, 9:33 pm ad1c9bdddf
From the condition, we have the following results:
P(X=1) = P(X=2) = P(X=3) = P(X=4) = 1/4
P(Y=1|X=1) = P(Y=2|X=1) = P(Y=3|X=1) = P(Y=4|X=1) = 1/4
P(Y=2|X=2) = P(Y=3|X=2) = P(Y=4|X=2) = 1/3
P(Y=3|X=3) = P(Y=4|X=3) = 1/2
P(Y=4|X=4) = 1
P(Y=1) = P(Y=1|X=1)*P(X=1) = 1/16
P(Y=2) = P(Y=2|X=1)*P(X=1) + P(Y=2|X=2)*P(X=2) = (1/4)(1/4 + 1/3) = 7/48
P(Y=3) = P(Y=3|X=1)*P(X=1) + P(Y=3|X=2)*P(X=2) + P(Y=3|X=3)*P(X=3) = (1/4)(1/4 + 1/3 + 1/2) = 13/48
P(Y=4) = ...
Computing the correlation coefficient and regression lines from a probability problem. Solution contains a step-by-step information.