Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: ivreset

From   Arne Risa Hole <>
Subject   st: ivreset
Date   16 Mar 2006 19:10:13 +0000

Dear Statalisters

I am using ivreset to do a Pesaran-Taylor Reset test after ivreg2. However, I am not able to replicate the result from ivreset manually. For example:

use reg iq s expr tenure rns smsa med kww predict double iq_hat reg lw iq_hat s expr tenure rns smsa predict double lw_hat gen double lw_hat2 = lw_hat^2
ivreg2 lw s expr tenure rns smsa lw_hat2 (iq=med kww) test lw_hat2

results in a slightly different chi2 statistic than:

ivreg2 lw s expr tenure rns smsa (iq=med kww)

There's probably something wrong with my code but I can't seem to figure out the problem. Any insights would be greatly appreciated.

Thanks and best regards,

Arne Risa Hole
Research Fellow
Centre for Health Economics
Alcuin 'A' Block
University of York
York YO10 5DD

Tel: +44 (0)1904 321404

* For searches and help try:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index