Question

In: Statistics and Probability

(a) Suppose you are given the following (x, y) data pairs. x 1 2 5 y...

(a) Suppose you are given the following (x, y) data pairs. x 1 2 5 y 4 3 6 Find the least-squares equation for these data (rounded to three digits after the decimal). ŷ = + x (b) Now suppose you are given these (x, y) data pairs. x 4 3 6 y 1 2 5 Find the least-squares equation for these data (rounded to three digits after the decimal). ŷ = + x (c) In the data for parts (a) and (b), did we simply exchange the x and y values of each data pair? Yes No Correct: Your answer is correct. (d) Solve your answer from part (a) for x (rounded to three digits after the decimal). x = + y Do you get the least-squares equation of part (b) with the symbols x and y exchanged? Yes No Correct: Your answer is correct. (e) In general, suppose we have the least-squares equation y = a + bx for a set of data pairs (x, y). If we solve this equation for x, will we necessarily get the least-squares equation for the set of data pairs (y, x), (with x and y exchanged)? Explain using parts (a) through (d). In general, switching x and y values produces a different least-squares equation. In general, switching x and y values produces the same least-squares equation. Switching x and y values sometimes produces the same least-squares equation and sometimes it is different. Correct: Your answer is correct.

Solutions

Expert Solution

a.

Line of Regression Y on X i.e Y = bo + b1 X
X Y (Xi - Mean)^2 (Yi - Mean)^2 (Xi-Mean)*(Yi-Mean)
1 4 2.778 0.111 0.556
2 3 0.444 1.778 0.889
5 6 5.444 2.778 3.889

calculation procedure for regression
mean of X = sum ( X / n ) = 2.6667
mean of Y = sum ( Y / n ) = 4.3333
sum ( (Xi - Mean)^2 ) = 8.666
sum ( (Yi - Mean)^2 ) = 4.67
sum ( (Xi-Mean)*(Yi-Mean) ) = 5.334
b1 = sum ( (Xi-Mean)*(Yi-Mean) ) / sum ( (Xi - Mean)^2 )
= 5.334 / 8.666
= 0.616
bo = sum ( Y / n ) - b1 * sum ( X / n )
bo = 4.3333 - 0.616*2.6667 = 2.692
value of regression equation is, Y = bo + b1 X
Y'=2.692+0.616* X          

b.

Line of Regression Y on X i.e Y = bo + b1 X
X Y (Xi - Mean)^2 (Yi - Mean)^2 (Xi-Mean)*(Yi-Mean)
4 1 0.111 2.778 0.556
3 2 1.778 0.444 0.889
6 5 2.778 5.444 3.889

calculation procedure for regression
mean of X = sum ( X / n ) = 4.3333
mean of Y = sum ( Y / n ) = 2.6667
sum ( (Xi - Mean)^2 ) = 4.667
sum ( (Yi - Mean)^2 ) = 8.67
sum ( (Xi-Mean)*(Yi-Mean) ) = 5.334
b1 = sum ( (Xi-Mean)*(Yi-Mean) ) / sum ( (Xi - Mean)^2 )
= 5.334 / 4.667
= 1.143
bo = sum ( Y / n ) - b1 * sum ( X / n )
bo = 2.6667 - 1.143*4.3333 = -2.286
value of regression equation is, Y = bo + b1 X
Y'=-2.286+1.143* X          
c.

yes,

we simply exchange the x and y values of each data pair But we get least square method equation is not get same equation from (a).

d.

yes,

we simply exchange the x and y values of each data pair But we get least square method equation is not get same equation from (b).

e.

from (a),

value of regression equation is, Y = bo + b1 X
Y'=2.692+0.616* X  

from (b),

value of regression equation is, Y = bo + b1 X
Y'=-2.286+1.143* X      

conclusion:

if we exchange values of X and Y then we get regression equation but not same as before we get that equation.


Related Solutions

