I attempt to replicate the example, accessible in "help tf" in the Stata menu. But i receive "invalid syntax error r(198)" and i am using Stata 15.1. Any help would be appreciated, thank you in advance.
Res.:
Code:
ssc install ranktest ssc install ivreg2 net install tf, force from(http://www.princeton.edu/~davidlee/wp/) use http://fmwww.bc.edu/ec-p/data/hayashi/griliches76.dta xi i.year tf lw s expr tenure rns smsa _I* (iq=med)
Code:
. use http://fmwww.bc.edu/ec-p/data/hayashi/griliches76.dta (Wages of Very Young Men, Zvi Griliches, J.Pol.Ec. 1976) . xi i.year i.year _Iyear_66-73 (naturally coded; _Iyear_66 omitted) . tf lw s expr tenure rns smsa _I* (iq=med) invalid syntax r(198);
Comment