Announcement

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

  • Query Regarding - Error (RDD - Regression Discontinuity Design - bwselect(mserd))

    Hi, all Respected Researchers:

    I am running the following command to find the optimal bandwidths under RDD - Regression Discontinuity Design:

    rdbwselect LL_ADAC1 PRless2_1, kernel(uniform) c(0) p(1) bwselect(mserd)

    after running this command get this error in STATA:

    bwselect() incorrectly specified
    r(7);


    Please tells the solution of this error, while I think I run the command in correct way.

    Thanks in Advance...

  • #2
    Hey Ammar,

    please provide us with a sample of your data such that we can reproduce the error. Use the command dataex (SSC) to provide the data sample.

    Is your version of rdbwselect up to date? I think there were some changes in the user-writtend command rdrobust a while ago.

    Best,
    Sebastian

    Comment


    • #3
      Hi Dear Sebastian Schirner
      I have panel data, which has "absolute value of Discretionary Accruals (ADAC) is dependent variable, while price ratio (PR) is independent variable (which has a continuous cutoff if value is greater than 1 then firms lies in treatment group or if PR is less than 1 then firms are lies under control group).
      I have STATA 17 version, all other commands are running but when I want to find MSERD bandwidths using this command:

      rdbwselect ADAC PR-1, kernel(uniform) c(0) p(1) bwselect(mserd)

      after running this above command get this error in STATA:

      bwselect() incorrectly specified
      r(7);


      I am worried this were happen, If I remove the "bwselect(mserd)" then shows the optimal bandwidths but based on other method not on "mserd", but I want based on "mserd" approach.


      Thanks

      Comment


      • #4
        Hey Ammar,

        again, I cannot say much without actual data. The helpfile of rdbwselect says that bwselect(mserd) is actually the default. If that is what you need you should be fine.

        Best,
        Sebastian

        Comment


        • #5
          I'm using command rdbwselect, the default output was mserd.

          Just for make sure, you can check your package with command ado dir.

          [1] package rdrobust from http://fmwww.bc.edu/repec/bocode/r
          'RDROBUST': module to provide robust data-driven inference in the regression-discontinuity design


          I'm using ssc install rdrobust

          Comment

          Working...
          X