Announcement

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

  • reldist error: variable pdf not found

    Dear Stata Community,

    I am using reldist written by Ben Jann -- thank you Ben for the very large amount of work you put into this.

    Here is my question:

    I am using version 17.0

    I have made sure installed moremata and kdens are installed.

    I am attempting to replicate the first example in the reldist help file:

    . sysuse nlsw88, clear
    (NLSW, 1988 extract)

    . reldist pdf wage, by(union) adjust(shape scale) graph
    variable pdf not found
    r(111);

    I tried a similar example command (for a histogram) and the same error:

    . reldist histogram wage, by(union) graph
    variable histogram not found
    r(111);

    I am really stuck trying to figure out what to try next.

    Any suggestions welcome.

    Mark


  • #2
    Dear Stata Community,

    I am answering my own question. Many years ago I had written my own relative distribution ado-file, and had named that reldist.ado

    So when I thought I was trying to run Ben's reldist, I was actually trying to run my same-named ado-file, and that generated the error

    variable pdf not found
    r(111);

    Sorry about the needless post, but I'll take the opportunity to thank Ben once again for writing a very cool program.

    Mark

    Comment

    Working...
    X