Announcement

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

  • Difficulty installing mcartest (st0318)

    Hello Statalist,

    I am having difficulty installing the user-written command
    Code:
    mcartest
    , which performs Little's test for data missing completely at random (Cheng Li, The Stata Journal (2013) 13, Number 4, pp. 795–809).

    I am using Stata/MP 15 on Windows 10.

    First, I tried to install it from the SSC archive, but it was not found:

    Code:
    ssc install mcartest
    ssc install: "mcartest" not found at SSC, type search mcartest
    (To find all packages at SSC that start with m, type ssc describe m)
    r(601);
    I also tried
    Code:
    net install
    , which could not find the package file:

    Code:
    net install mcartest
    file http://fmwww.bc.edu/repec/bocode/m/mcartest.pkg not found
    could not load mcartest.pkg from http://fmwww.bc.edu/repec/bocode/m/
    r(601);
    Next, I used
    Code:
    search mcartest
    , which correctly identified the package in the Stata Journal (st0318):

    Code:
    search mcartest
    Code:
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    search for mcartest                                                                                                                                                     (manual:  [R] search)
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    
    Search of official help files, FAQs, Examples, SJs, and STBs
    
    SJ-13-4 st0318  . . . . . . . .  Little's test of missing completely at random
            (help mcartest if installed)  . . . . . . . . . . . . . . . . .  C. Li
            Q4/13   SJ 13(4):795--809
            implements Little's missing-completely-at-random test and its
            extension for testing the covariate-dependent missingness
    
    Web resources from Stata and other users
    
    (contacting http://www.stata.com)
    
    1 package found (Stata Journal listed first)
    --------------------------------------------
    
    st0318 from http://www.stata-journal.com/software/sj13-4
        SJ13-4 st0318. Little's chi-squared test for... / Little's chi-squared
        test for MCAR or CDM / by Cheng Li, Northwestern University / Support:
        [email protected] / After installation, type help mcartest
    
    (click here to return to the previous screen)
    
    (end of search)
    However, when I click the link
    Code:
    st0318 from http://www.stata-journal.com/software/sj13-4
    in the Viewer to install the package, I receive a connection timeout error:

    Code:
    connection timed out -- see help r(2) for troubleshooting
    http://www.stata-journal.com/software/sj13-4/ 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).
    
    current site is still http://www.stata.com/
    
    r(2);
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    (click here to return to the previous screen)
    It seems the URL that Stata is trying to access is no longer active. I am not aware of any other way to install this package.

    Could anyone advise on what I might be doing wrong or suggest an alternative way to install
    Code:
    mcartest
    ?

    Thank you, Lucas Akio.

  • #2
    Sounds like a SSC problem, maybe KitBaum can check the servers.
    Best wishes

    Stata 18.0 MP | ORCID | Google Scholar

    Comment


    • #3
      I don't think this program is on SSC, it's on Stata Journal. When I went to the st0318 from http://www.stata-journal.com/software/sj13-4 link just now, it worked just fine and installed it. You may have just encountered a temporary interruption of service at the Stata Journal server. I'd say try again. If you still encounter problems, then you might want to contact Stata Technical Support.

      Comment


      • #4
        Felix Bittmann and Clyde Schechter

        Thank you very much for the comments and help! And I'm really sorry for the late reply!
        I've managed to contact Cheng Li, and he provided me the ADO files for the mcartest command. So I succeeded in installing the command directly with the ADO files.

        Best wishes,
        ​​​​​​​Lucas Akio.

        Comment

        Working...
        X