Fitting longitudinal partial credit models and accounting for lack of measurement invariance using generalized structural equation modeling in Stata

Stata offers a wide range of item response theory models, allowing users to fit multigroup models and even test for differential item functioning (DIF) in cross-sectional studies. However, there is no built-in command to estimate longitudinal item response theory or Rasch models or to explicitly account for a lack of measurement invariance, namely, DIF and response shift. In this article, we show how to fit a longitudinal partial credit model using Stata’s generalized structural equation modeling framework. The proposed longitudinal partial credit model includes a group covariate and a continuous time-related covariate that explain the latent variable. It can also jointly model noninvariance of the measurement model across groups (DIF) and over time (response shift). We illustrate the methodology using data from a clinical study aimed at describing the trajectory of anxiety symptoms among patients on the waiting list for kidney transplantation. We provide both the code and the example dataset to enable readers to apply the statistical method presented in this article.

Authors

Institutions

Publication Details

Journal
The Stata Journal Promoting communications on statistics and Stata
Published
2026-11-30
DOI
https://doi.org/10.1177/1536867x261508242
Citations
2
Primary Topic
Psychometric Methodologies and Testing
Type
article
Field-Weighted Citation Impact
4.21

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Fitting longitudinal partial credit models and accounting for lack of measurement invariance using generalized structural equation modeling in Stata

Bastien Perrot, Myriam Blanchin, Véronique Sebille
2 citations
The Stata Journal Promoting communications on statistics and Stata
Psychometric Methodologies and Testing
4.21
article

Fitting longitudinal partial credit models and accounting for lack of measurement invariance using generalized structural equation modeling in Stata

Bastien Perrot, Myriam Blanchin, Véronique Sebille
article en
2 citations

Abstract

Stata offers a wide range of item response theory models, allowing users to fit multigroup models and even test for differential item functioning (DIF) in cross-sectional studies. However, there is no built-in command to estimate longitudinal item response theory or Rasch models or to explicitly account for a lack of measurement invariance, namely, DIF and response shift. In this article, we show how to fit a longitudinal partial credit model using Stata’s generalized structural equation modeling framework. The proposed longitudinal partial credit model includes a group covariate and a continuous time-related covariate that explain the latent variable. It can also jointly model noninvariance of the measurement model across groups (DIF) and over time (response shift). We illustrate the methodology using data from a clinical study aimed at describing the trajectory of anxiety symptoms among patients on the waiting list for kidney transplantation. We provide both the code and the example dataset to enable readers to apply the statistical method presented in this article.

The Stata Journal Promoting communications on statistics and StataVol. 26(4)
Université de Tours (FR), Inserm (FR), Centre Hospitalier Universitaire de Tours (FR), methodS in Patient-centered outcomes and HEalth ResEarch (FR), Nantes Université (FR)
Agence Nationale de la Recherche
Good health and well-being
Openalex Percentile: Top 9%
Psychometric Methodologies and Testing
4.21
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon