Announcement

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

  • Outreg2 with rdrobust

    Hi everyone,

    I am using the following code to run a list of rdrobust commands:

    Code:
    local variables post_ui_wage wage_diff ue_dau_TM Y1 Y3 Y6 Y12 Y15 Y18 Y22 Y1L Y3L Y6L Y12L Y15L Y18L Y22L Y1N Y3N Y6N Y12N Y15N Y18N Y22N
    local bandwidths 10 12
    
    foreach b of local bandwidths {
        foreach v of local variables {
            rdrobust `v' X42, kernel(triangular) vce(cluster X42) h(`b' `b')
        }
    }
    I need to use outreg2 so that I can visualize my output in the following form:
    A table with 3 columns. Column 1 is called outcomes and its rows list all the outcome variables I have in my local called "variables". Columns 2 and 3 are called 10 months and 12 months respectively, and their rows contain the RD Estimates (with the stars and the SEs in parenthesis below the estimates) for each outcome in the 10- and 12-month bandwidths respectively. So it would look something like this:
    Outcomes 10 months 12 months
    post_ui_wage 0.76***
    (0.02)
    0.77***
    (0.03
    wage_diff ... ...
    ... ... ...
    and so on.

    This may seem like a trivial question, but I could not use the outreg2 package properly to be able to create such a table. Any help is much appreciated.

    Thanks a lot!
Working...
X