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
Cleaning for missing observations (cross-sectional data) for a range of variablesDear all, I have a particular problem. I have a data of probability of default for 2000 entities an…
Model's forecast accuracy evaluationHi everyone, I want to evaluate forecasting accuracy of ARIMA (1,1,1) model. I use only one variabl…
combining foreach and by with stringsHello, I found similar topics on the forum but the solutions provided do not seem to fit my case. …
Finding max and min of a numbers' list stored in macroDear All, I am looking for a solution to find maximum and minimum numbers stored in a local/global …
unbalanced panelHi everyone I'm running a regression with fixed effects of individuals: reg y x i.firm i.year i.indi…
Subscribe to:
Post Comments (Atom)
0 Response to Syntax of cross-classified multilevel model
Post a Comment