Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | emanuele mazzini <madsoenistata@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
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/