bqmm: Bayesian Multilevel Quantile Regression in R
Kailas Venkitasubramanian
Additional contact information
Kailas Venkitasubramanian: University of North Carolina at Charlotte
No 7d5xb_v1, SocArXiv from Center for Open Science
Abstract:
Quantile regression describes how covariates shift the conditional quantiles of an outcome, not merely its mean, and is indispensable when effects are heterogeneous across the response distribution. When data are clustered or longitudinal, a mixed-effects formulation is needed. I present bqmm, an R package for Bayesian multilevel quantile regression built on the asymmetric Laplace working likelihood and Stan. The package offers an lme4-style formula interface with nested and crossed random effects, optional LKJ-correlated random effects, estimation of one or several quantiles in a single call, post-hoc non-crossing rearrangement, and a transparent menu of fixed-effect interval methods — the naive posterior, the Yang–Wang–He (2016) sandwich correction, and the infinitesimal jackknife — because the asymmetric Laplace likelihood is misspecified and naive credible intervals can be invalid. The paper describes the model and software design, illustrates usage on longitudinal growth data, summarises a validation study (parameter recovery, simulation-based calibration, and a coverage study), and compares bqmm with related software.
Date: 2026-06-16
References: Add references at CitEc
Citations:
Downloads: (external link)
https://osf.io/download/6a302fa2798c43c4b494529c/
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:osf:socarx:7d5xb_v1
DOI: 10.31219/osf.io/7d5xb_v1
Access Statistics for this paper
More papers in SocArXiv from Center for Open Science
Bibliographic data for series maintained by OSF ().