Announcement

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

  • command esttab is unrecognized but estout already installed

    Hello!

    I have a problem using -esttab-. Here is the code I try to run:
    Code:
    logout, save(H1) word replace fix(1): ///
    esttab model_1 , ///
     mtitle(Main) ///
    b(%6.3f) t(%6.2f) ///
    star(* 0.1 ** 0.05 *** 0.01) ///
    scalar(r2 r2_a N F) compress nogap
    and stata gives me:
    Code:
    command esttab is unrecognized
    because -esttab- is part of the -estout- used package, I type:
    Code:
    ssc install estout
    but stata says:
    Code:
    checking estout consistency and verifying not already installed...
    file C:\Users\zhx\AppData\Local\Temp\ST_a7c_000002.tmp already exists
    could not copy http://fmwww.bc.edu/repec/bocode/_/_eststo.ado
    (no action taken)
    r(602);
    which means I already have -estout-, but I couldn't run the code as stata keep saying command -esttab- is unrecognized. I have used -esttab- before with no problem on my old laptop, so I don't know what's going on here when I change to another laptop. Any help is appreciated!

  • #2
    Code:
    ssc install estout, replace

    Comment


    • #3
      Hi Andrew,

      I tried but still get an error.

      Code:
      . ssc install estout, replace
      checking estout consistency and verifying not already installed...
      file C:\Users\zhx\AppData\Local\Temp\ST_a7c_000002.tmp already exists
      could not copy http://fmwww.bc.edu/repec/bocode/_/_eststo.ado
      (no action taken)
      r(602);
      I also tried to find the file and maybe delete it, but I can't find the file at the location specified.

      Comment


      • #4
        file C:\Users\zhx\AppData\Local\Temp\ST_a7c_000002.tmp already exists
        The Stata folder should be somewhere in your program files, maybe your installation is not proper. To force uninstall a program, type

        Code:
        ado
        and search for it. If it is no. 11, you type

        Code:
         ado uninstall [11]
        then reinstall it. However, first make sure that everything is as it should be with your installation of Stata.

        Comment


        • #5
          This is even more strange... ado doesn't show I installed estout.

          Code:
          . ado
          
          [1] package egenmore from http://fmwww.bc.edu/repec/bocode/e
                'EGENMORE': modules to extend the generate function
          
          [2] package vlookup from http://www.stata.com/users/kcrow
                vlookup. Indexing command.
          
          [3] package rangestat from http://fmwww.bc.edu/repec/bocode/r
                'RANGESTAT': module to generate statistics using observations within range
          
          [4] package randomtag from http://fmwww.bc.edu/repec/bocode/r
                'RANDOMTAG': module to draw observations without replacement
          
          [5] package missing from http://fmwww.bc.edu/repec/bocode/m
                'MISSING': module to replace missing values
          
          [6] package missings from http://fmwww.bc.edu/repec/bocode/m
                'MISSINGS': module to manage missing values
          
          [7] package winsor2 from http://fmwww.bc.edu/repec/bocode/w
                'WINSOR2': module to winsorize data
          
          [8] package logout from http://fmwww.bc.edu/repec/bocode/l
                'LOGOUT': module to convert log or ASCII files into various output formats
          
          .

          Thanks for your advice. I guess I probably need to uninstall stata and reinstall it. Will uninstall stata wipe out all the packages I installed?

          Comment


          • #6
            Check the following out and see if it helps.

            https://kb.iu.edu/d/arur

            Comment


            • #7
              Thanks! It works, but how to make this change permanently? If I open stata again it will back to what it is before and still install ado at default C disk :/

              Comment


              • #8
                Specify the -permanently- option, i.e.,

                Code:
                -command- , permanently

                Comment


                • #9
                  Finally it works! Thanks Andrew!!

                  Comment


                  • #10
                    Originally posted by Andrew Musau View Post
                    Specify the -permanently- option, i.e.,

                    Code:
                    -command- , permanently
                    Thank you very much

                    Comment

                    Working...
                    X