1. lqmix: an R package for longitudinal data analysis via linear quantile mixtures
- Author
-
Alfó, Marco, Marino, Maria Francesca, Ranalli, Maria Giovanna, and Salvati, Nicola
- Subjects
Statistics - Computation ,Statistics - Methodology - Abstract
The analysis of longitudinal data gives the chance to observe how unit behaviors change over time, but it also poses series of issues. These have been the focus of a huge 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 helps estimate 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, and parameters' standard errors are estimated via a block-bootstrap procedure. The analysis of a benchmark dataset is used to give details on the package functions., Comment: 25 pages, 2 figures
- Published
- 2023