Announcement

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

  • Problem using rdrobust and rdplots command in stata 14.1.

    Hi all,
    I am facing a problem using rdrobust and rdplots command in stata 14.1. please help me to resolve this issue. when I type the following code

    rrdplot vote margin, binselect(es) ci(95)
    the following error just popped in
    command rdplot is unrecognized
    however, I have checked thrice that rdrobust and all other rdpackages are already installed, I have tried everything to reinstall and replace the existing packages but it keep giving me the same message i.e.


    package name: st0366_1.pkg
    from: http://www.stata-journal.com/software/sj17-2/

    checking st0366_1 consistency and verifying not already installed...
    installing into c:\ado\plus\...
    file c:\ado\plus\next.trk already exists

    r(602);
    Pleae guide me how I can resolve this issue, as I need to run regression discontinuity design and plots on my datasets, and what could be the other possible ways
    an earlier response is highly appreciated

    thanks



  • #2
    It's hard to be confident exactly what you did here given a certain randomness in use of command names.

    The package named includes a rdplot command, so references to rdplots and rrdplot would predictably fail.

    It's best to copy and paste your exact code from a Command or Do-file Editor in Stata; otherwise the problem entails too much guesswork.

    Code:
    which rdplot
    would be a test of what Stata can see in respect of that command.

    Comment


    • #3
      Hi,
      Thank you, but I am still struggling with it, enclosed is my smcl file and do file, hope it helps you to understand the problem, as per my limited knowledge I found that I have an older version of rd command installed and tried all possible way to install the newer, but nothing works. Looking for your kind guidance please
      --------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name: <unnamed>
      log: C:\Users\sa16473\Downloads\rdproblem.smcl
      log type: smcl
      opened on: 23 Mar 2018, 01:08:38

      . which rd
      command rd not found as either built-in or ado-file
      r(111);

      . ssc describe rd

      --------------------------------------------------------------------------------------------------------------------------------------------------------------------
      package rd from http://fmwww.bc.edu/repec/bocode/r
      --------------------------------------------------------------------------------------------------------------------------------------------------------------------

      TITLE
      'RD': module for regression discontinuity estimation

      DESCRIPTION/AUTHOR(S)

      rd implements a set of regression-discontinuity estimation
      methods that are thought to have very good internal validity, for
      estimating the causal effect of one explanatory variable in
      the case where there is an observable jump (discontinuity) in
      the level of the explanatory variable. Local linear
      regression is used to construct point estimates. Graphics
      dictate Stata 8.2 or later. An older version of the software
      is also included as rd_obs.

      KW: regression discontinuity
      KW: internal validity
      KW: policy analysis

      Requires: Stata version 8.2

      Distribution-Date: 20160930

      Author: Austin Nichols, Urban Institute
      Support: email [email protected]


      INSTALLATION FILES (type net install rd)
      rd.ado
      rd.hlp
      rd_obs.ado
      rd_obs.hlp

      ANCILLARY FILES (type net get rd)
      ../v/votex.dta
      --------------------------------------------------------------------------------------------------------------------------------------------------------------------
      (type ssc install rd to install)

      . ssc install rd,replace
      checking rd consistency and verifying not already installed...
      installing into c:\ado\plus\...
      file c:\ado\plus\next.trk already exists
      r(602);

      . ssc inst rd, replace
      checking rd consistency and verifying not already installed...
      installing into c:\ado\plus\...
      file c:\ado\plus\next.trk already exists
      r(602);

      .
      . net get rd
      checking rd consistency and verifying not already installed...
      all files already exist and are up to date.

      .
      . use votex if i==1
      (102nd Congress)

      .
      . rd lne d, gr mbw(100)
      command rd is unrecognized
      r(199);

      .
      . rd lne d, gr mbw(100) line(`"xla(-.2 "Repub" 0 .3 "Democ", noticks)"')
      command rd is unrecognized
      r(199);

      .
      . rd lne d, gr ddens
      command rd is unrecognized
      r(199);

      .
      . bs: rd lne d, x(pop-vet)
      rd command not found
      r(111);

      .

      Comment


      • #4
        The rd package by Austin Nichols on SSC has nothing whatsoever to do with the rdrobust package by different authors from the Stata Journal.

        So far as I can see your next.trk file is messed up. I'd contact StataCorp Technical Services for advice on that if you don't get a better answer.

        Comment


        • #5
          I wasn't clear enough and even idiomatic English is perhaps not clear enough either . "I'd contact StataCorp" meant "I would contact StataCorp" which means "I would advise that you contact StataCorp".

          Apart from my other commitments, only you can answer questions about your computing and Stata set-up.

          Comment


          • #6
            oh, my bad! I missed that anyway thanks again

            Comment

            Working...
            X