BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Kastchei
Pyrite | Level 9

Hi all,

I have hopefully a quick question.  Do these two sets of random statements from GLIMMIX yield the same results?

random intercept slopeVar / subject = ID type = cs;

vs.

random intercept / subject = ID type = vc;

random slopeVar / subject = ID type = cs;

I'm thinking that the single statement applies the constant correlation between the intercept and the levels of slopeVar, whereas the two individual statements have 0 correlation between the intercept and the levels of slopeVar.  However, in my data, for both sets of statements, one covariance parameter estimate is always 0, and so they are resulting in the same V matrix in the end.  I'm guessing that isn't always the case though; or is it?

Thanks!

Michael

1 ACCEPTED SOLUTION

Accepted Solutions
SteveDenham
Jade | Level 19

Not always the case, as you surmise.  It will depend on the actual data, and how much of it there is (how many IDs are being fit).

Steve Denham

View solution in original post

3 REPLIES 3
SteveDenham
Jade | Level 19

Not always the case, as you surmise.  It will depend on the actual data, and how much of it there is (how many IDs are being fit).

Steve Denham

Kastchei
Pyrite | Level 9

Thanks.

So the latter would only be used if you have reason to believe that there is or should be no correlation between the intercept and the slope?  If I didn't know or suspect that, for example, a higher intercept results in a higher slope, then I'd want the former, single statement?

SteveDenham
Jade | Level 19

I suppose you could make the assumption of no correlation, especially if you were running into convergence problems.  My inclination would be to allow for the possibility, and if it went to zero, that's fine.  Forcing it to zero in the face off no prior information seems like not such a good idea.

Steve Denham

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is ANOVA?

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.

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