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

st: RE: problems with ztnb and ztp

From   "Nick Cox" <>
To   <>
Subject   st: RE: problems with ztnb and ztp
Date   Thu, 13 Mar 2008 17:43:22 -0000

That doesn't necessarily sound surprising. For example, if you run the
given in the -ztp- help the smallest predicted value is 1.022. As you
want at least 
some predictions pass near one, it isn't surprising that some go below. 
You wouldn't think much of a model that always predicted much more than
one when 
the observed was one. 

There isn't anything here about sample size, merit of model or
of data, which presumably experts would find instructive. 


Gillian Holloway

I'm analyzing zero-truncated bird count data using the standard code for

zero-truncated poisson and zero-truncated negative binomial regression.

However, when I calculate the predicted values I'm getting some 
estimates below 1, even though 1 is the minimum observed value in the 
data. Any ideas what the problem could be?

Example code:

ztp Count SLSoft if Count>0 & Sppcode==38, iterate(100)
predict GRJA

*   For searches and help try:

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