Hi all, I am trying to use the Ramsay RESET test after ivreghdfe. However, I am not sure how to do it properly. Any comments will be really appreciated!
-
Login or Register
- Log in with
http://fmwww.bc.edu/RePEc/bocode/i/ivreset.html
sysuse auto, clear ivreghdfe price weight (length = gear) , absorb(foreign, savefe) res predict yhat1, xb replace yhat1 = yhat1+__hdfe1__ g yhat2 = yhat1^2 g yhat3 = yhat1^3 ivreghdfe price weight yhat2 yhat3 (length = gear), absorb(foreign, savefe) res testparm yhat2 yhat3
Comment