DATA 606 Class Presentation

Samuel I Kigamba

December 11, 2019

8.31 Body measurements, Part IV.

The scatterplot and least squares summary below show the relationship between weight measured in kilograms and height measured in centimeters of 507 physically active individuals.

Intro to statistics 4th Edition

Intro to statistics 4th Edition

(a) Describe the relationship between height and weight.

From the scatterplot above there seems to be a positive relationship between Height and Weight.

(b) Write the equation of the regression line. Interpret the slope and intercept in context.

\[Weight = -105.0113 + 1.0176 X Height \]

Weight1 = -105.0113 + 1.0176 * 160
Weight1
## [1] 57.8047
Weight2 = -105.0113 + 1.0176 * 175
Weight2
## [1] 73.0687
Weight3 = -105.0113 + 1.0176 * 190
Weight3
## [1] 88.3327

(c) Do the data provide strong evidence that an increase in height is associated with an increase in weight?

Yes: The data provides strong evidence that an increease in height is associated with an increase in weight.

State the null and alternative hypotheses, report the p-value, and state your conclusion.

H_0 : There is no relationship between weight and height.

H_A : There is a relationship between weight and height.

The P-value is so small that we reject the null hypothesis and conclude that there is a relationship between height and weight.

Height and weight are positively correlated and the true slope is greater than zero.

(d) The correlation coefficient for height and weight is 0.72. Calculate R2 and interpret it in context.

R-Squared

R-Squared

The R^2 of a linear model describes the amount of variation in the response that is explained by the least squares line.

This can also be interpreted as how closely the data cluster around the linear fit.

R = 0.72
R_Sqrd = R^2
R_Sqrd
## [1] 0.5184

In this case 51.84% of the variation is explained by the linear model.