Question

(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 2 1 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 2 1 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 or No    


(d) Solve your answer from part (a) for x (rounded to three digits after the decimal).
x = ?+ ? y

Homework Answers

Answer #1

SolutionA:

Used R software:

x <- c(1,2,6)
y <- c(2,1,9)
rmod1=lm(y~x)
coefficients(rmod1)

output:

(Intercept) x
-0.7142857 1.5714286

least-squares equation for these data is

y=-0.714+1.571x

SolutionB:

x1 <- c(2,1,9)
y1 <- c(1,2,6)
rmod2=lm(y1~x1)
coefficients(rmod2)

output:

(Intercept) x1
0.6842105 0.5789474

the least-squares equation for these data

y=0.684+0.579x

Solutionc:

NO

Solutiond:

From (A)

y=-0.714+1.571x

1.571x=y+0.714

x=0.714/1.571+1/1.571y

x=0.454+0.637y

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Suppose you are given the following (x, y) data pairs. x 1 2 6 y 4...
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...
(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). (b) Now suppose you are given these (x, y) data pairs. x 4 3...
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 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 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 1 2 5 y...
(a) Suppose you are given the following (x, y) data pairs. x 1 2 5 y 2 1 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 2 1 7 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...
Suppose you are given the following (x, y) data pairs. x 1 3 6 y 4...
Suppose you are given the following (x, y) data pairs. x 1 3 6 y 4 3 8 Find the least-squares equation for these data (rounded to three digits after the decimal). ŷ = Incorrect: Your answer is incorrect. + Incorrect: Your answer is incorrect. x (b) Now suppose you are given these (x, y) data pairs. x 4 3 8 y 1 3 6 Find the least-squares equation for these data (rounded to three digits after the decimal). ŷ...
Given the following five pairs of (x, y) values, x 3 5 9 6 12 y...
Given the following five pairs of (x, y) values, x 3 5 9 6 12 y 10 6 4 2 0 Determine the least squares regression line.
Given the following five pairs of (x, y) values, x 4 4 11 6 12 y...
Given the following five pairs of (x, y) values, x 4 4 11 6 12 y 8 8 5 2 1 Determine the least squares regression line.
Given the following five pairs of (x, y) values, x 5 3 9 6 12 y...
Given the following five pairs of (x, y) values, x 5 3 9 6 12 y 10 6 4 3 1 Determine the least squares regression line (give the values of b0 and b1 (in that order), separated by a comma (numbers correct to 4 decimals))
Given the following five pairs of (x, y) values, x 5 3 10 7 14 y...
Given the following five pairs of (x, y) values, x 5 3 10 7 14 y 10 6 4 3 0 Determine the least squares regression line. ANSWER correct to 4 decimal places
Given the following five pairs of (x, y) values, x 5 3 10 8 14 y...
Given the following five pairs of (x, y) values, x 5 3 10 8 14 y 10 6 4 2 0 Determine the least squares regression lin --> enter the values of b0 and b1 (in that order), separated by a comma (numbers correct to 4 decimals)