Hello,
I am using lincom in StataSE 15 to compute standard errors, t-stat, p-values and confidence intervals for linear combinations of coefficients derived from regress. Rather than inputting the lincom command for each combination, I would like to run a single command for all the combinations of coefficients I want and output as one table, is this possible or do I have to use a different command.
Example,
regress deg4 age score exper female
lincom _b[_cons] + _b[age]
lincom _b[_cons] + _b[score]
lincom _b[_cons] + _b[exper]
lincom _b[_cons] + _b[female]
Thank you,
I am using lincom in StataSE 15 to compute standard errors, t-stat, p-values and confidence intervals for linear combinations of coefficients derived from regress. Rather than inputting the lincom command for each combination, I would like to run a single command for all the combinations of coefficients I want and output as one table, is this possible or do I have to use a different command.
Example,
regress deg4 age score exper female
lincom _b[_cons] + _b[age]
lincom _b[_cons] + _b[score]
lincom _b[_cons] + _b[exper]
lincom _b[_cons] + _b[female]
Deg4 | Coef. | Std. Err. | t | P>|t| | [95% Conf. Interval] | |
(1) | .2301388 | .0197375 | 11.66 | 0.000 | .1914445 | .2688331 |
(2) | ||||||
(3) | ||||||
(4) |