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 / Marco Alfò, Maria Francesca Marino, Maria Giovanna Ranalli, Nicola Salvati. - In: THE R JOURNAL. - ISSN 2073-4859. - ELETTRONICO. - (2025), pp. 188-211.

lqmix: an R Package for Longitudinal Data Analysis via Linear Quantile Mixtures

Maria Francesca Marino
Membro del Collaboration Group
;
Maria Giovanna Ranalli
Membro del Collaboration Group
;
Nicola Salvati
Membro del Collaboration Group
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.
2025
188
211
Marco Alfò, Maria Francesca Marino, Maria Giovanna Ranalli, Nicola Salvati
File in questo prodotto:
File Dimensione Formato  
2025_RJournal.pdf

accesso aperto

Tipologia: Pdf editoriale (Version of record)
Licenza: Open Access
Dimensione 353.08 kB
Formato Adobe PDF
353.08 kB Adobe PDF

I documenti in FLORE sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificatore per citare o creare un link a questa risorsa: https://hdl.handle.net/2158/1451913
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact