broom
and modelr
Exercises:
day04_t01_manymodels.html
the tidy
function is used to extract the coefficients. Set quick = FALSE
and conf.int = TRUE
and include the 95% confidence intervals for (Intercept)
and year
. Make sure that the output reads easily.Look at the R lab Sections 5.3 on Cross-validation and Bootstrap of Introduction to Statistical Learning with applications in R (ISLR) by James, Witten, Hastie and Tibshirani. Freely available from statlearning.com.
Exercises:
The ToothGrowth
data set (see ?ToothGrowth
for explanation) contains observations on 60 guinea pigs treated with either vitamins and or orange juice.
dose
be numeric.dose
and supp
.Is the interaction really significant?
case
and residual
bootstrap re-sampling.