Statalist The Stata Listserver


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

Re: st: RE: Fwd: zip zinb : testparm or loglikelihood ?


From   Johanna LEPEULE <[email protected]>
To   [email protected]
Subject   Re: st: RE: Fwd: zip zinb : testparm or loglikelihood ?
Date   Mon, 18 Jun 2007 14:25:06 +0200

Hi Marteen,

Thanks Marteen for your answer.

I forgot to specify that I also use a random effect.

Thus :
xi : zip nbaoaj i.breed agerx6 i.mother_age, inflate(i.breed agerx6)
cluster(farm) robust

When I test the addition of the variable "i.mother_age", I do not have the
same result with "testparm" or with "Loglikelihood test". It seems that the
loglikelihood test does not take into account the random effect.

And I do not know which test I have to use ?

Johanna


Le 11:48 18/06/2007, vous avez �crit:
--- Johanna LEPEULE wrote:
 >I use zero-inflated (Poisson and negative-binomial) models.
>Y=nbaoaj, is a number of lesions.
>X=mother_age, is a qualitative variable with 3 classes
>Can I use xi: testparm i.mother_age, equation(nbaoaj) to test the global
>effect of the variable mother_age ?
>Or must I use the Loglikelihood ratio test ?

Why do you doubt that you can use -testparm-?

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


*
*   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/
Johanna Lepeule
UMR 708 Gestion de la Sant� Animale
Ecole V�t�rinaire de Nantes / INRA
BP 40706, 44307 Nantes Cedex 03
T�l�phone: +33 (0) 240 687 821, Fax: +33 (0) 240 687 768
courriel : [email protected]


******************************************************
Ce message a ete verifie par le systeme anti-virus de l'Ecole Nationale Veterinaire de NANTES
******************************************************

*
* 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