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, is already up and running.

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

Re: st: RE: re: 3sls and fixed effects

From   John Antonakis <>
Subject   Re: st: RE: re: 3sls and fixed effects
Date   Sat, 16 Oct 2010 16:54:20 +0200

Put xi: before the regression--seems that you are not running the latest version of Stata.

xi: reg3 (invest mvalue kstock (kstock time,



Prof. John Antonakis, Associate Dean
Faculty of Business and Economics (HEC)
Department of Organizational Behavior
University of Lausanne
Internef #618
CH-1015 Lausanne-Dorigny

Tel ++41 (0)21 692-3438
Fax ++41 (0)21 692-3305

Home page:

On 16.10.2010 16:49, Biljana Dlab wrote:
I tried to put in my regression:
Reg3(... i.year i.firm)(... i.year i.firm), enog(...)

But then I get the error message:

i:  operator invalid

I have panel data



-----Original Message-----
[] On Behalf Of Christopher
Sent: 16 October 2010 16:39
Subject: st: re: 3sls and fixed effects

Biljana wonders how to include fixed effects in 3SLS:

webuse grunfeld, clear
reg3 (invest mvalue kstock (kstock time,
endog(invest kstock)


Kit Baum   |   Boston College Economics&  DIW Berlin   |
                               An Introduction to Stata Programming  |
    An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

*   For searches and help try:
*   For searches and help try:

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