Question

The scatter diagram for the data set below is shown. (a) given that x=4.5, sx =3.2710854,y=sy...

The scatter diagram for the data set below is shown.

(a) given that x=4.5, sx =3.2710854,y=sy =2,4094951, and r=-09680697 determibe the least-squares regression line

(b) Graph the least-squares regression line on scatter diagram

x 0 2 4 5 7 9

y 7.8 5.2 4.7 4.7 2.9 1.6

(a) y= blankx + blank (round to four decimals as needed)

Homework Answers

Answer #1

Using R, we have

CODE:

x <- c(0,2,4,5,7,9)
y <- c(7.8,5.2,4.7,4.7,2.9,1.6)
a <- lm(y~x)
mean(x)
mean(y)
sd(x)
sd(y)
cor(x,y)
a
plot(x,y)
lines(x,fitted(a))

OUTPUT:

> x <- c(0,2,4,5,7,9)
> y <- c(7.8,5.2,4.7,4.7,2.9,1.6)
> a <- lm(y~x)
> mean(x)
[1] 4.5
> mean(y)
[1] 4.483333
> sd(x)
[1] 3.271085
> sd(y)
[1] 2.117939
> cor(x,y)
[1] -0.9714259
> a

Call:
lm(formula = y ~ x)

Coefficients:
(Intercept) x  
7.314 -0.629  

> plot(x,y)
> lines(x,fitted(a))

So, the regresssion lie is ,

Y = 7.314 - 0.629 - X

Note: The standard deviation and correlation coefficient you have provided is slightly wrong. Please check it through my answer.

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
A data set is given below. ​(a) Draw a scatter diagram. Comment on the type of...
A data set is given below. ​(a) Draw a scatter diagram. Comment on the type of relation that appears to exist between x and y. ​(b) Given that x=3.6667,  sx=2.3381, y=4.38334​, sy=1.58921​, and r= - 0.9330​, determine the​ least-squares regression line. ​(c) Graph the​ least-squares regression line on the scatter diagram drawn in part​ (a). x 11 11 33 55 66 66 y 5.25.2 6.56.5 5.65.6 3.43.4 2.72.7 2.92.9 There appears to be a ___________relationship. b). y^=____x+(__) c. choose graph
Fill in the missing information in the table below. overbar x sx overbar y sy r...
Fill in the missing information in the table below. overbar x sx overbar y sy r y with caret = b0 + b1x ​a) 50 4.3 2626 8.4 0.1 ​b) 20 3 1818 7.8 −0.8 ​c) 36 2.7 −0.1 y with caret =205−4x ​d) 20.9 2 47.9 y with caret =−224+18x Fill in the missing information. overbar x sx overbar y sy r y with carrot =b0+b1x ​a) 50 4.3 26 8.4 0.1 y with carrot = (blank) + (blank)x...
A data set is given below. ​(a) Draw a scatter diagram. Comment on the type of...
A data set is given below. ​(a) Draw a scatter diagram. Comment on the type of relation that appears to exist between x and y. ​(b) Given that x over bar x = 3.5000 sx =2.58842. y =3.98333. sy=2.1085 and r = −0.9620​, determine the​ least-squares regression line. ​(c) Graph the​ least-squares regression line on the scatter diagram drawn in part​ (a). x 00 11 33 55 66 66 y 5.95.9 6.66.6 5.05.0 2.62.6 1.71.7 2.12.1 A. 0607xy A scatter...
A data set is given below. ​(a) Draw a scatter diagram. Comment on the type of...
A data set is given below. ​(a) Draw a scatter diagram. Comment on the type of relation that appears to exist between x and y. ​(b) Given that x overbarequals3.6667​, s Subscript xequals2.3381​, y overbarequals4.1000​, s Subscript yequals1.4588​, and requalsnegative 0.9265​, determine the​ least-squares regression line. ​(c) Graph the​ least-squares regression line on the scatter diagram drawn in part​ (a). x 0 2 4 4 6 6 y 5.6 5.7 4.6 3.8 2.3 2.6 ​(a) Choose the correct graph below....
18. Compute the least-squares regression line for predicting y from x given the following summary statistics:...
18. Compute the least-squares regression line for predicting y from x given the following summary statistics: x̄ = 8.1  sx = 1.2 ȳ = 30.4 sy = 1.9 r = −0.85 Please show your work.
DATA SET x y 2.1 3.9 3.8 1.3 2.9 3.6 4.7 4.9 (a) Draw a scatter...
DATA SET x y 2.1 3.9 3.8 1.3 2.9 3.6 4.7 4.9 (a) Draw a scatter diagram of the data. Compute the linear correlation coefficient. The linear correlation coefficient for the four pieces of data is____________ (b) Draw a scatter diagram of the data with the additional data point(10.4,9.3). Compute the linear correlation coefficient with the additional data point. The linear correlation coefficient for the pieces of data is_________ Comment on the effect the additional data point has on the...
For the data set below, (a) Determine the least-squares regression line. (b) Compute the sum of...
For the data set below, (a) Determine the least-squares regression line. (b) Compute the sum of the squared residuals for the least-squares regression line. x 20 30 40 50 60 ___________________ y 106 95 82 70 54 (a) Determine the least-squares regression line. ^ y =[]x +[] ( round to four decimal places as needed.)
Given the following data set, let x be the explanatory variable and y be the response...
Given the following data set, let x be the explanatory variable and y be the response variable. x 8 2 2 6 6 3 1 y 3 8 9 6 4 7 9 (a) If a least squares line was fitted to this data, what percentage of the variation in the y would be explained by the regression line? (Enter your answer as a percent.) ANSWER: % (b) Compute the correlation coefficient: r=
x 0 1 3 4 6 6 y 5.8 6.4 4.9 3.1 1.4 1.7 a) Draw...
x 0 1 3 4 6 6 y 5.8 6.4 4.9 3.1 1.4 1.7 a) Draw a scatter diagram. Comment on the type of relation that appears to exist between x and y. ​(b) Given that x =3.3333, s Subscript x=2.50332.​, y=3.8833., s Subscript y=2.1255 and s= -.9610​, determine the​ least-squares regression line. ​(c) Graph the​ least-squares regression line on the scatter diagram drawn in part​ (a). ​ (b) y = __x + (__)
Given the following data set, let x be the explanatory variable and y be the response...
Given the following data set, let x be the explanatory variable and y be the response variable. x 1 6 7 3 1 5 2 y 10 4 4 7 9 5 8 (a) If a least squares line was fitted to this data, what percentage of the variation in the y would be explained by the regression line? (Enter your answer as a percent.) ANSWER: % (b) Compute the correlation coefficient: r=
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT