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

Hello,

I am using proc genmod with the negative binomial distribution and a repeated statement.

it appears that with a repeated statement, the dispersion parameter is not provided.

Is there any way to retrieve the dispersion parameter while using the repeated statement ?

 

Thank you in advance!

Aya

1 ACCEPTED SOLUTION

Accepted Solutions
StatDave
SAS Super FREQ

Yes, the initial model estimated by maximum likelihood (displayable with the PRINTMLE option) estimates the negative binomial dispersion parameter and that is then held fixed during the GEE estimation phase. 

View solution in original post

3 REPLIES 3
sbxkoenk
SAS Super FREQ

Hello Aya ,

 

Use the PRINTMLE option on the REPEATED statement.

PRINTMLE --> Displays an analysis of maximum likelihood parameter estimates table

 

There's a starting value estimated for the negative binomial dispersion parameter (as for all other parameters), by doing a maximum likelihood (ML) estimation of the model ignoring the REPEATED statement. 

You can see that estimated starting value of the negative binomial dispersion parameter by using PRINTMLE.

After initial estimation , I think this NB dispersion parm is further treated as a constant!

 

Is that correct @StatDave ?

 

Thanks,

Koen

StatDave
SAS Super FREQ

Yes, the initial model estimated by maximum likelihood (displayable with the PRINTMLE option) estimates the negative binomial dispersion parameter and that is then held fixed during the GEE estimation phase. 

ayaaj1
Calcite | Level 5

Thank you very much for this clear explanation!

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
  • 3 replies
  • 2236 views
  • 1 like
  • 3 in conversation