Announcement

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

  • pvar for stata 16 and 17

    Hello, i downloaded the pvar package from abrigo 2016, but when i was trying to use the command pvar or another command i have problems with the command lags or instlags, because come up "command lags/instlags is unrecognized" Someone know how to fix this problem.

  • #2
    present your code

    Comment


    • #3
      pvar r_embi lnrealsp_d lny_d lni_d lnc_d nxgdp lnrer_d lnpk_d, instl(1/4)
      and then I have, command instl is unrecognized

      Comment


      • #4
        You have split the command up over 2 lines. Put all of that code onto a single line and try it again. Stata sees each line as a new command (by default).

        Comment


        • #5
          Thanks Leonardo, but the command is wrote in one line. My friend has wrote the same command in stata 15 and he does not problem.

          Comment


          • #6
            Originally posted by Jose Pantoja View Post
            Thanks Leonardo, but the command is wrote in one line. My friend has wrote the same command in stata 15 and he does not problem.
            It cannot be written in one line to receive that error. I just tried installing -st0455- (StataJournal which contains -pvar-) and ran one of the provided examples and it works.

            Comment


            • #7
              Thank you Leonardo, it works very well.

              Comment

              Working...
              X