Changelog
Source:NEWS.md
RDataScienceCompendium 0.2.0
First release as an installable, tested R package and research compendium.
New features
-
boot_ci(): percentile, basic, normal and BCa bootstrap intervals, numerically identical toboot::boot.ci();jackknife_influence(). -
perm_test(): exact or Monte Carlo two-sample permutation and one-sample/paired sign-flip tests with Phipson-Smyth p-values. -
cohens_d(),hedges_g(),hedges_correction(): standardised mean differences with exact noncentral-t intervals. -
run_simulation(),sim_performance(),sim_n_required(),rng_streams(): reproducible simulation studies with per-replicate L’Ecuyer-CMRG streams, captured failures, and Morris et al. (2019) performance measures with Monte Carlo SEs. -
make_folds(),cross_validate(),nested_cv(): stratified, grouped and nested cross-validation, reporting fold-averaged and pooled estimates. -
auc(),auc_ci()(DeLong),brier_score(),log_loss(),calibration(),rmse(),mae(),r_squared(). -
simulate_linear(),simulate_logistic(),ar1_cor(): data generators with known ground truth.
Research compendium
-
analysis/: two ADEMP simulation studies (interval coverage under skew; optimism of cross-validation after model selection) with committed results, figures and a paper, regenerated bymake analysis. - Three vignettes covering resampling inference, simulation studies and model evaluation.
Infrastructure
- R CMD check on Linux, macOS and Windows (R 4.1 to devel), coverage, lintr and pkgdown workflows.
- Reproducible Docker image and a real
renv.lock. - The previous tutorial scripts moved from
R/tomodules/. All 26 scripts, 4 case studies and 3 Shiny apps now run (previously 6 scripts did, and no case study rendered) and are exercised in CI bymodules/check-modules.R. - The case studies no longer contain hard-coded “results”: every reported number is computed from the (simulated) data, and several methodological errors were fixed, e.g. model selection on the test set,
cor()^2used as out-of-sample R², and misaligned cluster labels.