Sequence Analysis

Companion website for the little green book

Marcel Raab https://marcelraab.de/ (State Institute for Family Research at the University of Bamberg (ifb))https://www.ifb.bayern.de/english/institute/index.php , Emanuela Struffolino https://emanuela-struffolino.com/ (University of Milan, Department of Social and Political Sciences)https://www.unimi.it/en/ugov/ou-structure/department-social-and-political-sciences
2025-09-23

This site is intended to enhance your use of the book Sequence Analysis by Marcel Raab & Emanuela Struffolino. On this webpage we provide accompanying material illustrating how to conduct sequence analysis in using {TraMineR} (Gabadinho et al., 2011), {TraMineRExtras} (Ritschard et al., 2021), and {WeightedCluster} (Studer, 2013). We also show how to create plots with the {ggseqplot} (Raab, 2022) package which was developed after the book release. Likewise, we briefly showcase how to use the newly developed Python package sequenzo to compute dissimilarities from within R.

If you want to download the data and code required for reproducing the results, you can access the chapter-specific zip files on this overview page. In addition to these zip files, the chapter-specific sub-pages provide instructions and some bonus material introducing additional examples and analytical tools.

Please note that most of the materials on this site are designed to be used in tandem with the book published by SAGE ( order from SAGE, Amazon, Barnes & Noble, or your local bookstore). The book is also available on SAGE Research Methods

 

📋 Errata & Corrections

We welcome feedback on any errors or improvements. Please use our issue tracker to report problems.

Known issues

Citation

For attribution, please cite this work as:

Raab, M. & Struffolino, E. (2022). Sequence Analysis. Thousand Oaks, CA: Sage.

BibTeX citation

@book{raabstruffolino2022,
    author = {Raab, Marcel and Struffolino, Emanuela},
    year = {2022},
    title = {Sequence Analysis},
    series = {Quantitative Applications in the Social Sciences},
    number = {190},
    publisher = {SAGE},
    address = {Thousand Oaks, CA},
    isbn = {9781071801888}
}
Gabadinho, A., Ritschard, G., Müller, N. S., & Studer, M. (2011). Analyzing and Visualizing State Sequences in R with TraMineR. Journal of Statistical Software, 40(4), 1–37. https://doi.org/10.18637/jss.v040.i04
Raab, M. (2022). ggseqplot: Render sequence plots using ’ggplot2’. https://doi.org/10.32614/CRAN.package.ggseqplot
Ritschard, G., Studer, M., Bürgin, R., Liao, T., Gabadinho, A., Fonta, P.-A., Müller, N. S., & Rousset, P. (2021). Package TraMineRextras [Reference manual]. Comprehensive R Archive Network (CRAN).
Studer, M. (2013). WeightedCluster Library Manual: A practical guide to creating typologies of trajectories in the social sciences with R. 24. https://doi.org/10.12682/LIVES.2296-1658.2013.24

References

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-NC 4.0. Source code is available at https://github.com/sa-book/sa-book.github.io, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".