Programming the statistical procedures from SAS

zero inflated negative binomial for a rate outcome

Reply
Contributor
Posts: 39

zero inflated negative binomial for a rate outcome

[ Edited ]

I have an outcome frequency over a variable number of years per patient. I have converted this to a rate per year and would like to investigate differences bet a certain category. The rates are overdispersed and zero inflated. How can I code a zero inflated negative binomial model in SAS for this rate outcome?

Super User
Posts: 9,779

Re: zero inflated negative binomial for a rate outcome

PROC GENMOD

Contributor
Posts: 39

Re: zero inflated negative binomial for a rate outcome

what about countreg?

 

e.g:

proc countreg data=data;
    model rate = category covariate / dist=zinb method=qn;
    zeromodel rate ~ category covariate;
run;

 

 

I was not sure how to model the zeromodel..

Super User
Posts: 9,779

Re: zero inflated negative binomial for a rate outcome

I don't know PROC COUNTREG is under SAS/ETS, it is for time series.

Ask a Question
Discussion stats
  • 3 replies
  • 130 views
  • 0 likes
  • 2 in conversation