Explore BrainMass

Explore BrainMass

    Correlation coefficient and regression lines

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    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
    https://brainmass.com/statistics/regression-analysis/probability-problems-correlation-regression-lines-253987

    Solution Preview

    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) = ...

    Solution Summary

    Computing the correlation coefficient and regression lines from a probability problem. Solution contains a step-by-step information.

    $2.49

    ADVERTISEMENT