BookmarkSubscribeRSS Feed
vincetan
Calcite | Level 5

Hello,

I have a model that has more than 10 random effects identified by bcoef1-bcoef20. Is there a compact way to write the random statement in PROC NLMIXED other than the usual way of:

"random bcoef1, bcoef2, ..., bcoef20 ~normal([0,0,...,0],[vcoef1,

                                                                                                         0, vcoef2,.....

                                                                                                                                  vcoef20]) subject=ID out=outre;"

Thank you!

2 REPLIES 2
SteveDenham
Jade | Level 19

Not that I am aware of.  Are you truly trying to estimate 190 covariance parameters in a nonlinear model?  If so, I want to know what platform (OS, memory, etc.), so that I can talk our company into buying comparable equipment.

Steve Denham

vincetan
Calcite | Level 5

Hi Steve,

Thank you. Unfortunately, we have to run a non linear model with more than 10 random effects. We have not tested this out on our computer yet but if it runs successfully, I will inform you.

Best,

Vincent

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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