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: e(sample) with reg2hdfe


From   emanuele mazzini <[email protected]>
To   [email protected]
Subject   st: e(sample) with reg2hdfe
Date   Sat, 7 Dec 2013 13:28:31 +0100

Dear all Statalist users,

I know that probably the same question has been discussed here:

http://www.stata.com/statalist/archive/2013-01/msg01324.html

but, still, although I am using the suggested command , I cannot solve
the problem relative to the fact that reg2hdfe does not return the
"e(sample)" function.

Specifically, I am trying to use the post-estimation command margins
after the following regression ran with reg2hdfe:

reg2hdfe lx RHS, id1(it) id2(jt)

The point is that, when I try to run margins, Stata returns me the
following error:

e(sample) does not identify the estimation sample.

I do not understand why, since with ereturn list I can obtain the e(N)
function.

Anyone knows how to solve this issue?

Thanks to all of you in advance,

Emanuele.
*
*   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