Announcement

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

  • ivreg2 - Stata 18

    Hello,
    I just started using Stata 18, but it is telling me that it does not know ivreg2. Is this possible?

    I got the following error:
    Code:
    command ivreg2 is unrecognized
    r(199);
    Edit: the same model is estimated with no problems in Stata 14.
    Best
    Last edited by Marry Lee; 06 Oct 2023, 03:21.

  • #2
    ivreg2 is community-contributed.

    Code:
    ssc install ivreg2, replace

    Comment


    • #3
      Andrew Musau I totally forgot that! Thanks a lot.

      Comment


      • #4
        Andrew Musau, in fact, it still does not work. I have the following error:
        Code:
        Error: must have ranktest version 01.3.02 or greater installed
        To install, from within Stata type r(601);

        Comment


        • #5
          Code:
          ssc install ranktest, replace
          Use the search command to look for where to install community-contributed commands, e.g.,

          Code:
          search ranktest

          Comment


          • #6
            Andrew Musau Great! that solves the problem. Many thanks.

            Comment

            Working...
            X