Hello to everyone! First off all, I hace to apologize for my bad english.
I am working with repeated measures in time, a longitudinal study.
I do not know how to interpretate the results of the table of LS means.
I need to know in every time, which treatment is diferent. I mean, I need to know time by time,if there exist stadictics differences between treatments, and which treatment is diferent from the other.
I am going to be very thankful. I really need your help!
Here It attached the table of the LS means.
Tiempo=Time, is every times I have took the sample.
Tto=Treatment.
I note that you have some non-estimable main effect LSmeans, so I am going to suggest the following, assuming the model is fit in PROC MIXED:
proc mixed data=yourdataset;
class treatment time subjectid;
model response_variable=treatment*time;
repeated time/subject=subjectid type=sp(pow)(t);
lsmeans treatment*time;
slice treatment*time / sliceby=time diff;
run;
Some things to note here. I see that your time points are not equally spaced. In yourdataset, define t=time, so that you will have a continous version of time to feed into the spatial power covariance structure. The key here is the SLICE statement. This should enable you to get differences between lsmeans for treatment at each time point where data exists for the treatments. At some points, only one treatment was measured, so no difference can be calculated.
Steve Denham
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.