Announcement

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

  • Prgen STATA 14 _pecmdcheck is unrecognized

    Dear STATA list servers,

    After updating to STATA 14 the prgen and prvalue functions are no longer working. After running a model and using the code I am given an error message which says "command _pecmdcheck is unrecognized." I have uninstalled and re-installed the package. I know that the code works because I had used it before with no problems. When looking at the spost9 package I see a _pecmdcheck ado file which is not present in spost13. If this is the problem I am unsure of how to solve it. Any help is much appreciated.

    Sincerely,
    Brendan Skip Mark

  • #2
    Hello Brendan,

    Welcome to the Stata Forum.

    I wonder if you have tested whether this command solves the problem:

    Code:
    . adoupdate, update all
    Please prefer to write "Stata", as recommended in the FAQ.

    Best,

    Marcos
    Best regards,

    Marcos

    Comment


    • #3
      Dear Marcos,

      Thank you for the timely reply. I tried the update code you suggested and STATA says the package is up to date. The problem persists. Will post to Stata in the future. Thank you.

      Best,
      Brendan
      Last edited by Brendan Mark; 03 Mar 2016, 11:56.

      Comment


      • #4
        If I understand correctly, you moved from spost9 to spost13.
        Code:
        net describe spost9_ado, from(http://www.indiana.edu/~jslsoc/stata)
        net describe spost13_ado, from(http://www.indiana.edu/~jslsoc/stata)
        Did you read this:

        The postestimation commands in SPost13 are named mtable, mchange, mgen, and mlincom. They are much more powerful than the prvalue, prtab, prgen, prchange, and praccum commands in SPost9. To install the spost13_ado package, you must uninstall the spost9_ado packages (run: ado uninstall spost9_ado). The spost9_legacy package (run: search spost9_legacy) installs versions of the pr* commands that are compatable with SPost13. If you are trying to reproduce earlier work that used SPost9, however, the safest thing is to uninstall spost13_ado and spost9_legacy, and install spost9_ado.
        Source: http://www.indiana.edu/~jslsoc/web_s..._faqspost9.htm

        Comment


        • #5
          Here is Scott Long's advice:

          http://www.indiana.edu/~jslsoc/web_s..._faqspost9.htm

          Personally, though, I would recommend switching to the new spost13 commands. They are much better than spost9. For Long & Freese's book, see

          http://www.stata.com/bookstore/regre...ent-variables/
          -------------------------------------------
          Richard Williams, Notre Dame Dept of Sociology
          StataNow Version: 19.5 MP (2 processor)

          EMAIL: [email protected]
          WWW: https://academicweb.nd.edu/~rwilliam/

          Comment


          • #6
            Thank you. This has been driving me crazy. I will switch over to the spost13 commands. It appears that the spost9 commands no longer work in Stata 14. However, the spost13 commands do still work. Thank you for the help Friedrich and Richard.

            Comment


            • #7
              While trying to generate a graph for predicted probabilities, stata (18.0) says the pgen command is not recognized. As a beginner, I do not really know what the problem is...is there anything I need to do? Thanks.

              Comment


              • #8
                Welcome to Statalist. You may need more background first, but these handouts show some of the things you can do with regards to graphing probabilities.

                https://www3.nd.edu/~rwilliam/xsoc73994/Margins03.pdf

                https://www3.nd.edu/~rwilliam/xsoc73994/Margins04.pdf
                -------------------------------------------
                Richard Williams, Notre Dame Dept of Sociology
                StataNow Version: 19.5 MP (2 processor)

                EMAIL: [email protected]
                WWW: https://academicweb.nd.edu/~rwilliam/

                Comment

                Working...
                X