Announcement

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

  • How can I install meta analysis package in my stata 17?

    Dear, professor,
    I want to install a meta-analysis package on my Stata 17. It shows like that.
    Running C:\Program Files\Stata17\ado\base\profile.do ...
    > is not a valid command name
    r(199);


    . ssc install meta dialog.pkg
    checking meta dialog consistency and verifying that it is not already installed...

    The following files already exist and are different:
    C:\Users\hanbe\ado\plus\m\meta_dialog.hlp
    C:\Users\hanbe\ado\plus\m\meta.dlg
    C:\Users\hanbe\ado\plus\m\metabias.dog
    C:\Users\hanbe\ado\plus\m\metan.dlg
    C:\Users\hanbe\ado\plus\m\metatrim.dlg

    no files installed or copied
    (no action taken)
    r(602);

    . run ado/profile.do
    file ado/profile.do not found
    r(601);

    . run ado/profile.do
    > is not a valid command name
    r(199);
    there is something wrong. What can I do about it?
    Thank you

  • #2
    profile.do does not exist by default. You need to create it. See the help.

    It looks as if a previous version of meta exists. You can use adoupate to update it (see the help) or the force option to ssc install. See also, help for the which command.

    Comment


    • #3
      That is very helpful. Thank you.

      Comment


      • #4
        Very usefull!
        Last edited by Maria Pueyo; 15 Aug 2023, 04:00.

        Comment


        • #5
          Hi,

          I am interested in using the command meta to run all the steps of this link (https://www.stata.com/features/overview/meta-analysis/). However, I am not able to install it. I cant find it! My version of STATA is 15.1

          Any help please
          Thank you!!!

          Comment


          • #6
            #5 What StataCorp have added since Stata15.1 can only be accessed by upgrading to a later version. I think that now means that you must upgrade to Stata 18. You should be able to access

            https://www.stata.com/help.cgi?whatsnew15to16

            and equivalent files 16to17 and 17to18

            which summarize what's been added in Stata 16, 17, 18.

            Comment


            • #7
              Hi, I cannot update the version of Stata of my laptop. So I am going to try to conduct a meta-analysis in the laptop of my work. The version I have installed is STATA 12.1. How can I install meta esize command, etc. ?
              Thank you

              Comment


              • #8
                Hi Maria Pueyo ,
                If you have Stata 12.1 then you cannot access the built-in commands described on the page https://www.stata.com/features/overview/meta-analysis/
                However, all the results can be replicated with user-written commands, downloadable from the SSC archive; see help ssc.

                For example, the summary of results of the Raudenbush dataset may be replicated as follows using metan:
                Code:
                . webuse pupiliq
                . describe studylbl stdmdiff se week1
                . metan stdmdiff se, label(namevar=studylbl) effect(Std. Mean Diff.) model(reml) hetinfo(tausq Isq H Q p)
                The meta-regression example may be replicated using metareg:
                Code:
                . webuse pupiliq
                . metareg stdmdiff weeks, wsse(se) z
                ...and the funnel plot and Egger tests may be replicated using metafunnel and metabias:
                Code:
                . webuse pupiliq
                . metafunnel stdmdiff se
                . metabias stdmdiff se, egger
                You will of course need to read the documentation for each of the commands, and understand that the syntax (and default settings) may differ from the Stata 16+ built-in commands.

                Comment


                • #9
                  Thank you

                  Comment

                  Working...
                  X