Code:
mixed depvar indepvars . . . || levelvar: revars, . . ., covar(___)
However, Stata doesn't throw an error when I put a variable in revars only. In fact I can put zero variables in indepvars and one variable in revars, and the model runs. I get an estimate of the random effect of that var. What is Stata doing in this case? Is it just estimating whether the intercept randomly varies? And is there a set of equations that can show what is happening at Level 1 and Level 2 here? Thanks and happy new year!
0 Response to Why does Stata allow a random effect without a level-1 effect?
Post a Comment