carts: Simulation-Based Assessment of Covariate Adjustment in Randomized Trials (original) (raw)
Monte Carlo simulation framework for different randomized clinical trial designs with a special emphasis on estimators based on covariate adjustment. The package implements regression-based covariate adjustment (Rosenblum & van der Laan (2010) <doi:10.2202/1557-4679.1138>) and a one-step estimator (Van Lancker et al (2024) <doi:10.48550/arXiv.2404.11150>) for trials with continuous, binary and count outcomes. The estimation of the minimum sample-size required to reach a specified statistical power for a given estimator uses bisection to find an initial rough estimate, followed by stochastic approximation (Robbins-Monro (1951) <doi:10.1214/aoms/1177729586>) to improve the estimate, and finally, a grid search to refine the estimate in the neighborhood of the current best solution.
| Version: | 0.1.0 |
|---|---|
| Depends: | R (≥ 4.1), lava (≥ 1.8.0) |
| Imports: | data.table (≥ 1.14), logger (≥ 0.2.2), methods, progressr, R6 (≥ 2.5.1), survival, targeted (≥ 0.6), rlang |
| LinkingTo: | Rcpp (≥ 1.0.11), RcppArmadillo |
| Suggests: | future, tinytest, MASS, geepack, covr, pdftools, knitr, mets (≥ 1.3.4), rmarkdown, magick, pwr, pwrss |
| Published: | 2025-11-13 |
| DOI: | 10.32614/CRAN.package.carts |
| Author: | Benedikt Sommer [aut, cre], Klaus K. Holst [aut], Foroogh Shamsi [aut], Novo Nordisk A/S [cph] |
| Maintainer: | Benedikt Sommer |
| BugReports: | https://github.com/NovoNordisk-OpenSource/carts/issues |
| License: | Apache License (≥ 2) |
| URL: | https://novonordisk-opensource.github.io/carts/,https://github.com/NovoNordisk-OpenSource/carts |
| NeedsCompilation: | yes |
| Materials: | README, NEWS |
| CRAN checks: | carts results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=cartsto link to this page.