Exercise 9: Nested data and multilevel models
Use data/multilevel_teams.csv.
- Confirm the number of employees and teams.
- Calculate average performance by team and create a plot.
- Identify which variables are Level 1 and which are Level 2.
- Fit
performance ~ 1 + (1 | team_id). - Calculate the ICC from the variance components.
- Fit a model with engagement, autonomy, workload, team climate, and manager support.
- Fit the same predictors with ordinary
lm(). - Compare at least one standard error between the two models.
- Explain why employees within the same team may not provide fully independent information.
- Write a short management interpretation of one Level-1 and one Level-2 coefficient.