Hi everyone, I need some help with analyzing data from a study that examines dependent variables at two different time points across four treatment groups. My dataset is in long format, and looks like this: SubjectID Group Time Dependent_variable 1 2 Baseline 60 1 2 Post_Intervention 20 2 2 Baseline 23 2 2 Post_Intervention 14 3 3 Baseline 12 3 3 Post_Intervention 10 4 1 Baseline 20 4 1 Post_Intervention 22 I am planning to run a two-factor repeated measures ANOVA and tried the following code. Is this the correct approach? PROC GLM DATA = dataset; CLASS group time; MODEL dependent_variable = group time group*time; REPEATED time 2; LSMEANS group*time / PDIFF ADJUST=tukey; RUN; Thanks so much!
... View more