Folks:
here are the examples:
RANDOM <my_variable1> / RESIDUAL SUBJECT = <my_variable2>;
and
RANDOM _RESIDUAL_ / SUBJECT = <my_variable2>;
Thank you.
The former syntax specifies an R side covariance structure for <my_variable1>, while the latter syntax models an overdispersion. I believe that since the default type is TYPE=VC, the two statements as they currently stand should yield the same results. If not, please post, as this is a potentially interesting event.
Steve Denham
Steve, at first glance the outputs are the same. I also met another explanation by @lvm:
If you do not have missing values for trial (i.e., same trials for each subject), you can use:
RANDOM _RESIDUAL_ / SUBJECT=SUB TYPE=CS;
Probably this is the same you mention.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.