Hello,
In a proc mixed how do I classify the type of variance structure I want to use (Unstr, variance comp, comp symm, etc)?
Here's my code.
PROC MIXED DATA = work.pracL;
CLASS ID;
MODEL logmemI = demind age age*demind spline gender ses/solution cl outpm= work.plot1;
RANDOM Intercept age/SUBJECT=ID ;
Estimate "Hyp 1 age slope for healthy individuals B2" age 1/cl;
Estimate "Hyp 3A Slope in MCI prior to chgpt B2+B3" age 1 age*demind 1/cl;
Estimate "Hyp 3B Slope in MCI after chgpt B2+B3+B4" age 1 age*demind 1 spline 1/cl;
Estimate "Hyp 4 Comparing slopes between Healthy and MCI before chgpt B3" age*demind 1/cl;
Estimate "Hyp 5 Comparing the slopes before and after chgpt for MCI B4" spline 1/cl;
Estimate "Hyp 6 Comparing slopes between Healthy and MCI after chgpt B3+B4" age*demind 1 spline 1/cl;
run;
title1; title2; title3; title4; title5; title6;
Thanks!
Greetings.
To choose which variance structure to use include the TYPE= sub-option in the RANDOM line.
For example, RANDOM .... / TYPE=UN. This would be unstructured.
Hope this helps.
Greetings.
To choose which variance structure to use include the TYPE= sub-option in the RANDOM line.
For example, RANDOM .... / TYPE=UN. This would be unstructured.
Hope this helps.
Thank you!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.