BookmarkSubscribeRSS Feed
GemmaR
SAS Employee
Hi All,

I'm trying to get the dispersion statistic out of proc logistic. It works when I use the aggregate option but not when I don't.

Should the pearson and deviance statistic only be used when subgrouping the observations?

I know that genmod produces the deviance and pearson statistic but in SAS 9.2 you seem to have to aggregate it again.

Am going around in circles with this so any advice would be much appreciated!
1 REPLY 1
StatDave
SAS Super FREQ
Dispersion cannot be computed for individual data. You must define subpopulations and this is what the AGGREGATE option allows you to do. See this usage note on overdispersion: http://support.sas.com/kb/22/630.html and the link within it to a note on defining subpopulations.

The answers to many questions can be found in the Samples and SAS Notes in our searchable knowledgebase, http://support.sas.com/kb. You can use the search engine there to find the answers you need.

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