Announcement

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

  • SSC Module Fails to Update with -adoupdate, update-

    Hi Statalist,

    I am experiencing a puzzling problem related to updating a module I authored on my own machines on my company's local network using SSC that I could not find having been discussed previously on StataList.

    I have recently updated the -domin- module on SSC. If you were to lookup the package using, for example, -findit- the SSC entry would look like:


    Code:
    package domin from http://fmwww.bc.edu/RePEc/bocode/d
    
    
    TITLE
          'DOMIN': module to conduct dominance analysis
    
    DESCRIPTION/AUTHOR(S)
          
           domin conducts dominance analysis (Budescu, 1993; Psychological
              Bulletin) which computes general, conditional statistics,
          as well as complete dominance designations for      user supplied
          regression model.  All dominance analysis  statistics are to
          evaluate a variable's relative importance in     reducing
          prediction error in the prediction of some (set of)
          dependent variable(s).  Includes 3 wrapper modules to conduct
           multivariate and linear mixed effect regression dominance
          analysis as well as to accommodate official and user-contributed
              postestimation commands that compute fit statistics.
          
          KW:  dominance
          KW: decomposition
          KW: relative importance
          KW: relative weights
          KW:  shapley values
          
          Requires: Stata version 12.1 and package moremata from SSC (q.v.)
          
          Distribution-Date: 20221104
          
          Author: Joseph N. Luchman, Fors Marsh Group LLC
          Support: email  [email protected]
          
    
    INSTALLATION FILES                                  (click here to install)
          domin.ado
          domin.sthlp
          ../f/fitdom.ado
          ../f/fitdom.sthlp
          ../m/mixdom.ado
          ../m/mixdom.sthlp
          ../m/mvdom.ado
          ../m/mvdom.sthlp
          ../l/lb_dominance.mlib
    Note the distribution date of last Friday.

    An instance of Stata 17 on our internal network has an old version of this module. To verify this is the case, I load the 'stata.trk' file and report the entry for -domin-.

    Code:
    . mata: trk = cat("...\ado\plus\stata.trk")
    
    . mata: trk[315..352,]
                                                                              1
         +-----------------------------------------------------------------------+
       1 |                                 S http://fmwww.bc.edu/repec/bocode/d  |
       2 |                                                          N domin.pkg  |
       3 |                                                        D 23 Feb 2022  |
       4 |                                                                 U 19  |
       5 |                      d 'DOMIN': module to conduct dominance analysis  |
       6 |                                                                   d   |
       7 |   d  domin conducts dominance analysis (Budescu, 1993; Psychological  |
       8 |      d     Bulletin) which computes general, conditional statistics,  |
       9 |  d as well as complete dominance designations for      user supplied  |
      10 |       d regression model.  All dominance analysis  statistics are to  |
      11 |          d evaluate a variable's relative importance in     reducing  |
      12 |                d prediction error in the prediction of some (set of)  |
      13 |      d dependent variable(s).  Includes 3 wrapper modules to conduct  |
      14 |         d  multivariate and linear mixed effect regression dominance  |
      15 |   d analysis as well as to accommodate official and user-contributed  |
      16 |           d     postestimation commands that compute fit statistics.  |
      17 |                                                                   d   |
      18 |                                                     d KW:  dominance  |
      19 |                                                  d KW: decomposition  |
      20 |                                            d KW: relative importance  |
      21 |                                               d KW: relative weights  |
      22 |                                                d KW:  shapley values  |
      23 |                                                                   d   |
      24 |  d Requires: Stata version 12.1 and package moremata from SSC (q.v.)  |
      25 |                                                                   d   |
      26 |                                        d Distribution-Date: 20211121  |
      27 |                                                                   d   |
      28 |                    d Author: Joseph N. Luchman, Fors Marsh Group LLC  |
      29 |                       d Support: email  jluchman@@forsmarshgroup.com  |
      30 |                                                                   d   |
      31 |                                                        f d\domin.ado  |
      32 |                                                      f d\domin.sthlp  |
      33 |                                                       f f\fitdom.ado  |
      34 |                                                     f f\fitdom.sthlp  |
      35 |                                                       f m\mixdom.ado  |
      36 |                                                     f m\mixdom.sthlp  |
      37 |                                                        f m\mvdom.ado  |
      38 |                                                      f m\mvdom.sthlp  |
         +-----------------------------------------------------------------------+
    Note the distribution date of approximately one year ago. I can verify that I only have this version of -domin- installed on this instance of Stata.

    The problem is, that when I run -adoupdate-, the module is not recognized as being out of date.

    Code:
    . adoupdate domin, update
    note: ado update updates community-contributed files; type update to check for updates to official Stata.
    
    Checking status of specified packages:
    
       [11] domin at http://fmwww.bc.edu/repec/bocode/d:
            installed package is up to date
    
    (no packages require updating)
    I find this puzzling as it is my understanding given the documentation for -adoupdate- suggests that it is the distribution date that determines whether the package is up to- or out of date.

    I also do not see -domin- among the list presented when I ask for -ssc whatsnew- (as other users can readily verify as well) despite the distribution date for -domin- being within the bounds of what should be reported (as of today/when just called it reads 'SSC Stata modules created or revised 2022-10-11 to 2022-11-11').

    Have others experienced this issue as well? I did recently change my contact email and add a new .mlib file. It is not clear why those changes would result in the behavior I'm seeing however.

    Hopeful there's an easy solution to this that I'm overlooking.

    - joe

    Joseph Nicholas Luchman, Ph.D., PStatĀ® (American Statistical Association)
    ----
    Research Fellow
    Fors Marsh

    ----
    Version 18.0 MP

  • #2
    Perhaps your symptoms (failure to update, failure to show in ssc whatsnew) may be related and may reflect an indexing problem at SSC. You might check with SSC.

    Added in edit: if you just want to solve the immediate problem, you could try ado uninstall followed by ssc install.

    Comment


    • #3
      [quote]you could try ado uninstall followed by ssc install[quote]

      Or, even simpler just
      Code:
      ssc install domin, replace

      Comment


      • #4
        Appreciate the responses, William and Clyde.
        Joseph Nicholas Luchman, Ph.D., PStatĀ® (American Statistical Association)
        ----
        Research Fellow
        Fors Marsh

        ----
        Version 18.0 MP

        Comment

        Working...
        X