I'm trying to export regression output using esttab for a paper in which I would like a table showing just the interaction terms from a given regression on a survey experiment, where the interaction term is an interaction between respondent-level traits and treatment conditions. In order to save space, I'd like to structure the table such that treatment conditions show up as columns while respondent level traits show up as rows. So, for example, where treatment conditions are Treatment 1, Treatment 2, Treatment 3 & Treatment 4 and respondent level traits are age cohorts, it would look as follows:
For context, I'd like it to look something like this:
What's listed here as 18-30xTreatment2 or 80+xTreatment1 etc would be the interaction term coefficient with the standard error in parantheses.
Is there a way to do this with esttab or another mechanism to extract this data from Stata, short of manually copying it out?
For context, I'd like it to look something like this:
Treatment 1 | Treatment 2 | Treatment 3 | Treatment 4 | |
18-30 | 18-30xTreatment1 | 18-30xTreatment2 | 18-30xTreatment3 | 18-30xTreatment4 |
31-50 | 31-50xTreatment1 | 31-50xTreatment2 | 31-50xTreatment3 | 31-50xTreatment4 |
51-64 | 51-64xTreatment1 | 51-64xTreatment2 | 51-64xTreatment3 | 51-64xTreatment4 |
65-80 | 65-80xTreatment1 | 65-80xTreatment2 | 65-80xTreatment3 | 65-80xTreatment4 |
80+ | 80+xTreatment1 | 80+xTreatment2 | 80+xTreatment3 | 80+xTreatment4 |
Is there a way to do this with esttab or another mechanism to extract this data from Stata, short of manually copying it out?
Comment