VaSSTra
VaSSTra utilizes a combination of person-based methods (to capture the latent states) along with life events methods to model the longitudinal process. In doing so, VaSSTra effectively leverages the benefits of both families of methods in mapping the patterns of longitudinal temporal dynamics. The method has three main steps that can be summarized as (1) identifying latent States from Variables, (2) modeling states as Sequences, and (3) identifying Trajectories within sequences. The three steps are depicted in the figure and described in detail below:

- Step 1. From variables to states: In the first step of the analysis, we identify the “states” within the data using a method that can capture latent or unobserved patterns from multidimensional data (variables). The said states represent a behavioral pattern, function or a construct that can be inferred from the data. For instance, engagement is a multidimensional construct and is usually captured through several indicators. e.g., students’ frequency and time spent online, course activities, cognitive activities and social interactions. Using an appropriate method, such as person-based clustering in our case, we can derive students’ engagement states for a given activity or course. For instance, the method would classify students who invest significant time, effort and mental work are “engaged.” Similarly, students who are investing low effort and time in studying would be classified as “diseganged.” Such powerful summarization would allow us to use the discretized states in further steps. An important aspect of such states is that they are calculated for a specific timespan. Therefore, in our example we could infer students’ engagement states per activity, per week, per lesson, per course, etc. Sometimes, such time divisions are by design (e.g., lessons or courses), but in other occasions researchers have to establish a time scheme according to the data and research questions (e.g., weeks or days). Computing states for multiple time periods is a necessary step to create time-ordered state sequences and prepare the data for sequence analysis.
- Step 2. From states to sequences: Once we have a state for each student at each time point, we can construct an ordered sequence of such states for each student. For example, if we used the scenario mentioned above about measuring engagement states, a sequence of a single student’s engagement states across a six-lesson course would be like the one below. When we convert the ordered states to sequences, we unlock the potential of sequence analysis and life events methods. We are able to plot the distribution of states at each time point, study the individual pathways, the entropy, the mean time spent at each state, etc. We can also estimate how frequently students switch states, and what is the likelihood they finish their sequence in a “desirable” state (i.e., “engaged”).
- Step 3. From sequences to trajectories: Our last step is to identify similar trajectories —sequences of states with a similar temporal evolution— using temporal clustering methods (e.g., hidden Markov models or hierarchical clustering). Covariates (i.e., variables that could explain cluster membership) can be added at this stage to help identify why a trajectory has evolved in a certain way. Moreover, sequence analysis can be used to study the different trajectories, and not only the complete cohort. We can compare trajectories according to their sequence properties, or to other variables (e.g., performance).
We presented the VaSStra method n in a conference paper in 2022:
- López-Pernas, Sonsoles, and Mohammed Saqr. 2023. “From Variables to States to Trajectories (VaSSTra): A Method for Modelling the Longitudinal Dynamics of Learning and Behaviour.” In, 1169–78. TEEM 2022. Springer Nature Singapore. https://doi.org/10.1007/978-981-99-0942-1_123.
We also presented a tutorial on how to implement VaSSTra with R in our book “Learning Analytics Methods and Tutorials”.
- López-Pernas, Sonsoles, and Mohammed Saqr. 2024. “Modeling the Dynamics of Longitudinal Processes in Education. A Tutorial with R for the VaSSTra Method.” In, 355–79. Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-54464-4_11.
We have implemented the method in several publications:
- López-Pernas, Sonsoles, and Mohammed Saqr. 2024b. “How the Dynamics of Engagement Explain the Momentum of Achievement and the Inertia of Disengagement: A Complex Systems Theory Approach.” Computers in Human Behavior 153 (April): 108126. https://doi.org/10.1016/j.chb.2023.108126.
- Saqr, Mohammed, and Sonsoles López-Pernas. 2022. How CSCL roles emerge, persist, transition, and evolve over time: A four-year longitudinal study. Computers & Education, 104581. https://doi.org/10.1016/j.compedu.2022.104581
- Saqr, Mohammed, and Sonsoles López-Pernas. 2021. “The Longitudinal Trajectories of Online Engagement over a Full Program.” Computers & Education 175 (December): 104325. https://doi.org/10.1016/j.compedu.2021.104325.
- Saqr, Mohammed, Sonsoles López-Pernas, Satu Helske, and Stefan Hrastinski. 2023. “The Longitudinal Association Between Engagement and Achievement Varies by Time, Students’ Profiles, and Achievement State: A Full Program Study.” Computers & Education 199 (July): 104787. https://doi.org/10.1016/j.compedu.2023.104787.
- Saqr, Mohammed, Sonsoles López-Pernas, Jelena Jovanović, and Dragan Gašević. 2023. “Intense, Turbulent, or Wallowing in the Mire: A Longitudinal Study of Cross-Course Online Tactics, Strategies, and Trajectories.” The Internet and Higher Education 57 (April): 100902. https://doi.org/10.1016/j.iheduc.2022.100902.