Hello! Is there any way to create an means plot with a repeated measures design with prox mixed like so? A manually produced categorical line plot would work as well. I also tried manually making a line plot with sgplot and changing the tick labels in to categories with no luck. Here is what I am going for:
Here is a snippet of my data:
Here is my code so far:
The code did not produce the intended plot. Once again, a small example of line plot with categories on the x axis would work, and I could go from there! Thanks ahead of time!
Change title and move to stats community.
There are at least two different ways to go about this. First would be to use the results of your STORE statement, and in the PROC PLM statements include an EFFECTPLOT statement. Second would be to change to PROC GLIMMIX and use a plots=meanplots option in the LSMEANS statement. This is more direct and is also available in PROC PLM (so you would not have to recode your PROC MIXED into PROC GLIMMIX, as you already have a store).
SteveDenham
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.