Announcement

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

  • Dominance Analysis using Domin

    Hi, I am trying to use the domme command, but after testing it out I realized for some reason ustrsplit() is not found under the mata environment.

    More specifically, when I tried to work through the following example:
    webuse union, clear
    domme (union = age grade 1.not_smsa south year), reg(xtlogit union age grade i.not_smsa south year) fitstat(e(), mcf)

    This error shows up:
    domme_2mata(): 3499 ustrsplit() not found
    <istmt>: - function returned error

    I've already installed moremata. The installation of the domin package is also the most up-to-date under Stata 15.

    Anyone else came across the same problem? And if so how did you go about solving it? Thanks!

  • #2
    Hi Oriane,

    It's a legitimate bug that did not come up in testing. Historically -domme- has worked up to v15.

    Recommend using the version of -domme- from http://www.stata-journal.com/software/sj21-2 or, alternatively, the version of -domme- associated with the Stata Journal article (type -findit st0645- in the Stata consule) which will work with Stata v 15.

    Will update versioning in the SSC rendition of the software as the -ustrsplit()- Mata function was not introduced until Stata v 16.

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

    ----
    Version 18.0 MP

    Comment


    • #3
      Dear Joe,

      I replaced the files as suggested using "findit st0645", and it's now working.

      Thank you so much!

      Comment


      • #4
        The most recent version of -domin-, updated yesterday (1/7/2025) on SSC, now has increased the minimum version of Stata required to 16 to avoid the issue that is reported on in this thread.
        Joseph Nicholas Luchman, Ph.D., PStatĀ® (American Statistical Association)
        ----
        Research Fellow
        Fors Marsh

        ----
        Version 18.0 MP

        Comment

        Working...
        X