Hi everybody,
I'm calculating a mixed model for educational achievement but, when I specify three variables (isecf, nina & prekfor6) to have a random slope between schools, I get the following output for the random effects:
* mixed puntaje_estandar $x1 $x2 [pw=wgm] || idsc: $rand, cov(ind) vce(robust) ml pw(bsw) pwscale(effective)
----------------------------------------------------------------------------------------------
Robust
Random-effects | Estimate Std. Err. [95% Conf. Interval]
-----------------------------+---------------------------------------------------------------
idsc: Independent |
var(isecf) | 6.83e-11 . . .
var(nina) | 2.54e-12 . . .
var(prekfor6) | 1333.184 . . .
var(_cons) | 76.44768 . . .
-----------------------------+---------------------------------------------------------------
var(Residual) | 3442.109 . . .
----------------------------------------------------------------------------------------------
Where $x1 $x2 are the first and second level variables, respectively. I have 16 covariates at student level and 11 covariates at school level. I set an independent covariance structure.
I noticed that if I set only two variables to have a random slope, mixed is able to compute the standard error, but if I set three or more variables it fails to do it. My questions are: Do I have a problem with the specification of my model? Are the fixed/random estimates trustly to use? What recommendations do you have? I'm using Stata 14 and the dataset have 1,148 observations clustered in 119 groups.
Thank you.
I'm calculating a mixed model for educational achievement but, when I specify three variables (isecf, nina & prekfor6) to have a random slope between schools, I get the following output for the random effects:
* mixed puntaje_estandar $x1 $x2 [pw=wgm] || idsc: $rand, cov(ind) vce(robust) ml pw(bsw) pwscale(effective)
----------------------------------------------------------------------------------------------
Robust
Random-effects | Estimate Std. Err. [95% Conf. Interval]
-----------------------------+---------------------------------------------------------------
idsc: Independent |
var(isecf) | 6.83e-11 . . .
var(nina) | 2.54e-12 . . .
var(prekfor6) | 1333.184 . . .
var(_cons) | 76.44768 . . .
-----------------------------+---------------------------------------------------------------
var(Residual) | 3442.109 . . .
----------------------------------------------------------------------------------------------
Where $x1 $x2 are the first and second level variables, respectively. I have 16 covariates at student level and 11 covariates at school level. I set an independent covariance structure.
I noticed that if I set only two variables to have a random slope, mixed is able to compute the standard error, but if I set three or more variables it fails to do it. My questions are: Do I have a problem with the specification of my model? Are the fixed/random estimates trustly to use? What recommendations do you have? I'm using Stata 14 and the dataset have 1,148 observations clustered in 119 groups.
Thank you.
Comment