Sequence Analysis

Companion website for the little green book

Marcel Raab (State Institute for Family Research at the University of Bamberg (ifb)) , Emanuela Struffolino (University of Milan, Department of Social and Political Sciences)

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).

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).


For attribution, please cite this work as:

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

BibTeX citation

    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.
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.



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


Text and figures are licensed under Creative Commons Attribution CC BY-NC 4.0. Source code is available at, 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 ...".