Please provide steps to solutions 2 Consider the information

Please provide steps to solutions
2. Consider the information given in Exercise 2 in Section 4.2 regarding the amount, X, of drug adminis- tered to a randomly selected laboratory rat, and number, Y, of tumors the rat develops. (a) Would you expect X and Y to be positively or nega- tively correlated? Explain your answer, and confirm it by computing the covariance. (b) Compute the linear correlation coefficient of X and Y.

Solution

Given that

X = amount of drug administered to a randomly selected lavoratory rat and

Y = number of tumors the rat developes

Here we have to find cov(X,Y) and correlation between X and Y.

The formula for covariance is,

Cov(X , Y) = E(XY) - E(X) * E(Y)

E(X) = x*p(x) = (0 * 0.4) + (1 * 0.5) + (2 * 0.1) = 0.7

E(Y) = y*p(y) = (0 * 0.963)+(1 * 0.025)+(2 * 0.012) = 0.049

E(XY) = xy * p(x,y)

= (0 * 0.388) + (0 * 0.009) + (0 * 0.003) + (0 * 0.485) + (1 * 0.01) + (2 * 0.005) + (0 * 0.09)+(2 * 0.006)+(4 * 0.004) = 0.048

Cov(X,Y) = 0.048 - 0.7 * 0.049 = 0.0137

Covariance is positive that means there is positive correlation between X and Y.

Next we find correlation between X and Y.

= Cov(X , Y) / x * y

2x = x2 p(x) - E(X)2

= (02 * 0.4) + (12  * 0.5) + (22 * 0.1) - 0.72 = 0.41

x  = sqrt(0.41) = 0.6403

2y = y2 p(y) - E(Y)2

   = (02 * 0.963) + (12 * 0.025) + (22 * 0.012) - 0.0492 = 0.070599

y = sqrt(0.070599) = 0.2657

= 0.0137 / (0.6403 * 0.070599) = 0.3031

The linear correlation between X and Y is 0.3031.

y
p(x,y) 0 1 2 total
0 0.388 0.009 0.003 0.4
x 1 0.485 0.01 0.005 0.5
2 0.09 0.006 0.004 0.1
total 0.963 0.025 0.012 1
Please provide steps to solutions 2. Consider the information given in Exercise 2 in Section 4.2 regarding the amount, X, of drug adminis- tered to a randomly s

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site