22) Given the paired data set below of Super Models heights and weights, then Determine the Line of Regression.
X | 65 67 62 68 66 69 61 67 64 69
Y | 110 105 113 107 109 111 104 110 116 115
23) Calculate the Coefficient of Correlation for the data of problem 22
24) Using the Line of Regression from problem 22, predict the weight of a Model who is 69 inches tall.
25) Using the data from problem 22 construct a Scatter Diagram.
Problem 22)
> x=c(65,67,62,68,66,69,61,67,64,69)
> y=c(110,105,113,107,109,111,104,110,116,115)
> model = lm(y~x)
> model
Call:
lm(formula = y ~ x)
Coefficients:
(Intercept) x
97.7098 0.1868
Therefore, Linear Equation is,
Y = 97.7098 + 0.1868 * X
Problem 23)
correlation Ceofficient for given data is,
cor(x,y)
[1] 0.1307659
The Correlation coefficient of X and Y is 0.1308. It is close to zero. so we can conclude that the variables are negatively linearly related.
Problem 24)
x= 69 inches ball
therefore, prediced model for x=69 is,
Y = 97.7098 + 0.1868 * 69
Y = 110.599
Problem 25)
Scatter Diagram-
plot(x,y,main='scatter plot')
>
Get Answers For Free
Most questions answered within 1 hours.