Announcement

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

  • Stata command for multivariate outlier detection

    Hi,

    I need to run a multivariate outlier detection over 7-10 variables in my dataset. I have read in the Stata Journal that the user written commands mcd and bacon will both perform this task. However, I am having trouble accessing either command to install it. I am using Stata MP 12.1.

    Specifically, when I type findit bacon the resulting link to the package on the Stata Journal website returns a 'page not found' error. When I type findit mcd, none of the packages returned in the search are for the mcd command.

    Is there instead a newer command I should be searching for? If not, where can I obtain a copy of either of the commands mentioned?

    Thanks very much!

  • #2
    The page-not-found error message might have resulted from some kind of server maintenance or other down time, because it works for me (Stata MP 13.1) when I tried just now. Try copying and pasting the following two commands directly into your Stata command line, and see whether that gets you what you're looking for.

    For bacon
    Code:
    net describe st0197, from(http://www.stata-journal.com/software/sj10-3)
    For mcd
    Code:
    net describe st0173_1, from(http://www.stata-journal.com/software/sj10-2)

    Comment


    • #3
      Unfortunately neither of those suggested command lines worked for me. The error I am getting is as follows:

      server refused to send file
      http://www.stata-journal.com/software/sj10-2/ 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(672);


      I don't believe this is a problem with my ability to access the internet as I can successfully run other commands requiring the internet (such as update query and ssc install for other programs).

      Both of the web links return 'page not found' errors when I paste them into a browser. (Please note- the page not found error appears on a page that uses the Stata Journal banner and a box for searching the Stata Journal website).

      Comment


      • #4
        Rachel, the server responded correctly to my request.
        Check if you can see the package file directly:
        http://www.stata-journal.com/softwar...2/st0173_1.pkg

        And if so, download individual files manually.
        Best, Sergiy Radyakin

        Comment


        • #5
          Thanks for the responses so far. Unfortunately, still no success. Sergiy - from your link I can see a list of Stata files but they are all in plain text with no way for me to click on them or download them (see attached screenshot).
          Attached Files

          Comment


          • #6
            how about now?
            Code:
            http://www.stata-journal.com/software/sj10-2/st0173_1.pkg
            http://www.stata-journal.com/software/sj10-2/st0173_1/mmregress.ado
            http://www.stata-journal.com/software/sj10-2/st0173_1/mmregress.sthlp
            http://www.stata-journal.com/software/sj10-2/st0173_1/mregress.ado
            http://www.stata-journal.com/software/sj10-2/st0173_1/mregress.sthlp
            http://www.stata-journal.com/software/sj10-2/st0173_1/msregress.ado
            http://www.stata-journal.com/software/sj10-2/st0173_1/msregress.sthlp
            http://www.stata-journal.com/software/sj10-2/st0173_1/sregress.ado
            http://www.stata-journal.com/software/sj10-2/st0173_1/sregress.sthlp
            http://www.stata-journal.com/software/sj10-2/st0173_1/mcd.ado
            http://www.stata-journal.com/software/sj10-2/st0173_1/mcd.sthlp
            http://www.stata-journal.com/software/sj10-2/st0173_1/Figure1.do

            Comment


            • #7
              Thanks Sergiy, that did the trick. I have copied and pasted the code from those links into notepad and saved as .ado and .sthlp files. The command is running perfectly.
              Much appreciated!

              Comment

              Working...
              X