Question

In: Statistics and Probability

(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 we simply exchange the x and y values of each data pair? Yes or No?

(d) Solve your answer from part (a) for x. (Use 3 decimal places.) x = + y

Do you get the least-squares equation of part (b) with the symbols x and y exchanged?

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

-Switching x and y values will produce the same least-squares equation every time.

-Switching x and y values will not necessarily produce the same least-squares equation every time.

-Switching x and y values will never produce the same least-squares equation every time.

Solutions

Expert Solution

(a)

From the given data, the following Table is calculated:

X Y XY X2
1 5 5 1
3 5 15 9
6 8 48 36
Total = 10 18 68 46

Least Squares Equation is given by:

(b)

From the given data, the following Table is calculated:

X Y XY X2
5 1 5 25
5 3 15 25
8 6 48 64
Total = 18 10 68 114

Least Squares Equation is given by:

(c)

Answer is:

Yes

(d)

(i)

From part (a), we have:

Solving for x, we get:

i.e.,

(ii)

No, We do not get the least-squares equation of part (b) with the symbols x and y exchanged

(e)

Correct option:

Switching x and y values will never produce the same least-squares equation every time.


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 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...
(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...
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...
Suppose the joint probability distribution of X and Y is given by the following table. Y=>3...
Suppose the joint probability distribution of X and Y is given by the following table. Y=>3 6 9 X 1 0.2 0.2 0 2 0.2 0 0.2 3 0 0.1 0.1 The table entries represent the probabilities. Hence the outcome [X=1,Y=6] has probability 0.2. a) Compute E(X), E(X2), E(Y), and E(XY). (For all answers show your work.) b) Compute E[Y | X = 1], E[Y | X = 2], and E[Y | X = 3]. c) In this case, E[Y...
Consider the following set of ordered pairs. x 4 2 4 3 6 4 y 5...
Consider the following set of ordered pairs. x 4 2 4 3 6 4 y 5 7 7 4 2 7 ​a) Calculate the correlation coefficient. ​b) Using alpha equals 0.05​, perform a hypothesis test to determine if the population correlation coefficient is less than zero. LOADING... Click the icon to view a portion of the​ Student's t-distribution table. ​a) requals nothing ​(Round to three decimal places as​ needed.) ​b) Determine the null and alternative hypotheses. Upper H 0​: rho...
Suppose f(x,y)=(1/8)(6-x-y) for 0<x<2 and 2<y<4. a. Find p(Y<3|X=1) b. Find p(Y<3|0.5<X<1)
Suppose f(x,y)=(1/8)(6-x-y) for 0<x<2 and 2<y<4. a. Find p(Y<3|X=1) b. Find p(Y<3|0.5<X<1)
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,...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT