BookmarkSubscribeRSS Feed
stan
Quartz | Level 8

Folks:

here are the examples:

RANDOM <my_variable1> / RESIDUAL SUBJECT = <my_variable2>;

and

RANDOM _RESIDUAL_ / SUBJECT = <my_variable2>;

Thank you.

2 REPLIES 2
SteveDenham
Jade | Level 19

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

stan
Quartz | Level 8

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.

SAS Innovate 2025: Call for Content

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 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1341 views
  • 3 likes
  • 2 in conversation