Announcement

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

  • rddensity: 3499 error

    Hello,

    I'm trying to perform a manipulation test using the rddensity command.

    The following packages are already installed:
    rdmulti
    nprobust
    binsreg
    rdrobust
    rdpower
    st0522
    st0453

    Yet when I type:

    rddensity running_var, c(#)

    I get the following message:

    <istmt> 3499 rddensity_h() not found

    I'm somewhat at a loss as to what to do to fix my problem.

    Many thanks for any help!

  • #2
    How did you install rddensity? It appears that you have the latest version of rddensity.ado but not the other files that need to be installed with it. It seems possible to me that you first installed the Stata Journal version (st0522) and then replaced rddensity.ado with a later version, without installing the other files included in and needed by the later version. Or did you copy the later version into another directory in your STATA path?

    The latest version of rddensity can be found by running
    Code:
    net describe rddensity, from(https://raw.githubusercontent.com/rdpackages/rddensity/master/stata)
    I suggest you
    Code:
    ado uninstall st0522
    net install rddensity, from(https://raw.githubusercontent.com/rdpackages/rddensity/master/stata)
    which should (I hope) delete the traces of st0522 and then install the latest version. But if you had manually copied rddensity somewhere, be sure to look there and confirm that it is gone.

    If you have problems, copy the commands you ran and their output from Stata's Results window and paste them into a reply between code delimiters [CODE] and [/CODE] and perhaps someone can infer from that what else needs to be done to get a working version of rddensity installed.

    Comment


    • #3
      Thanks...I was running into the same problem and this worked out for me. Any way of making sure the updated version can be linked to the findit file?

      Comment


      • #4
        Hallo
        Pardon,
        I am doing research using the RDD method but when using the rddensity comment the answer in stata : should be set within the range of age_at_law. What should i do?

        Comment

        Working...
        X