Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Feb 28;43(5):817-832.
doi: 10.1002/sim.9991. Epub 2023 Dec 14.

Modeling basal body temperature data using horseshoe process regression

Affiliations
Free article

Modeling basal body temperature data using horseshoe process regression

Elizabeth C Chase et al. Stat Med. .
Free article

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.

PubMed Disclaimer

References

REFERENCES

    1. Hastie T, Tibshirani R, Friedman J. The Elements of Statistical Learning: Data Mining, Inference, and Prediction. New York, NY: Springer; 2017.
    1. 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.
    1. Royston J, Abrams R. An objective method for detecting the shift in basal body temperature in women. Biometrics. 1980;36(2):217-224.
    1. 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.
    1. Eilers P, Marx B, Durbán M. Twenty years of P-splines. Stat Oper Res Trans. 2015;39(2):149-186.

Publication types

LinkOut - more resources