[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Recovery of name of dependent variable after estimation
On Wed, 11 Oct 2006, Schaffer, Mark E wrote:
This is a bug in -ivprobit- that will be fixed in the next adofile update.
e(depvar) should be set regardless of whether the "twostep" option was
Hi everybody. I'm writing a routine that needs the name of the
dependent variable used in the preceding estimation.
Unfortunately, the command, -ivprobit-, doesn't save the name in the
macro e(depvar) when it is called with the -twostep- option. FYI, the
version I am using is
*! version 1.1.8 14jul2006
The name of the dependent variable is stored in Stata somewhere, because
-estimates display- can get at it and it appears in the output of
-ivprobit-. But I can't work out how my code can get at it.
-- Brian Poi
* For searches and help try: