Modeling basal body temperature data using horseshoe process regression
- PMID: 38095078
- DOI: 10.1002/sim.9991
Modeling basal body temperature data using horseshoe process regression
Abstract
Biomedical data often exhibit jumps or abrupt changes. For example, women's basal body temperature may jump at ovulation, menstruation, implantation, and miscarriage. These sudden changes make these data challenging to model: many methods will oversmooth the sharp changes or overfit in response to measurement error. We develop horseshoe process regression (HPR) to address this problem. We define a horseshoe process as a stochastic process in which each increment is horseshoe-distributed. We use the horseshoe process as a nonparametric Bayesian prior for modeling a potentially nonlinear association between an outcome and its continuous predictor, which we implement via Stan and in the R package HPR. We provide guidance and extensions to advance HPR's use in applied practice: we introduce a Bayesian imputation scheme to allow for interpolation at unobserved values of the predictor within the HPR; include additional covariates via a partial linear model framework; and allow for monotonicity constraints. We find that HPR performs well when fitting functions that have sharp changes. We apply HPR to model women's basal body temperatures over the course of the menstrual cycle.
Keywords: horseshoe prior; local shrinkage; menstrual cycle; nonparametrics; step functions.
© 2023 The Authors. Statistics in Medicine published by John Wiley & Sons Ltd.
References
REFERENCES
-
- Hastie T, Tibshirani R, Friedman J. The Elements of Statistical Learning: Data Mining, Inference, and Prediction. New York, NY: Springer; 2017.
-
- Kim J, Ryu J, Kim J, et al. Prostate-specific antigen fluctuation: what does it mean in diagnosis of prostate cancer? Int Brazil J Urol. 2015;41(2):258-264.
-
- Royston J, Abrams R. An objective method for detecting the shift in basal body temperature in women. Biometrics. 1980;36(2):217-224.
-
- Little M, Jones N. Generalized methods and solvers for noise removal from piecewise constant signals. I. Background theory. Proc R Soc A Math Phys Eng Sci. 2011;467(2135):3088-3114.
-
- Eilers P, Marx B, Durbán M. Twenty years of P-splines. Stat Oper Res Trans. 2015;39(2):149-186.
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources