I am trying to get the right syntax for a model. I tried to visualize it and the image is below (apologize for the poor rendering).
I have longitudinal data following the same individuals over the span of 5 years. These individuals are then nested in their counties but also in their county-wave. In other words, the data is not strictly hierarchical since some observations might be in the same county but in different county-waves.
I believe the appropiate syntax is
Code:
mixed y x || _all: R.county || id: wave, var
Code:
mixed y x || _all: R.county|| id: || wave:
Best,
Array
0 Response to Cross-classified multi-level structure with longitudinal data
Post a Comment