Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Balance Table with Multiple Treatments

    I want to create a balance table with control and 3 treatments, with around 8 variables. I want to show the means for the total data, control, and treatment arms as columns, and have the standard errors of these means in parentheses below the means. This much I was able to do using eststo and esttab.

    In addition to this, I also want a column at the end of the table showing the F-test statistic and p-values of the difference in means for each variable. So I would have the F-statistic and then the p-value in parentheses below.

    If it were just treatment and control, I could run a simple ttest, and store those estimates and add that to the table.
    However, since I am doing a F-test, I did not find a estpost option to do it. It looks like some other way will have to be used.

    Using the command test I can compute all the F-statistics and p-values that I need, and store them in a matrix. But I do not know how to add that to my table using estadd, since it needs to be a column and not a row.
    Last edited by Aayushma Manandhar; 21 Jun 2023, 23:43.
Working...
X