Programming the statistical procedures from SAS

Dispersion Statistic in proc logistic.

SAS Employee
Posts: 225

Dispersion Statistic in proc logistic.

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!
SAS Employee
Posts: 306

Re: Dispersion Statistic in proc logistic.

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: 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, You can use the search engine there to find the answers you need.
Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation