3
votes
Accepted
Mixed Model: Translation from mathematical notation to R's lmer() - package: lmerTest
This is a really great start. You were almost there! See below for some suggested edits. The one thing you were missing in the initial code was that you did not have the ...
1
vote
multilevel regression, model specification
Here is a summary of variables based on your descriptions with requests of clarification. Please update the question to clarify. I will update my answer after you provide more information.
Response: <...
1
vote
Accepted
About adding random effects in Multilevel (HLM) analysis
TLDR: As I noted in my comment, you should specify the lower level variable's slope as varying randomly across higher level units. There are at least two reasons for this. The first is conceptual and ...
1
vote
Accepted
Experimental condition with multilevel model
If your "city" random effect here is supposed to be "county", then your model would be correct. Otherwise, if you were trying to fit states, counties, and cities, it would instead ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
multilevel-analysis × 1916mixed-model × 727
r × 468
regression × 330
lme4-nlme × 319
repeated-measures × 163
logistic × 113
panel-data × 112
hierarchical-bayesian × 107
bayesian × 105
interaction × 80
multiple-regression × 78
time-series × 71
meta-analysis × 62
stata × 58
anova × 50
nested-data × 46
intraclass-correlation × 44
multivariate-analysis × 38
generalized-linear-model × 32
glmm × 32
fixed-effects-model × 31
structural-equation-modeling × 31
interpretation × 30
modeling × 28