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]

re: st: about ivregress

From   Christopher Baum <>
To   "" <>
Subject   re: st: about ivregress
Date   Mon, 27 Aug 2012 20:41:02 +0000

Lynn said:

My estimation model has two endogenous explanatory variables (cross-section
data set). The command "ivregress 2sls" or "ivregress gmm" are suitable for
one endogenous variable. What specific command I can use if I want to handle
these two endogenous variables at same time in Stata? And what command for
handling more than one endogenous variables in panel data is used? 

The syntax for -ivregress- is

        ivregress estimator depvar [varlist1] (varlist2 = varlist_iv) [if] [in] [weight] [, options]

Note that -varlist2- is a varlist, not a varname. Thus you may put as many variables as you wish into -varlist2-, s.t. the order
condition for identification, which requires that -varlist_iv- has at least as many elements as -varlist2-.

In panel data, use -xtivreg-, which uses the same syntax.

For a broader set of features, -ssc desc ivreg2- and -ssc xtivreg2- and the two Stata Journal papers by Baum, Schaffer, Stillman referenced in their help files.


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

*   For searches and help try:

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