03-29-2017 08:37 PM - edited 03-30-2017 11:35 PM
I have some one group pre-post data and I am looking at differences between a group variable (binary) and the pre post change in the score outcome.
My code for the analysis is below:
proc glm data=data;
model pre post = group / nouni;
repeated time 2 (1 2) / printe;
lsmeans group / stderr;
03-30-2017 04:26 AM
I would try PROC MIXED instead of PROC GLM.
Check GLM documenation to see how to transform Repeated Measure from GLM into MIXED.
change your data structure as
proc mixed data=have;
class group time;
repeated time/type=un solution subject=sub;
lsmean group/pdiff cl;