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
Twoway Scatter help: Change range, show labels and Bisector lineHello. I am trying to do a twoway scatter graph. The first problem i faced was that the range was no…
Panel Data IV Year DummiesI'm estimating the effect of wealth inequality on life expectancy at the region level from 2000-2015…
Minimum detectable hazard ratio/relative riskHi all, Is there a way to calculate these in STATA? I am carrying out a study relating to medicatio…
IFLS Info Test Code: ================================================================================== SUMMARY I…
Generate an initial variable for a specific yearHello everyone, I have panel data with several countries countries over a specific time period. Now…
Subscribe to:
Post Comments (Atom)
0 Response to Syntax of cross-classified multilevel model
Post a Comment