I have data which resembles the following:
Code:
clear input float(year y x lagx lag2x lag3x) 1999 2 1 . . . 2000 3 2 1 . . 2001 2 1 2 1 . 2002 3 3 1 2 1 2003 3 2 3 1 2 2004 2 43 2 3 1 2005 1 1 43 2 3 end
Code:
eststo: reg y x lagx eststo: reg y x lagx lag2x esttab using "table1.tex", scalar(F) varwidth(25) keep(x lagx lag2x) star(* 0.10 ** 0.05 *** 0.01) p label replace
Code:
lincomest x+lagx lincomest x+lagx+lag2x
Comment