The analysis of longitudinal data gives the chance to observe how units’ behavior changes over time, but it also poses a series of issues. These have been the focus of an extensive literature in the context of linear and generalized linear regression, moving also, in the last ten years or so, to the context of linear quantile regression for continuous responses. In this paper, we present lqmix, a novel R package that assists in estimating a class of linear quantile regression models for longitudinal data, in the presence of time-constant and/or time-varying, unit-specific, random coefficients, with unspecified distribution. Model parameters are estimated in a maximum likelihood framework via an extended EM algorithm, while the corresponding standard errors are derived via a block-bootstrap procedure. The analysis of a benchmark dataset is used to give details on the package functions.
lqmix: an R Package for Longitudinal Data Analysis via Linear Quantile Mixtures / Alfo', Marco; Francesca Marino, Maria; Giovanna Ranalli, Maria; Salvati, Nicola. - In: THE R JOURNAL. - ISSN 2073-4859. - 17:3(2025), pp. 188-211. [10.32614/rj-2025-029]
lqmix: an R Package for Longitudinal Data Analysis via Linear Quantile Mixtures
Alfo', Marco;Francesca Marino, Maria
;Giovanna Ranalli, Maria;
2025
Abstract
The analysis of longitudinal data gives the chance to observe how units’ behavior changes over time, but it also poses a series of issues. These have been the focus of an extensive literature in the context of linear and generalized linear regression, moving also, in the last ten years or so, to the context of linear quantile regression for continuous responses. In this paper, we present lqmix, a novel R package that assists in estimating a class of linear quantile regression models for longitudinal data, in the presence of time-constant and/or time-varying, unit-specific, random coefficients, with unspecified distribution. Model parameters are estimated in a maximum likelihood framework via an extended EM algorithm, while the corresponding standard errors are derived via a block-bootstrap procedure. The analysis of a benchmark dataset is used to give details on the package functions.| File | Dimensione | Formato | |
|---|---|---|---|
|
Alfò_lqmix:- RPackage_2025.pdf
accesso aperto
Tipologia:
Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza:
Tutti i diritti riservati (All rights reserved)
Dimensione
353.08 kB
Formato
Adobe PDF
|
353.08 kB | Adobe PDF |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


