Hi,
eststo clear
eststo xtreg y x z if h=0
eststo xtreg y x z if h=1
estadd ?
esttab using "${OUTPATH}emp_industry" ///
nomtitles booktabs replace ///
indicate("Controls = z" "Province FE = _cons" "Industry FE = *.industry" "Industry-year trend = *.industry#c.year" "Province-year trend = *.prov#c.year" "Year FE = *.year", labels("\checkmark" "")) ///
stats(N ?, labels("Obs. #" "$\R^2$")) ///
label nobaselevels interaction("\$\times\$") substitute("=1" "") nonotes se star(* 0.10 ** 0.05 *** 0.01)
The two question marks are the two places that I cannot work out correctly.
Thank you very much!
Related Posts with How to make the following code using esttab and estadd work?
Interaction effects and few cases at the ends of a distribution.Dear all, I am estimating a linear regression with an interaction effect between a continuous and a…
How to compute difference in years between daily dates?I have daily stock data, inputted and formatted properly for stata. I wish to calculate the return o…
keeping only some values from string variablesHi, I have a set of 24 variables reporting information for some treatments for a sample of patients.…
Difference-in-differences WITHOUT matched sampleHello helpful list, I have a sample of companies where each company was treated in a single year so…
Summation by month + yearHi, I have converted a string variable called last_activity containing dates into a date formatted …
Subscribe to:
Post Comments (Atom)
0 Response to How to make the following code using esttab and estadd work?
Post a Comment