Hi there, I'm trying to do a repeated measures model that is not two-level like in example 9.16, but rather it's crossed. Meaning, I have six time points for each person (time), but those time points consist of fall and spring measures. I want to add spring (set at 1 or 0 for each time point) as one of the fixed effects in my model. I also want to include an interaction for time and spring in the model. Can you tell me how to set up the code for this??
DATA WIDETOLONG: WIDE = y1-y6 spring1-spring6; LONG = y | spring; IDVARIABLE = person; REPETITION = time spring;
VARIABLE: NAMES ARE y1-y6 spring1-spring6; USEVARIABLE = y spring person time; CLUSTER = person; WITHIN = time spring;
Well because we believe there is a within-year effect as well as across all years. We want to capture the variation that occurs between fall and spring each year as well as the year to year variation, and the interaction between the two.