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]

st: Margins after xtreg, fe


From   natasha agarwal <agarwana2@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Margins after xtreg, fe
Date   Tue, 23 Aug 2011 17:33:35 +0100

Dear All,

I am estimating the following model

xtreg lnrval lnk lnw lnvfdi efd fdi*efd y14-y18, fe vce(robust)

(efd drops out of the estimation as it is time-invariant)

And then I want to estimate the elasticity at the median of efd. So I estimate

 margins, eyex(lnvfdi) at((median) efd)

I get the following result


Average marginal effects                          Number of obs   =      38573
Model VCE    : Robust

Expression   : Linear prediction, predict()
ey/ex w.r.t. : lnvfdi
at           : efd             =       .2371 (median)

------------------------------------------------------------------------------
             |            Delta-method
             |      ey/ex   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      lnvfdi |  (not estimable)
------------------------------------------------------------------------------

Can someone please explain me why do I get such an output?

Many thanks
Natasha
*
*   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