Я хотел бы создать следующую таблицу с помощью команды от сообщества esttab
:
------------------------------------------------------------
(1) (2) (3)
------------------------------------------------------------
rep78 2.384*** 1.347* 1.149*
(3.60) (2.02) (2.26)
Other Cont~s None gear_ratio size
Foreign Co~s No Yes Yes
------------------------------------------------------------
N 69 69 69
------------------------------------------------------------
Самое близкое, что я мог найти, это следующее:
------------------------------------------------------------
(1) (2) (3)
------------------------------------------------------------
rep78 2.384*** 1.347* 1.149*
(3.60) (2.02) (2.26)
Foreign Co~s No Yes Yes
------------------------------------------------------------
Other Cont~s None gear_ratio size
N 69 69 69
------------------------------------------------------------
Код, который доставляет меня туда, находится ниже:
sysuse auto, clear
eststo clear
eststo: reg mpg rep78
estadd local other_control "None"
eststo: reg mpg foreign rep78 gear_ratio
estadd local other_control "gear_ratio"
eststo: reg mpg foreign rep78 weight length
estadd local other_control "size"
esttab, obslast nomtitles nomtitles nodepvars eqlabels(none) keep(rep78) ///
scalars("other_control Other Controls") indicate("Foreign Controls = foreign")
Любая помощь будет оценена.