Dear Statalisters,
I am trying to add some postestimation results from lincom to a regression table using esttab (from SJ). For this I use lincomest (from SSC) which stores the estimation results. What I would want is to have the lincomest results below the coefficients of the regression. I have tried using estadd but haven't managed to get it to work so far. Is this possible? I'm trying to avoid using scalars because then it is impossible to add significance stars.
I am trying to add some postestimation results from lincom to a regression table using esttab (from SJ). For this I use lincomest (from SSC) which stores the estimation results. What I would want is to have the lincomest results below the coefficients of the regression. I have tried using estadd but haven't managed to get it to work so far. Is this possible? I'm trying to avoid using scalars because then it is impossible to add significance stars.
Code:
sysuse auto, clear eststo: reg price c.mpg##foreign eststo: lincomest _b[mpg] + _b[1.foreign#c.mpg] esttab, nogaps nobase cells(b(fmt(3)) se(fmt(3))) -------------------------------------- (1) (2) price price b/se b/se -------------------------------------- mpg -329.255 74.985 1.foreign -13.587 2634.664 1.foreign#~g 78.888 112.481 (1) -250.367 83.840 _cons 12600.538 1527.888 -------------------------------------- N 74 74 --------------------------------------
Comment