I've been having problems selecting the correct covariance structure and for my mixed model (employees nested within firms).
When adding a (categorical) random slope (regarding the size of the firm) to my model, my model doesn't converge with the default (independent) covariance structure and only converges when using the cov(exchangeable) option (for the R. notation, only independent and exchangeable covariance structures are available)
Code:
mixed jobsat level1fixedeffects level2fixedeffects || firmid: R.size
Please tell me if you need further information in order to answer my question regarding the covariance structure.
Your input will be greatly appreciated.
Felicia
0 Response to covariance structure in mixed model
Post a Comment