Code:
eststo clear sysuse auto, clear eststo f1: reg price mpg if foreign==1 eststo f0: reg price mpg if foreign==0 suest f1 f0 test [f1_mean]mpg=[f0_mean]mpg estadd scalar r(p) esttab, stats(p_diff)
(Stata MP 14.2. The commands are SSC installed.)
Code:
. which estadd /Users/SSB/Library/Application Support/Stata/ado/plus/e/estadd.ado *! version 2.3.5 05feb2016 Ben Jann . which estout /Users/SSB/Library/Application Support/Stata/ado/plus/e/estout.ado *! version 3.21 19aug2016 Ben Jann . which esttab /Users/SSB/Library/Application Support/Stata/ado/plus/e/esttab.ado *! version 2.0.9 06feb2016 Ben Jann *! wrapper for estout
Code:
. ssc install estout, replace checking estout consistency and verifying not already installed... the following files will be replaced: /Users/SSB/Library/Application Support/Stata/ado/plus/e/estadd.ado /Users/SSB/Library/Application Support/Stata/ado/plus/e/estadd.hlp /Users/SSB/Library/Application Support/Stata/ado/plus/e/estout.ado /Users/SSB/Library/Application Support/Stata/ado/plus/e/estout.hlp /Users/SSB/Library/Application Support/Stata/ado/plus/e/eststo.hlp /Users/SSB/Library/Application Support/Stata/ado/plus/e/estpost.ado /Users/SSB/Library/Application Support/Stata/ado/plus/e/estpost.hlp /Users/SSB/Library/Application Support/Stata/ado/plus/e/esttab.ado /Users/SSB/Library/Application Support/Stata/ado/plus/e/esttab.hlp installing into /Users/SSB/Library/Application Support/Stata/ado/plus/... installation complete.
Thanks,
Saika
0 Response to estadd scalar not appearing in output table
Post a Comment