Announcement

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

  • How to show covariate coefficient estimates in rdrobust?

    I am running a RD design using rdrobust (https://rdpackages.github.io/rdrobust/). The package allows the inclusion of covariates but the output does not show the coefficients for these covariates. How can I show the coefficients?

    A test data set can be obtained here

    Regression table appears with the following command:
    Code:
    rdrobust vote margin, p(1) kernel(triangular) h(100) covs(class)
    The covariate included is the variable class. But, the output does not show the coefficient estimate for class. How can I get its coefficient?






  • #2
    one option is to use regress,
    Code:
    rdrobust vote margin, p(1) kernel(uniform) h(100) covs(class)
    
    gen d = margin > 0
    reg vote 1.d##c.margin class

    Comment


    • #3
      Thanks! But I forgot to mention that I would also like the standard error adjustments that comes with rdrobust. After digging a bit more, it seems there is no option to see the coefficient estimate/t statistics for covariates for rdrobust. Is there some way to edit the .ado file to fix this?

      Comment


      • #4
        Originally posted by Øyvind Snilsberg View Post
        one option is to use regress,
        Code:
        rdrobust vote margin, p(1) kernel(uniform) h(100) covs(class)
        
        gen d = margin > 0
        reg vote 1.d##c.margin class
        How if rdrobust with p(3)?

        Comment


        • #5
          Originally posted by Chris Sean View Post
          Thanks! But I forgot to mention that I would also like the standard error adjustments that comes with rdrobust. After digging a bit more, it seems there is no option to see the coefficient estimate/t statistics for covariates for rdrobust. Is there some way to edit the .ado file to fix this?
          Have you found the answer? I have the same issues.

          Comment

          Working...
          X