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 on April 23, and its replacement, statalist.org is already up and running.


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

st: Unexpected Marginsplot Error Bars


From   Alistair Windsor <alistair.windsor@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Unexpected Marginsplot Error Bars
Date   Sun, 18 Nov 2012 22:14:30 -0600

For my wife's research we are running some zinb regressions. The indepvars for the inflate are a small subset of the total set of indepvars.

When we run the following commands

zinb depvar indepvars, inflate(indepvars) nolog iterate(20) robust cluster(ccode)
margins, predict(n)
marginsplot

we get a plot whose error bars stretch below 0. This seems impossible give that the negative binomial takes only non-negative values.

Am I missing something?

--
Alistair Windsor
Tigers Teach Co-Director and S-STEM PI
Assistant Professor, Department of Mathematical Sciences
355 Dunn Hall                             Ph:      901-678-4431
University of Memphis                Fax:    901-678-2480
Memphis, TN 38152-3240

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


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index