Question: Using R to solve: library ( usingR ) - - The data set kid.weights contains age, weight, gender and height mea - surements for several
Using R to solve: libraryusingRThe data set kid.weights contains age, weight, gender and height mea
surements for several children.
a Assume that for all the years old children, over pounds consid
ered as overweight. Assume of years old children are over
weight. Does the data support this assumption? Find a CI for
the mean of weight of all the years old children and a CI for
the standard deviation of the weight of the years old children.
b Does the rate of overweight children differ between two genders?
c Fit the first model weight age height for all ages, make a scat
terplot with a regression line and prediction intervals. Test the
hypothesis that an increase of one inch in height corresponds to a
pound increase in weight against the alternative that it will increase
by less.
d Fit the second model weight age height height for all the
age, plot the graph of fitted value vs and residuals. Compare with
the first model, which one is better? You can use the adjusted R
for comparison.
e Fit the third model weight age height height height
heightheight Use the partial Ftest to select between the second
model and the third model hint: use anova function
f Apply AIC on the third modelhint: use stepAIC function from
the package MASS What model is suggested by AIC? For this
model, what is the adjusted R
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
