Announcement

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

  • Khb: command unrecognized

    Dear all,

    I run into this strange message: I have to run a decomposition for a non-linear model, with the user-written command -khb-.
    After having checked the proper installation of it, when I run the syntax Stata says that the command is unrecognized.

    I do not really know what should I do to make it functioning, do you have any clue about it?

    Thanks a lot in advance, best, G.

  • #2
    Code:
    search khb
    throws up

    Code:
    SJ-13-1 st0236_2  . . . . . . . . . . . . . . . . . .  Software update for khb
            (help khb if installed) . . . .  U. Kohler, K. B. Karlson, and A. Holm
            Q1/13   SJ 13(1):220
            references in help file updated
    
    SJ-11-4 st0236_1  . . . Comparing coef. of nested nonlinear probability models
            (help khb if installed) . . . .  U. Kohler, K. B. Karlson, and A. Holm
            Q4/11   SJ 11(4):634
            bug fixed so that khb now works for Stata 11
    
    SJ-11-3 st0236  . . . . Comparing coef. of nested nonlinear probability models
            (help khb if installed) . . . .  U. Kohler, K. B. Karlson, and A. Holm
            Q3/11   SJ 11(3):420--438
            implements the Karlson, Holm, and Breen (KHB) method for
            comparing the estimated coefficients of two nested
            nonlinear probability models
    which means that you should type the same command and then click on st0236_2 in the window that opens to start installation. I have to guess that you did something different.

    CORRECTION:

    That's wrong. The SSC version is more recent, so

    Code:
    ssc install khb
    is what you should do. (Despite this often repeated advice, people still often do something odd like copy-and-paste using a browser to some arbitrary place.)
    Last edited by Nick Cox; 16 Oct 2019, 05:13.

    Comment


    • #3
      Hello. I get the same error message "command khb is unrecognized". I am running Stata 15.1.

      I have tried installing the command:

      ssc install khb

      and get the following:

      hecking khb consistency and verifying not already installed...
      installing into c:\ado\plus\...
      file c:\ado\plus\next.trk already exists
      r(602);


      When I try to run the khb command again, I still get: command khb is unrecognized

      I have also tried installing the command using: search kpb and selecting "st0236_2" and then click on "click here to install" and get the message:

      "file c:\ado\plus\next.trk already exists"

      Please help me figure out how to use the khb command. Thank you!

      Note: I've gotten this same message (unrecognized) for other commands that I have successfully used before and this is also confusing.
      Last edited by Lucy Almers; 04 Nov 2019, 15:50. Reason: added note

      Comment

      Working...
      X