You can store estimates on disk with the estimates save
command:
sysuse auto, clear
quietly regress price mpg
estimates save foo1
quietly regress price trunk
estimates save foo2
quietly regress price weight
estimates save foo3
The above code snippet creates 3
files in your current working directory containing the estimates:
foo1.ster
foo2.ster
foo3.ster
You can then reload these and use them with esttab
non-interactively and in any way you like with the estimates use
command:
estimates use foo2
esttab .
----------------------------
(1)
price
----------------------------
trunk 216.7**
(2.81)
_cons 3183.5**
(2.87)
----------------------------
N 74
----------------------------
t statistics in parentheses
* p<0.05, ** p<0.01, *** p<0.001
estimates use foo1
esttab .
----------------------------
(1)
price
----------------------------
mpg -238.9***
(-4.50)
_cons 11253.1***
(9.61)
----------------------------
N 74
----------------------------
t statistics in parentheses
* p<0.05, ** p<0.01, *** p<0.001
estimates use foo3
esttab .
----------------------------
(1)
price
----------------------------
weight 2.044***
(5.42)
_cons -6.707
(-0.01)
----------------------------
N 74
----------------------------
t statistics in parentheses
* p<0.05, ** p<0.01, *** p<0.001