BookmarkSubscribeRSS Feed
Eran
Calcite | Level 5

Hi all,

Does anybody know how I can constrain the correlation between two random effect to be 1?

I know about the PARMS statement (with the hold option), but with this statement I can constrain the Co-variance, but is there a direct way to constrain the correlation itself?

Thanks a lot

Eran. 

1 REPLY 1
SteveDenham
Jade | Level 19

I don't know whether this will work, but it is possible to specify the covariance structure as being based on the correlations, using type=unr.  From there, it seems possible that you could constrain a correlation to be a fixed value.

Steve Denham

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1 reply
  • 1390 views
  • 0 likes
  • 2 in conversation