Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: SV: Comparing ZINB Models with clustering by subject


From   Mads Meier Jæger <[email protected]>
To   <[email protected]>
Subject   st: SV: Comparing ZINB Models with clustering by subject
Date   Mon, 26 Jan 2009 08:19:47 +0100

Bradley,

The zero-inflated Poisson with random effects (the latter bit to take into account the repeated measures design) might be useful. I haven't found any Stata program that does this model (maybe GLLAMM can do it with some tweaking?), but I've programmed the mixed ZIP using SAS' proc NL MIXED. Drop me a mail if you're interested in this code.

Mads

***

Mads Meier Jæger
Senior Researcher
The Danish National Centre for Social Research
[email protected]
http://www.sfi.dk/sw234.asp

 
-----Oprindelig meddelelse-----
Fra: [email protected] [mailto:[email protected]] På vegne af Anderson, Bradley
Sendt: 23. januar 2009 17:25
Til: [email protected]
Emne: st: Comparing ZINB Models with clustering by subject

I'm modelling a count outcome with an excess of 0 counts.  Conceptually and empirically a zero-inflated model makes sense.  It's a repeated measures design.  The number of observations per subject is relatively large (typically over 200) but varies across subjects.  Variance estimates clearly need to be adjusted for the within subject clustering.  I'd like to compare two models:  In model 1 the X is an ordered categorical variable that takes on the values 0-3.  In model 1 the effect of X is assumed linear.  In model 2, X is represented by three dummy indicators.  I want to compare the models to determine if the linear effect assumption is reasonable.  Normally I'd just do a likelihood-ratio test but that's not appropriate when using robust standard errors adjusted for clustering.  How can I compare the two models?


This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual
or entity to whom they are addressed.  If you are not the intended recipient, you are hereby notified
that any disclosure, copying, distribution or taking of any action in reliance on the information contained in
this e-mail is prohibited.  If you have received this e-mail in error, please notify sender by reply e-mail and
delete this message and any attachment(s) immediately.  Thank you for your consideration in this matter.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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