Say I want to make a latex table of T-stats and their associated SEs, where say the column title is what the "by" is and the row is the coefficient for the variable and SE.
I know I could simply extract the e(b) vector and combine them into one matrix/table, but I'm unsure of how I'd incorporate the SEs into it.
Note that I'm a dinosaur, I'm still using 17, so I wonder if there's some nice way in collect to do this
Code:
sysuse auto, clear cls g twoton = cond(weight>4000,1,0) estpost ttest price mpg, by(foreign) estpost ttest price mpg, by(twoton)
Note that I'm a dinosaur, I'm still using 17, so I wonder if there's some nice way in collect to do this
Comment