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
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.