Dear Statalist,
I was hoping someone could confirm whether I using a correct syntax for my model.
My dataset consists of observations that are, on the one hand, nested within CEOs, who are nested within firms, which are nested within industries, whereas on the other, they are also nested within years. This sounds to me like a crossed-classified multilevel model. However, reading the manuals left me uncertain about my syntax, since the examples mostly show how to model data with cross-classification of two levels.
My syntax looks like:
I use Stata 14.2.
Thank you for helping me out.
Best,
Miha
I was hoping someone could confirm whether I using a correct syntax for my model.
My dataset consists of observations that are, on the one hand, nested within CEOs, who are nested within firms, which are nested within industries, whereas on the other, they are also nested within years. This sounds to me like a crossed-classified multilevel model. However, reading the manuals left me uncertain about my syntax, since the examples mostly show how to model data with cross-classification of two levels.
My syntax looks like:
Code:
mixed y x || _all:R.year || industry: || firm: || ceo:
Thank you for helping me out.
Best,
Miha
Comment