Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

RE: st: Error with ffirst in ivreg2


From   Abigail Wozniak <A_Wozniak@nd.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Error with ffirst in ivreg2
Date   Wed, 6 Apr 2011 11:44:00 -0400

Thanks, Kit. I tried running with the first option instead of ffirst and was getting the same error. But I think I diagnosed the problem. 

The first and ffirst options were not compatible with the D, L, and F operators in my specifications, although the ivreg2 specifications using the L/D/F operators ran without these options. When I substituted "hardcoded" variables equal to the values of the lead/lag/change, the ivreg2 spec with the ffirst or first options works.

Does anyone know why this is? I know some commands do not allow time series operators, but it still seems odd to me that ivreg2 can use TS operators without the first/ffirst commands but not with. I would have expected it to fail in all cases or not at all.

Abigail Wozniak
Assistant Professor of Economics
University of Notre Dame
Tel: 574.631.6208
Web: www.nd.edu/~awaggone

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Christopher Baum
Sent: Wednesday, April 06, 2011 7:16 AM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Error with ffirst in ivreg2

<>
Please show us your logfile for that estimation, w/w/o ffirst option. Does the first option have the same problem?

Thanks
Kit

On Apr 6, 2011, at 2:33 AM, Abbie wrote:

> I am running a 2SLS specification with two endogenous variables and two instruments, plus state and year fixed effects.  One endogenous variable is the current period population and the other is the one year lagged population. The instruments are the IV for the current period and the previous period's instrument.
> 
> The first stage with one endogenous variable is strong, but I wanted to check that both instruments are strong predictors in the two instrument-two endogenous variable case.
> 
> When I run my specification using ivreg2 with the ffirst option, I get the error message "reduced form estimation failed." However, when I omit the ffirst option, the same specification runs and I get reasonable looking estimates.
> 
> Does anyone know what the problem is? It seems odd that ivreg2 would generate 2SLS estimates if the reduced form truly were not available so I don't understand why it runs without ffirst but not with it.


Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
                              An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.html
   An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html




*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index