Bookmark and Share

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

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

st: e(sample) with reg2hdfe

From   emanuele mazzini <>
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:

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)

Anyone knows how to solve this issue?

Thanks to all of you in advance,

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index