Hello all,
I am currently running a linear mixed model using Proc Mixed for a longitudinal and clustered data set. I have two questions relating to the residuals:
(1) As each participant has two data points (longitudinal data), should I indicate (effect=participant ID) in the model line to obtain influence diagnostics for each observation for each participant?
(2) When I use the code "residual outp=lib.XXX", the residuals in the output file "XXX" are different from the ones indicated in the figures when I use the "influence". Does anyone know why these residuals are different, and importantly, which one I should use?
Thank you in advance for your help.
Best,
Tamara
Hello @TamaraTavares,
Your question requires more details before experts can help. Can you revise your question to include more information?
Review this checklist:
To edit your original message, select the "blue gear" icon at the top of the message and select Edit Message. From there you can adjust the title and add more details to the body of the message. Or, simply reply to this message with any additional information you can supply.
SAS experts are eager to help -- help them by providing as much detail as you can.
This prewritten response was triggered for you by fellow SAS Support Communities member @sld
.There are lots of different kinds of residuals. You'll find details in the documentation for the MIXED procedure.
If you still have questions after reading the documentation (in particular, the RESIDUAL option in the MODEL statement), please post your code and an example of your data set.
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 16. 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.