(a) Suppose you are given the following (x, y) data pairs. x 2 3 6 y...
(a) Suppose you are given the following (x, y) data pairs. x 2 3 6 y 4 3 9 Find the least-squares equation for these data (rounded to three digits after the decimal). ŷ =  +  x (b) Now suppose you are given these (x, y) data pairs. x 4 3 9 y 2 3 6 Find the least-squares equation for these data (rounded to three digits after the decimal). ŷ =  +  x (c) In the data for parts (a) and (b), did...
(a) Suppose you are given the following (x, y) data pairs. x 2 3 6 y...
(a) Suppose you are given the following (x, y) data pairs. x 2 3 6 y 4 3 9 Find the least-squares equation for these data (rounded to three digits after the decimal). ŷ = (b) Now suppose you are given these (x, y) data pairs. x 4 3 9 y 2 3 6 Find the least-squares equation for these data (rounded to three digits after the decimal). ŷ = d) Solve your answer from part (a) for x (rounded...
(a) Suppose you are given the following x, y data pairs x 1 3 6 y...
(a) Suppose you are given the following x, y data pairs x 1 3 6 y 5 5 8 Find the least-squares equation for these data. (Use 3 decimal places.) y hat = + x (b) Now suppose you are given these x, y data pairs. x 5 5 8 y 1 3 6 Find the least-squares equation for these data. (Use 3 decimal places.) y hat = + x (c) In the data for parts (a) and (b), did...
(a) Suppose you are given the following (x, y) data pairs. x 1 3 4 y...
(a) Suppose you are given the following (x, y) data pairs. x 1 3 4 y 4 3 7 Find the least-squares equation for these data (rounded to three digits after the decimal). ŷ =  +  x (b) Now suppose you are given these (x, y) data pairs. x 4 3 7 y 1 3 4 Find the least-squares equation for these data (rounded to three digits after the decimal). ŷ =  +  x (c) In the data for parts (a) and (b), did...
Given the following five pairs of (x, y) values, x 1 3 11 8 14 y...
Given the following five pairs of (x, y) values, x 1 3 11 8 14 y 10 7 4 2 1 (a) Determine the least squares regression line.   (Be sure to save your unrounded values of b0 and b1 for use in Problem #6 below.) (b) Draw the least squares regression line accurately on a scatterplot. Then look to see which (x, y) pairs are above the regression line. Then add up the y-values for all of the (x, y)...
Given the following dataset x   1   1   2   3   4   5 y   0   2   4   5  ...
Given the following dataset x   1   1   2   3   4   5 y   0   2   4   5   5   3 We want to test the claim that there is a correlation between xand y. The level of cretaine phosphokinase (CPK) in blood samples measures the amount of muscle damage for athletes. At Jock State University, the level of CPK was determined for each of 25 football players and 15 soccer players before and after practice. The two groups of athletes are trained...
Given the following dataset x 1 1 2 3 4 5 y 0 2 4 5...
Given the following dataset x 1 1 2 3 4 5 y 0 2 4 5 5 3 We want to test the claim that there is a correlation between xand y. (a) What is the null hypothesis Ho and the alternative hypothesis H1? (b) Using α= 0.05, will you reject Ho? Justify your answer by using a p-value. (c) Base on your answer in part (b), is there evidence to support the claim? (d) Find r, the linear correlation...
Given the following pairs of scores from dependent samples: Pair: 1 2 3 4 5 X:...
Given the following pairs of scores from dependent samples: Pair: 1 2 3 4 5 X: 4 4 6 5 9 Y: 5 2 3 1 6 (a) State formally the hypotheses necessary to conduct a non-directional test of no difference between the two population means. (b) Calculate t using Formula 15.5. t=Dbar-ud/square root sum of D squared - (sum of d)2/n / n(n-1) (c) Calculate t using formula 15.3. t= (xbar -ybar) - (ux-uy)hyp/ square root s2x + s2y...
Consider the following set of ordered pairs. x 5 2 2 3 7 6 y 3...
Consider the following set of ordered pairs. x 5 2 2 3 7 6 y 3 8 5 4 2 7 a. Using alphaequals0.10​, test for the significance of the regression slope. b. Construct a 90​% confidence interval for the population slope. a. Using alphaequals0.10​, test for the significance of the regression slope. Identify the null and alternative hypotheses. Upper H 0​: beta ▼ not equals less than greater than greater than or equals equals less than or equals nothing...
Given: f(x,y) = 5 - 3x - y for 0 < x,y < 1 and x...
Given: f(x,y) = 5 - 3x - y for 0 < x,y < 1 and x + y < 1, 0 otherwise 1) find the covariance of x and y 2) find the marginal probability density function for x c) find the probability that x >= 0.6 given that y <= 0.2
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT