BookmarkSubscribeRSS Feed
AndreaB_
Calcite | Level 5

Hi,

 

I want to use PROC MCMC to run a random-effects linear negative binomial (NB1) model and estimate ~200,000 random intercepts (as an alternative to NLMIXED).  Since the OUTPOST= dataset can only save up to 32,767 variables, what approaches can I take to be able to output the posterior samples for all of the ~200K random-effects parameters?

 

 

Thanks,

Andrea

 

P.S. I have SAS v9.4 (TS1M4) and SAS/STAT 14.2.

1 REPLY 1
Garnett
Obsidian | Level 7

Hi,

An easy way is to assume the posterior on each effect is Gaussian:

 

1) Monitor the posterior distributions of the random effects.

2) Write ODS output postsumint=Px;

3) In a subsequent datastep, sample from the mean and Standard deviation given in Px (or just use the posterior info in Px.)

 

Let me know if this isn't what you are thinking...

G

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 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
  • 679 views
  • 0 likes
  • 2 in conversation