Learn R Programming

lqmix (version 1.1)

lqmix-package: Overview of the package lqmix

Description

The lqmix package allows for the estimation of finite mixtures of linear quantile regression models based on Time-Constant (TC) and/or Time-Varying (TV), discrete, random coefficients for the analysis of longitudinal data

Arguments

Author

Maria Francesca Marino [aut,cre], Marco Alfo' [aut], Nicola Salvati [aut], and Maria Giovanna Ranalli [aut]

Maintainer: Maria Francesca Marino <mariafrancesca.marino@unifi.it>

Details

lqmix is an R package devoted to the estimation of a class of linear quantile regression models for longitudinal data, in the presence of Time-Constant (TC) and/or Time-Varying (TV), unit-specific, random coefficients, having unspecific distribution. The parameters of this distribution, together with all the others characterizing the model, are estimated in a maximum likelihood framework, via an extended Expectation-Maximization algorithm. This approach leads to the estimation of discrete distributions for the random coefficients, which give rise to a likelihood function similar to that of standard finite mixture models (in the case of TC random coefficients only), hidden Markov models (in the case of TV random coefficients only), or mixed hidden Markov models with discrete effects (in the case of both TC and TV random coefficients).

Parameters' standard errors are estimated via a block-bootstrap procedure, while model selection is performed by either maximizing the log-likelihood function, or minimizing the Akaike Information Criterion or the Bayesian Information Criterion.

Missing data are allowed and treated under a Missing at Random assumption.

References

ref:lqmixTClqmix

ref:npml1lqmix

ref:npml2lqmix

ref:lqmixTVlqmix

ref:LMlqmix

ref:hmmlqmix

ref:lqmixTCTVlqmix

ref:mhmm1lqmix

ref:mhmm2lqmix