Skip to content
DraconiticResearch
Search Sources API
201,642 studies31 sourcesUpdated 13 min ago
PreprintarXiv licencearXiv

QuantileMix: A Python package for quantile g-computation

Abstract

Health researchers often study how a mixture of pollutants or nutrients relates to health. Quantile g-computation addresses this question by giving each exposure an ordered score and fitting a model for the outcome. For example, dividing an exposure into four quantile groups gives scores 0, 1, 2, and 3. The model can compare score 1 with score 2 for every exposure at once. These groups need not contain equal numbers of observations when measurements are tied. A one-score increase can represent different changes in the original units for different exposures. QuantileMix provides selected quantile g-computation methods in Python. It returns estimates, confidence intervals, predictions, and diagnostics for continuous, binary, count, and survival outcomes. Other models handle measurement limits, outcomes with several categories, and counts with many zeros. Fitting and prediction use NumPy and SciPy and do not require R. The package includes a reference manual, runnable examples, and numerical comparisons with R.

Versions

Related

  1. OpenTURNS: A Python package for uncertainty quantification
    Michaël Baudin, Anne Dutfoy, Régis Lebrun +6
    Journal of Open Source SoftwarePeer-reviewedCC BY 4.0Full textGeneral mathematicsGeneral physicsHAL
  2. RC Prediction: A Python Package for Parameter-Aware Reservoir Computing
    Jin-Cheng Rao, Zheng-Meng Zhai, Ying-Cheng Lai
    arXivPreprintarXiv licenceFull textDynamical systemsarXiv
  3. Quantile-Only Regression: Inference and Partial Identification under Quantile Disclosure
    Masamune Iwasawa, Hayato Nakanishi
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  4. A general technique for explicit quantile representations
    Wolfgang Schadner
    arXivPreprintCC BY 4.0Full textProbabilityarXiv
  5. A New Framework for Estimation of Unconditional Quantile Treatment Effects: The Residualized Quantile Regression (RQR) Model
    Nicolai Topstad Borgen, Andreas Haupt, Øyvind Nicolay Wiborg
    Sociological MethodologyPeer-reviewedCC BY27 citedStatisticsOpenAlex
BibTeX
@misc{chapagain2026quantilemix,
  title = {{QuantileMix: A Python package for quantile g-computation}},
  author = {Nilson Chapagain},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.34368},
  eprint = {2610.34368},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.34368},
}
RIS
TY  - UNPB
TI  - QuantileMix: A Python package for quantile g-computation
AU  - Nilson Chapagain
PY  - 2026
DA  - 2026/10/25
PB  - arXiv
DO  - 10.48550/arxiv.2610.34368
UR  - https://arxiv.org/abs/2610.34368
AB  - Health researchers often study how a mixture of pollutants or nutrients relates to health. Quantile g-computation addresses this question by giving each exposure an ordered score and fitting a model for the outcome. For example, dividing an exposure into four quantile groups gives scores 0, 1, 2, and 3. The model can compare score 1 with score 2 for every exposure at once. These groups need not contain equal numbers of observations when measurements are tied. A one-score increase can represent different changes in the original units for different exposures. QuantileMix provides selected quantile g-computation methods in Python. It returns estimates, confidence intervals, predictions, and diagnostics for continuous, binary, count, and survival outcomes. Other models handle measurement limits, outcomes with several categories, and counts with many zeros. Fitting and prediction use NumPy and SciPy and do not require R. The package includes a reference manual, runnable examples, and numerical comparisons with R.
ER  -