Related Experiment Video
Updated: Oct 9, 2025

Demonstration of the Sequence Alignment to Predict Across Species Susceptibility Tool for Rapid Assessment of Protein Conservation
Published on: February 10, 2023
Use of State Sequence Analysis in Pharmacoepidemiology: A Tutorial
Jacopo Vanoli1,2, Consuelo Rubina Nava3, Chiara Airoldi4
1London School of Hygiene and Tropical Medicine (LSHTM), London WC1E 7HT, UK.
Abstract:
While state sequence analysis (SSA) has been long used in social sciences, its use in pharmacoepidemiology is still in its infancy. Indeed, this technique is relatively easy to use, and its intrinsic visual nature may help investigators to untangle the latent information within prescription data, facilitating the individuation of specific patterns and possible inappropriate use of medications. In this paper, we provide an educational primer of the most important learning concepts and methods of SSA, including measurement of dissimilarities between sequences, the application of clustering methods to identify sequence patterns, the use of complexity measures for sequence patterns, the graphical visualization of sequences, and the use of SSA in predictive models. As a worked example, we present an application of SSA to opioid prescription patterns in patients with non-cancer pain, using real-world data from Italy. We show how SSA allows the identification of patterns in prescriptions in these data that might not be evident using standard statistical approaches and how these patterns are associated with future discontinuation of opioid therapy.
Related Concept Videos
Analysis of Population Pharmacokinetic Data
Steps in Outbreak Investigation
Statistical Methods for Analyzing Epidemiological Data
Introduction to Epidemiology
Mechanistic Models: Compartment Models in Individual and Population Analysis
Statistical Software for Data Analysis and Clinical Trials

