Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: does -margins- work after -menbreg- or -mepoisson- in Stata 13?


From   Steve <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: does -margins- work after -menbreg- or -mepoisson- in Stata 13?
Date   Sun, 11 Aug 2013 19:28:39 -0500

I'm trying to use -margins- after -menbreg-.

No matter how I set up the -margins- command, I receive the following error message:

default prediction is a function of possibly stochastic quantities other than
e(b)
r(498);

Here's just one example of the syntax I've used:
     margins x1, at(x2=(-1(.1)3))
where
    x1 = dichotomous variable
and
    x2 =  continuous variable

Both variables are in the -menbreg- model.

I have the same problem after mepoisson.

I know that -margins- works after -mixed- in Stata 12.

Am I neglecting something or will -margins- not work after -menbreg- and -mepoisson- in Stata 13? Are there other new mixed commands in Stata 13 after which -margins- will not work?

Steve Rothenberg
Instituto Nacional de Salud Pública
Cuernavaca, Morelos, México


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index