IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s458056.html
 

SADI: Stata module to compute Sequence Analysis Distance Measures

Author

Listed:
  • Brendan Halpin

    (University of Limerick, Ireland)

Programming Language

Stata

Abstract

Several measures of distance between pairs of sequences, including the simple Hamming distance, the optimal matching distance and its variant, OMv, as described in Halpin, {it:Sociological Methods and Research}, 2010, Hollister's localised OM, Lesnard's dynamic Hamming distance, Time-Warp Edit Distance and a version of Elzinga's number of common subsequences for duration-weighted spell data. Several utilities are also included.

Suggested Citation

  • Brendan Halpin, 2014. "SADI: Stata module to compute Sequence Analysis Distance Measures," Statistical Software Components S458056, Boston College Department of Economics, revised 14 Mar 2023.
  • Handle: RePEc:boc:bocode:s458056
    Note: This module should be installed from within Stata by typing "ssc install sadi". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
    as

    Download full text from publisher

    File URL: http://fmwww.bc.edu/repec/bocode/s/sadi.sthlp
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/a/adjusted_rand_index.mata
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/a/ari.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/a/ari.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/cal2spell.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/cal2spell.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/combinadd.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/combinadd.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/combinprep.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/combinprep.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/corrsqm.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/corrsqm.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/cumuldur.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/c/cumuldur.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/d/distances.do
    File Function: sample do-file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/d/dynhamming.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/d/dynhamming.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/e/elzspelladd.c
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/e/elzspelladd.linux.plugin
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/e/elzspelladd.linux64.plugin
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/e/elzspelladd.plugin.arm64
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/e/elzspelladd.plugin.x86_64
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/e/elzspelladd.w32.plugin
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/e/elzspelladd.w64.plugin
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/m/maketrpr.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/m/maketrpr.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/m/metricp.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/m/metricp.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/m/mvad.dta
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/n/ndsub.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/n/ndsub.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/n/nspells.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/n/nspells.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/o/oma.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/o/oma.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/o/omamatv3.c
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/o/omamatv3.linux.plugin
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/o/omamatv3.linux64.plugin
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/o/omamatv3.plugin.arm64
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/o/omamatv3.plugin.x86_64
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/o/omamatv3.w32.plugin
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/o/omamatv3.w64.plugin
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/o/omav.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/o/omav.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/permtab.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/permtab.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/p/permtabga.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdchronogram.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdchronogram.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdchronoplot.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdchronoplot.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sddiscrep.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sddiscrep.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdentropy.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdentropy.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdhamming.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdhamming.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdhollister.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdhollister.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdindexplot.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdindexplot.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdplot.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdstripe.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/sdstripe.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/stplugin.c
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/s/stplugin.h
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/t/trans2subs.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/t/trans2subs.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/t/trprgr.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/t/trprgr.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/t/turbulence.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/t/turbulence.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/t/twed.ado
    File Function: program code
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/t/twed.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://fmwww.bc.edu/repec/bocode/u/uthash.h
    File Function: program code
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:bocode:s458056. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/debocus.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.