I have data of an experiment that has one response variable "growth" related to 18 treatments (TRT) that were measured for eight weeks with three replications.
The statistical model for analysis looks like this:
(Data is sorted by rep trt and time)
proc mixed data=combine;
class rep trt time;
model growth=trt|time / ddfm=kr;
repeated /type= AR (1) subject=trt;
The program runs without error. I would like now to plot every treatment against a specific time interval. I don't have much skill with SAS but eager to learn. Please suggest some me a few program codes to do this. Thank you.
I suggest browsing around this page: http://support.sas.com/sassamples/graphgallery/index.html
for something that you think may show what you want. Without have a better idea of what you actually want or makes sense for your data it is difficult to make targeted suggestions.
You can try to create an effect plot. See the article "Use the EFFECTPLOT statement to visualize regression models in SAS."
A sketch of what you want would enable us to give more specific advice. You can sketch it on a piece of paper and then take a picture or scan it into an image file.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.