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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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