Hi Dale, I really appreciate your detailed reply! Thanks for your kindness.
For my analysis, prior to running SAS, I checked my data for ANOVA assumptions, and I know that the groups being compared have variances that are not significantly different (but of course, not identical). What I didn’t realize was that I was assuming variances to be ‘identical’ across groups by coding as your first example:
proc mixed data=mydata;
class mygroupvar ;
model y = mygroupvar / s;
lsmeans mygroupvar;
run;
Although I ensured that group variances are not significantly different, since they are not identical, maybe it is not exactly correct for me to be coding as above.
Further, if the addition of a REPEATED statement allows me to compare groups with different variances, am I correct to be thinking that, “I’m going to use REPEATED statement always, and I’m not going to bother with ensuring variance homogeneity among groups”. Or, are there certain conditions that have to be present in order to use REPEATED statement correctly? Thanks again Dale, Best regards,