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
Ranalli, Maria Giovanna;
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.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


