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
command keep usingI am working on a replication and the author uses this Phrase: merge 1:1 pid syear using ".dta" kee…
VIF after multilevel mixed effect logistic regressionHi... I am a very newly stata user I really don't know and desperately searching how to get VIF sco…
indentify the latest year in pannel dataHi My sample includes firm survey in 10 countries. Each country may have more than one survey and t…
How to use ACF and PACF the right way ?Hi, I have looked online and seen different versions of how to use ACF and PACF. I am running the fo…
Reducing the size of your database.Dear all, I am having troubles in "cleaning" my database, whose initial size is 22GBs (71 millions r…
Subscribe to:
Post Comments (Atom)
0 Response to Syntax of cross-classified multilevel model
Post a Comment