Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: count data and test for zero inflated poisson distribution


From   "Rajesh Tharyan" <[email protected]>
To   <[email protected]>
Subject   st: count data and test for zero inflated poisson distribution
Date   Thu, 2 Feb 2006 16:57:45 -0000

Hi,

I have a dataset which looks like the one below

           Individual 1      		individual 2
Time  	count             	 count
1		0                   	  1
2		1				  0
3		0				  0	
4		0				  0
5		3				  1
6		0                         0
7		1                         0

Time represents months and count represents the occurance of an event. I
understand that count might follow a  zero inflated poisson distribution or
a negative binomial  distribution. 

Are there any stata command to check if the data fits these distributions?
(just like we have the shapiro-wilk test for normality.).

My objective is to see if there is any increase in the counts between say
period1 (time 1 to 3) and period2 (time 4 to7) for each individual. And for
all individuals taken together...


Regards
rajesh


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index