arXiv Science⌕ Search

arXiv subjects

Oluwatimileyin A. Adetunji

Publications and source records attributed to Oluwatimileyin A. Adetunji.

2 recordsLinked to original sources

svylearn: Design-consistent statistical learning, calibration, and inference for complex surveys

Standard machine-learning workflows assume independent, identically distributed observations, leading to optimistic risk estimates, miscalibrated probabilities, and invalid uncertainty quantification when applied to complex probability samples. We introduce svylearn, an R package for design-consistent statistical learning, recalibration, and inference across cross-sectional and longitudinal surveys. Built on a strict separation between model development and evaluation, svylearn partitions data by whole primary sampling units (preserving all waves of longitudinal subjects), learns weighted preprocessing and hyperparameter tuning strictly inside training folds, and applies nested out-of-fold recalibration with auditable stabilization rules for rare outcomes. A unified evaluation interface (svy_eval()) reports design-based proper scores, rank metrics, calibration diagnostics, clinical utility, covariate-shift transport checks, weighted split-conformal intervals, and bounded-weight sensitivity analyses, explicitly distinguishing conditional fixed-score inference from complete-workflow replication. The package uses a lightweight S3 architecture with zero required third-party modeling dependencies at attachment, delegating estimation to optional learners (glmnet, ranger, xgboost, nnet) and survey variance calculations to survey. We verify numerical parity against survey and independent Python reference kernels, evaluate finite-sample behavior across extensive Monte Carlo simulations and stress tests, and demonstrate applied workflows using NHANES and longitudinal ECLS-K:2011 data. The baseline binary evaluation kernel processes one million records in 0.39 seconds, providing survey analysts with an auditable, reproducible end-to-end prediction pipeline.

stat.CO↗

coherentSurv: Coherent Survival Modelling and Dynamic Forecasting for Recurrent and Terminal Events in R and Python

Researchers studying recurrent events and terminal outcomes need software that connects incomplete event histories to interpretable forecasts and uncertainty estimates. We present coherentSurv, an R package for fitting history-dependent recurrent and terminal event models, predicting future event burden and terminal-event risk, and assessing sensitivity to incomplete observation. Users supply event histories, covariates and observation information; the package returns fitted models, dynamic forecasts, uncertainty summaries and diagnostic measures under explicitly stated assumptions. The package integrates over event histories compatible with tied dates or observation windows and supports several frailty distributions for between-subject heterogeneity. A shared probability model generates recurrent-event counts, terminal-event probabilities and restricted mean time alive. Cross-fitted targeting provides influence-function diagnostics and asymptotic inference in supported missing-at-random and right-censoring settings. Separate sensitivity analyses provide bounds under specified recording restrictions. A baseline binary-treatment interface estimates standardized treatment contrasts under consistency, conditional exchangeability, positivity and independent censoring. A compiled C++17 core supports an R interface and Python access to the same implementation through rpy2 and Rscript. Independent numerical checks, computational benchmarks, simulation experiments and reproducible examples document accuracy, performance and inferential limitations. Outputs retain observation assumptions, convergence information and numerical diagnostics. The package, tutorials and replication materials are publicly available, supporting transparent analysis across clinical and other event-history applications.

stat.CO↗