Make sure to include the unit of the values whenever appropriate.
Hint: The variables are available in the gapminder data set from the gapminder package. Note that the data set and package both have the same name, gapminder.
Hint: Your answer must include a discussion on the p-value.
The gdp per capital is statistically significant because the probablity is less than 5%.
Hint: Discuss both its sign and magnitude.
The gdapPercap has an expected life of 29 years
Hint: Provide a technical interpretation.
The intercept is 53.95 whch would be the average life expectancy
Hint: This is a model with two explanatory variables. Insert another code chunk below.
Hint: Discuss in terms of both residual standard error and reported adjusted R squared.
I would say the 2nd one is more accurate because the first one missed 10.49 data in point years compared to the second one which is 9.694 and this is for the amount of years missed during the model.
Hint: Discuss both its sign and magnitude.
When you look at the model it shows the life expectancy in years 1952-2007 in small incriments of 5 years.
Hint: We had this discussion in class while watching the video at DataCamp, Correlation and Regression in R. The video is titled as “Interpretation of Regression” in Chapter 4: Interpreting Regression Models.
Hint: Use message, echo and results in the chunk options. Refer to the RMarkdown Reference Guide.