Bayesian Quantile Mixed Model
The Bayesian quantile mixed model estimates covariate effects on a chosen conditional quantile of a clustered outcome, using an asymmetric Laplace working likelihood and normal random intercepts, sampled by a Gibbs sampler on the exponential-normal mixture representation.
베이즈 분위수 혼합모형은 군집 자료에서 정한 조건부 분위수에 대한 공변량 효과를 추정하며, 비대칭 라플라스 작업우도와 정규 무선절편을 두고 지수-정규 혼합 표현으로 깁스 표집합니다.
My data are repeated measurements within people (or pupils within schools) and I care about the lower or upper tail, not the mean; how do I model a quantile while respecting the clustering?
한 사람 안에서 반복 측정한 자료인데 평균보다 하위나 상위 꼬리가 궁금합니다. 군집 구조를 반영하면서 분위수를 모형화하려면 어떻게 하나요?
The model fits x'beta(tau) plus a random intercept for each cluster at the quantile tau you choose, and returns posterior summaries of the quantile effects together with the between-cluster SD. Several quantiles can be fitted side by side to see how effects change across the distribution.
When to use Bayesian Quantile Mixed Model
- Observations are grouped and effects on a tail or the median matter
- The outcome is skewed or has outliers, so mean models are misleading
- You want credible intervals and a random-intercept SD for each quantile
When to use something else
- Observations are independent: use Bayesian Quantile Regression (Asymmetric Laplace)
- You are interested in the conditional mean: use Generalized Linear Mixed Model (GLMM)
- You need frequentist quantile regression without clustering: use Quantile Regression Analysis
Assumptions and requirements
- Random intercepts are normal and independent of covariates
- The asymmetric Laplace is a working likelihood, so intervals are model-based
- At least 3 clusters, preferably many more
What the analysis reports
- Quantile coefficients with credible intervals for each tau
- Random-intercept SD and asymmetric Laplace scale
- R-hat and effective sample size
How to report it
A Bayesian quantile mixed model with random intercepts for [cluster] found that at tau = [value] the effect of [predictor] was [value], 95% CrI [[value], [value]] (random-intercept SD [value]).
Related methods
- Bayesian Quantile Regression (Asymmetric Laplace)
- Quantile Regression Analysis
- Generalized Linear Mixed Model (GLMM)
- Bayesian Hierarchical Model
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Bayesian Quantile Mixed Model on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, predictor (feature) columns and a cluster ID
- Price
- 900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.