Question

In: Math

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

(a) Suppose you are given the following (x, y) data pairs. x: 1 2 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 1 2 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 we simply exchange the x and y values of each data pair? Yes No

(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

(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 the same least-squares equation.

In general, switching x and y values produces a different least-squares equation.

Switching x and y values sometimes produces the same least-squares equation and sometimes it is different.

Solutions

Expert Solution

a)

SUMMARY OUTPUT
Regression Statistics
Multiple R 0.940634162
R Square 0.884792627
Adjusted R Square 0.769585253
Standard Error 1.5430335
Observations 3
ANOVA
df SS MS F Significance F
Regression 1 18.2857143 18.2857143 7.68 0.220463
Residual 1 2.38095238 2.38095238
Total 2 20.6666667
Coefficients Standard Error t Stat P-value Lower 95% Upper 95%
Intercept 1.904761905 1.52455339 1.2493901 0.42970499 -17.4665256 21.2760494
x 1.142857143 0.41239305 2.77128129 0.220463 -4.09709337 6.38280766

y^ = 1.9048 + 1.1429 x

b)

SUMMARY OUTPUT
Regression Statistics
Multiple R 0.940634162
R Square 0.884792627
Adjusted R Square 0.769585253
Standard Error 1.27000127
Observations 3
ANOVA
df SS MS F Significance F
Regression 1 12.3870968 12.3870968 7.68 0.220463
Residual 1 1.61290323 1.61290323
Total 2 14
Coefficients Standard Error t Stat P-value Lower 95% Upper 95%
Intercept -1.129032258 1.66058551 -0.6799001 0.61986902 -22.2287717 19.9707072
x 0.774193548 0.27936303 2.77128129 0.220463 -2.77545035 4.32383745

y^ = -1.129 + 0.7742 * x

c)

yes

d)

x^ = -1.129 + 0.7742 * y


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 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) 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)...
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: E[x] = 4, E[y] = 6, Var(x) = 2, Var(y) = 1, and cov(x,y) =...
Given: E[x] = 4, E[y] = 6, Var(x) = 2, Var(y) = 1, and cov(x,y) = 0.2 Find a lower bound on (5 < x + y < 10). State the theorem used.
6 The joint PMF of X and Y is given by y\x -1 0 1 -1...
6 The joint PMF of X and Y is given by y\x -1 0 1 -1 p q p 0 q 0 q 1 p q p (a) Describe the possible values of p and q. (b) Find the marginal PMFs of X and Y . (c) Find the conditional PMF of Y given X = x for x = −1, 0, 1 (d) Find the conditional expectation of Y given X = x for x = −1, 0, 1,...
Suppose f(x,y)=(1/8)(6-x-y) for 0<x<2 and 2<y<4. If all else is the same, then why can’t x...
Suppose f(x,y)=(1/8)(6-x-y) for 0<x<2 and 2<y<4. If all else is the same, then why can’t x be defined on the range [0,3]? Find p(0.5 < X < 1, 2 < Y < 3) Find fX(x) and fY(y) Are X and Y independent? Why or why not? Find p(0.5 < X < 1) and p(2 < Y < 3) Find p(Y<3|X=1) Find p(Y<3|0.5<X<1)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT