[Gretl-users] strange R^2 with TSLS

Riccardo (Jack) Lucchetti r.lucchetti at univpm.it
Thu Dec 6 09:12:48 EST 2007


On Thu, 6 Dec 2007, Sven Schreiber wrote:

> Hello gretl users,
>
> yet again one of those tsls-problems of mine...
>
> It seems to me that TSLS doesn't calculate the R^2 correctly. Actually, it 
> produces exactly the same values as the corresponding OLS estimation. For 
> example, the three-liner
>
> open denmark
> ols IDE 0 IBO
> tsls IDE 0 IBO; LRY

Hold on a second. Never mind the R^2 index; the tsls command should never 
work here (2 regressors and 1 instrument). The fact that you manage to 
get an output at all is very very wrong. I'll try to see what goes wrong 
as soon as I get a chance (unlikely before tomorrow).

Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche

r.lucchetti at univpm.it
http://www.econ.univpm.it/lucchetti


More information about the Gretl-users mailing list