IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v040i04.html
   My bibliography  Save this article

Analyzing and Visualizing State Sequences in R with TraMineR

Author

Listed:
  • Gabadinho, Alexis
  • Ritschard, Gilbert
  • Müller, Nicolas S
  • Studer, Matthias

Abstract

This article describes the many capabilities offered by the TraMineR toolbox for categorical sequence data. It focuses more specifically on the analysis and rendering of state sequences. Addressed features include the description of sets of sequences by means of transversal aggregated views, the computation of longitudinal characteristics of individual sequences and the measure of pairwise dissimilarities. Special emphasis is put on the multiple ways of visualizing sequences. The core element of the package is the state se- quence object in which we store the set of sequences together with attributes such as the alphabet, state labels and the color palette. The functions can then easily retrieve this information to ensure presentation homogeneity across all printed and graphical displays. The article also demonstrates how TraMineR’s outcomes give access to advanced analyses such as clustering and statistical modeling of sequence data.

Suggested Citation

  • Gabadinho, Alexis & Ritschard, Gilbert & Müller, Nicolas S & Studer, Matthias, 2011. "Analyzing and Visualizing State Sequences in R with TraMineR," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 40(i04).
  • Handle: RePEc:jss:jstsof:v:040:i04
    DOI: http://hdl.handle.net/10.18637/jss.v040.i04
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v040i04/v40i04.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v040i04/TraMineR_1.8-1.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v040i04/v40i04.R
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v040.i04?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Deville, J. -C. & Saporta, G., 1983. "Correspondence analysis, with an extension towards nominal time series," Journal of Econometrics, Elsevier, vol. 22(1-2), pages 169-189.
    2. Christian Brzinsky-Fay & Ulrich Kohler & Magdalena Luniak, 2006. "Sequence analysis with Stata," Stata Journal, StataCorp LP, vol. 6(4), pages 435-460, December.
    3. Matthias Studer & Gilbert Ritschard & Alexis Gabadinho & Nicolas S. Müller, 2011. "Discrepancy Analysis of State Sequences," Sociological Methods & Research, , vol. 40(3), pages 471-510, August.
    4. Gilbert Ritschard & Alexis Gabadinho & Nicolas S. Muller & Matthias Studer, 2008. "Mining event histories: a social science perspective," International Journal of Data Mining, Modelling and Management, Inderscience Enterprises Ltd, vol. 1(1), pages 68-90.
    5. Francesco C. Billari & Johannes Fürnkranz & Alexia Prskawetz, 2006. "Timing, Sequencing, and Quantum of Life Course Events: A Machine Learning Approach," European Journal of Population, Springer;European Association for Population Studies, vol. 22(1), pages 37-65, March.
    6. Duncan McVicar & Michael Anyadike‐Danes, 2002. "Predicting successful and unsuccessful transitions from school to work by using sequence methods," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 165(2), pages 317-334, June.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. repec:jss:jstsof:40:i04 is not listed on IDEAS
    2. Liao, Tim F. & Bolano, Danilo & Brzinsky-Fay, Christian & Cornwell, Benjamin & Fasang, Anette Eva & Helske, Satu & Piccarreta, Raffaella & Raab, Marcel & Ritschard, Gilbert & Struffolino, Emanuela & S, 2022. "Sequence analysis: Its past, present, and future," EconStor Open Access Articles and Book Chapters, ZBW - Leibniz Information Centre for Economics, vol. 107, pages 1-1.
    3. Jacopo Vanoli & Consuelo Rubina Nava & Chiara Airoldi & Andrealuna Ucciero & Virginio Salvi & Francesco Barone-Adesi, 2021. "Use of State Sequence Analysis in Pharmacoepidemiology: A Tutorial," IJERPH, MDPI, vol. 18(24), pages 1-13, December.
    4. Nicholas Longford & Ioana C. Salagean, 2013. "A study of the labour market trajectories in the Grand Duchy of Luxembourg," Economics Working Papers 1396, Department of Economics and Business, Universitat Pompeu Fabra.
    5. Júlia Mikolai & Hill Kulu, 2019. "Union dissolution and housing trajectories in Britain," Demographic Research, Max Planck Institute for Demographic Research, Rostock, Germany, vol. 41(7), pages 161-196.
    6. Michael Anyadike-Danes & Duncan McVicar, 2010. "My Brilliant Career: Characterizing the Early Labor Market Trajectories of British Women From Generation X," Sociological Methods & Research, , vol. 38(3), pages 482-512, February.
    7. ALBERT VERDÚ, Cecilia & DAVIA, María A., 2010. "Education And Labour Market Transitions Amongst Compulsory Education Graduates And School Dropouts," Regional and Sectoral Economic Studies, Euro-American Association of Economic Development, vol. 10(3).
    8. Qianhan Lin, 2013. "Lost in Transformation? The Employment Trajectories of China’s Cultural Revolution Cohort," The ANNALS of the American Academy of Political and Social Science, , vol. 646(1), pages 172-193, March.
    9. Cees H. Elzinga & Matthias Studer, 2015. "Spell Sequences, State Proximities, and Distance Metrics," Sociological Methods & Research, , vol. 44(1), pages 3-47, February.
    10. Satu Ojala & Jouko Nätti & Liudmila Lipiäinen, 2018. "Types of Temporary Employment: An 8-Year Follow-Up of Labour Market Attachment," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 138(1), pages 141-163, July.
    11. Raffaella Piccarreta, 2012. "Graphical and Smoothing Techniques for Sequence Analysis," Sociological Methods & Research, , vol. 41(2), pages 362-380, May.
    12. McVicar, Duncan & Wooden, Mark & Fok, Yin King, 2017. "Contingent Employment and Labour Market Pathways: Bridge or Trap?," IZA Discussion Papers 10768, Institute of Labor Economics (IZA).
    13. Helske, Satu & Steele, Fiona & Kokko, Katja & Räikkönen, Eija & Eerola, Mervi, 2015. "Partnership formation and dissolution over the life course: applying sequence analysis and event history analysis in the study of recurrent events," LSE Research Online Documents on Economics 62244, London School of Economics and Political Science, LSE Library.
    14. Piccarreta, Raffaella & Bonetti, Marco, 2019. "Assessing and comparing models for sequence data by microsimulation (with Supplementary Material)," SocArXiv 3mcfp, Center for Open Science.
    15. Raffaella Piccarreta & Orna Lior, 2010. "Exploring sequences: a graphical tool based on multi‐dimensional scaling," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 173(1), pages 165-184, January.
    16. Marco Bonetti & Raffaella Piccarreta & Gaia Salford, 2013. "Parametric and Nonparametric Analysis of Life Courses: An Application to Family Formation Patterns," Demography, Springer;Population Association of America (PAA), vol. 50(3), pages 881-902, June.
    17. Mike Smet & Barbara Janssens, 2015. "Educational Pathways of students who enrolled in a subject-specific teacher training in Flanders: An Optimal Matching Approach," EcoMod2015 8577, EcoMod.
    18. Nicola Barban, 2013. "Family Trajectories and Health: A Life Course Perspective [Trajectoires familiales et santé: une approche sous l’angle de parcours de vie]," European Journal of Population, Springer;European Association for Population Studies, vol. 29(4), pages 357-385, November.
    19. Helena Corrales Herrero & Beatriz Rodríguez Prado, 2011. "Characterizing Spanish Labour Pathways of young people with vocational lower-secondary education," Post-Print hal-00712379, HAL.
    20. Silke Aisenbrey & Anette E. Fasang, 2010. "New Life for Old Ideas: The "Second Wave" of Sequence Analysis Bringing the "Course" Back Into the Life Course," Sociological Methods & Research, , vol. 38(3), pages 420-462, February.
    21. Cees H. Elzinga, 2010. "Complexity of Categorical Time Series," Sociological Methods & Research, , vol. 38(3), pages 463-481, February.

    More about this item

    Statistics

    Access and download statistics

    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:jss:jstsof:v:040:i04. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: http://www.jstatsoft.org/ .

    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.