Andrew,
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> [email protected]
> Sent: 14 June 2006 18:19
> To: [email protected]
> Subject: st: marginal effects in xtivreg2
>
> Hi,
>
> I am estimating a fixed effects models with an endogenous
> covariate using the following command:
>
> webuse grunfeld
> xtivreg2 invest mvalue (kstock=l3.invest l2.invest), fe
>
> After estimation, I have tried to compute marginal effects:
>
> mfx compute, eyex
>
> I then get the error message:
>
> variable __000001 not found
>
> However, I am able to estimate the marginal effects from the
> exact model using xtivreg.
>
> The error message "variable __000001 not found" appeared in
> the Statalist archive in the context of the madfuller command:
> http://www.stata.com/statalist/archive/2005-04/msg00589.html
The problem arises because when I wrote xtivreg2, I didn't write the
code for full support of predict following estimation. mfx probably
needs xb, and only the e option is supported at the moment.
I'll put it on my to-do list, but I can't promise when I'll be able to
around to fixing this ... I'm chasing (and being chased by!) too many
other things at the moment.
Cheers,
Mark
Prof. Mark Schaffer
Director, CERT
Department of Economics
School of Management & Languages
Heriot-Watt University, Edinburgh EH14 4AS
tel +44-131-451-3494 / fax +44-131-451-3296
email: [email protected]
web: http://www.sml.hw.ac.uk/ecomes
>
> Any thoughts would be appreciated.
>
> Best,
>
> Andrew Ryan
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/