1. Learn
  2. /
  3. Courses
  4. /
  5. Hierarchical and Mixed Effects Models in R

Exercise

Interpreting the school model

Previously, you built a model to predict students' gains in math knowledge. Now, you will extract and examine the coefficients from the model.

These coefficient estimates include uncertainty and 95% confidence interval (CI) captures this uncertainty. If a parameter's 95% confidence interval does not include zero, then the parameter is likely statistically different from zero. The DataCamp course, Foundations of Inference, covers models interpretation in greater detail.

Instructions 1/3

undefined XP
    1
    2
    3
  • The lmer model, lmer_classroom, you built in the previous exercise is loaded.
  • Using the tidy() function to extract the model's coefficients including confidence intervals by setting conf.int to be TRUE.
  • Save the Tidy outputs as lmer_coef and print this object.