Code: Select all
%ex7 = "\Example Files\EV7 Manual Data\"
%ch20 = "Chapter 20 - Instrumental Variables and GMM"
%wf = @evpath + %ex7 +%ch20 +"\klein.wf1"
wfopen %wf
equation eq02
c = 0
eq02.gmm(method=cue,instwgt=hac,instlag=1,instkern=thann,instbw=andrews,nodf,deriv=aa) i c y y(-1) k(-1) @ c p(-1) k(-1) x(-1) tm wg g t
freeze(tb020) eq02.output
c = 1
eq02.gmm(method=cue,instwgt=hac,instlag=1,instkern=thann,instbw=andrews,nodf,deriv=aa) i c y y(-1) k(-1) @ c p(-1) k(-1) x(-1) tm wg g t
freeze(tb021) eq02.output
