Building the school model
You will now built a model to examine what factors predict a student's gain in math knowledge. As described in the video, you will build a model to see:
- Does the sex of a student impact their knowledge gain?
- Does the teacher's training impact the gain and does the teacher's math knowledge impact the gain?
As part of this model, you will also account for other possible predictors including:
- Does a student's math knowledge in kindergarten impact their gain?
- Does a school's socio-economic status impact student gains?
यह अभ्यास पाठ्यक्रम का हिस्सा है
Hierarchical and Mixed Effects Models in R
अभ्यास निर्देश
- Using the
student_data, build a model and save the output aslmer_classroom - Have
mathgainpredicted bymathknow,mathprep,sex,mathkindandsesas fixed-effects - Include
classidas a random-effect. - Print the model's output.
इंटरैक्टिव व्यावहारिक अभ्यास
इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।
# Build the model
___
# Print the model's output
print(___)