Dear Statalist,
I need to analyze data with complex structures.
My data set consists of individuals who are fully nested within teams, which are nested "crossly" within functions and locations, which are fully nested within firms.
(individuals) ---> (teams) ---> (functions) and (locations) ---> (firms)
I guess I need to do four-level cross-classified multi-level analysis and I have the following hypothetical syntax:
Code:
xtmixed y x || firm: || _all:R.function: || _all:R.location: || team:
I hope someone can confirm whether it is right, or correct it if it is wrong. Thank you for helping me out.
Best,
Eunhee
Related Posts with Syntax of cross-classified multilevel model
Use an estimated coefficient as independent variableDear Stata community, I have a panel dataset at the regional level for a set of 10 countries (i.e s…
Creating a scoreDear All, I need your help on this matter. I have performed a multinomial model for an outcome varia…
too many signficant variablesHello I am doing a multilevel regression using PASEC2014 data at the first level I included several …
setstars function using asdocDear Statalist Users, I am using the wonderful installation package asdoc and I am very grateful, t…
Requirements for using ordinal logistic regressionHello everyone! I have a data set with N=900. All IVs and DVs are ordinal-scaled (4-point assessmen…
Subscribe to:
Post Comments (Atom)
0 Response to Syntax of cross-classified multilevel model
Post a Comment