Announcement

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

  • Global Search Regression "__000006 not found"

    Dear statalisters,

    I'm usinsg Stata 14, and trying to use the command gsreg to select the variables for my model.

    May-data includes observations for 56 political parties across 40 years and 10 countries, so I want to run the model as a linear regression with country fixed effects and standard errors clustered by country-year.

    Thus, i use the following gsreg command:


    Code:
     gsreg VD VI1 VI2 VI3 VI4 VI5 , sames cmdest(reghdfe) cmdoptions(absorb (country_id) vce (cluster country_id#year)) replace
    To my surprise, when I try to run the program stata issues the error message: __000006 not found

    A quick google search of the error message told me that "__000006" should be a temporary variable, and that the problem is probably on the user-writen comand. But I've never had similar problems with gsreg before.

    Does anybody know how could I adress this problem.

    Thankyou very much for your time and help.

    Kind regards,

    Matteo Giuliani Pedraza

  • #2
    Just after I posted this I thought off the possibility of re-installing the prgoram. Don't know why i didn't thought of it before.

    Code:
    ssc install gsreg, replace
    I don't know why it wasn't working before,, but it is working now.

    I won't delete the post just in case my case can be of help for anybody.

    Comment


    • #3
      Thanks for posting a solution, but for future reference note that you can't delete the thread, or any post in it, as is explained in the FAQ Advice. https://www.statalist.org/forums/help#closure

      The spirit of Statalist is very much as you've posted: a thread might interest others, even if the solution turns out to be trivial, as someone else could have the same question.

      Comment


      • #4
        Hi,
        I wanted to test gsreg procedure, but ssc install gsreg returns the following:

        remote connection failed
        http://fmwww.bc.edu/repec/bocode/g/ either
        1) is not a valid URL, or
        2) could not be contacted, or
        3) is not a Stata download site (has no stata.toc file).
        r(677);
        I can find ado, pkg and sthlp files in the above location, but they are dated 2013 whereas evidently there is an update available
        https://journals.sagepub.com/doi/10....36867X20953579

        Do you have a clue where I can find the updated package?

        Comment


        • #5
          Code:
          search gsreg
          and follow the provided links, or try:
          Code:
          net install st0383_1.pkg, from(http://www.stata-journal.com/software/sj20-3)
          which installs the SJ20-3 update of this package.

          Comment


          • #6
            Thanks Joerg, it worked.

            Comment

            Working...
            X