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]

st: RE: xtivreg2 testing for regressor endogeneity

From   "Schaffer, Mark E" <>
To   "" <>
Subject   st: RE: xtivreg2 testing for regressor endogeneity
Date   Tue, 23 Apr 2013 20:17:54 +0000


See my comments interspersed below.

> -----Original Message-----
> From: [mailto:owner-
>] On Behalf Of Costas Lambrinoudakis
> Sent: 23 April 2013 15:40
> To: Statalist
> Subject: st: xtivreg2 testing for regressor endogeneity
> Dear all
> I am using command xtivreg2. I have a couple of questions concerning
> regressor endogeneity testing and I would be grateful if anyone could help
> me with that.
> I want to estimate the following equation:
> y = b0 + b1x1 + b2x2 + b3x3 + u                         (1)
> Say that x1 is endogenous, x2 and x3 exogenous and that z1 is a potential
> instrument for x1. The dataset is panel and the errors are heteroskedastic
> and clustered.
> Given that my data is panel and the errors are not iid, I cannot use ivendog,
> hausman or dmexogxt. The only choice I am left with is the option
> endog(x1) in xtivreg2,
> i.e. xtivreg2 y x2 x3 (x1=z1), fe endog(x1) cluster(id year)
> My questions are the following:
> 1. Is it correct to use endog when I have only one endogenous variable and
> one instrument?


> I may get a result from the option endog(x1) when running
> xtivreg2 command, but I am wondering how are the Sargan statistics
> calculated, given that my model is exactly identified?

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