Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: why does stata creates missing values when running zinb model


From   daniel klein <klein.daniel.81@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: why does stata creates missing values when running zinb model
Date   Wed, 19 Oct 2011 14:04:01 +0200

"[...] it seems Stata is just telling me how many observations it is
not using in this particular model. "

I do not believe Stata, or better the people at Stata Corp., intended
to show this as an informative message, otherwise it would probably be
phrased more appropriately.

I guess Maarten is correct in assuming there should probably be a
-quietly- added in the code somewhere. In particular these lines
(starting at line 126) from zinb.ado produce the message.

[...]
        if "`exposur'" != "" {
                tempvar off
                gen double `off' = ln(`exposur') if `touse'
                local offo "offset(`off')"
                local offstr "ln(`exposur')"
        }
[...]

Best
Daniel
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index