Package: recoverlite 0.2.0

Heidi Helena Andersen
recoverlite: Pre-Data Recovery Tests for Planned Study Designs
A prototype implementation of the pre-data recovery test: a standardized simulation protocol for evaluating whether a planned design-analysis pair can recover its target estimand before data collection. Researchers declare the estimand, data-generating assumptions, data strategy, missing-data process, and analysis strategy; the package simulates a crossed scenario grid (null and target effects, each under declared and pessimistically perturbed nuisance assumptions), applies the planned analysis to each simulated dataset, and reports target-null rejection, power, target bias with its exact decomposition into estimator bias and estimand drift, coverage, Type S and Type M errors, precision, and classified model failure, each with Monte Carlo uncertainty and explicit inclusion rules. A versioned threshold profile converts the diagnosands into a PASS/RISK/FAIL verdict - a decision convention, not a validity classification. Built on the 'DeclareDesign' framework.
Authors:
recoverlite_0.2.0.tar.gz
recoverlite_0.2.0.zip(r-4.7)recoverlite_0.2.0.zip(r-4.6)recoverlite_0.2.0.zip(r-4.5)
recoverlite_0.2.0.tgz(r-4.6-any)recoverlite_0.2.0.tgz(r-4.5-any)
recoverlite_0.2.0.tar.gz(r-4.7-any)recoverlite_0.2.0.tar.gz(r-4.6-any)
recoverlite_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
recoverlite/json (API)
| # Install 'recoverlite' in R: |
| install.packages('recoverlite', repos = c('https://heidihelena.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/heidihelena/recoverlite/issues
clinical-trialsdeclaredesignestimandsmetasciencemonte-carlopower-analysispreregistrationresearch-methodssimulationstatisticsstudy-design
Last updated from:cf27d33b3d. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 175 | ||
| source / vignettes | OK | 200 | ||
| linux-release-x86_64 | OK | 164 | ||
| macos-release-arm64 | OK | 95 | ||
| macos-oldrel-arm64 | OK | 81 | ||
| windows-devel | OK | 94 | ||
| windows-release | OK | 101 | ||
| windows-oldrel | OK | 109 | ||
| wasm-release | OK | 155 |
Exports:attrition_modelcluster_trialdeclare_recoveryeffect_fragilitymeasured_outcomenuisance_fragilityplanned_analysisrecovery_testrecovery_test_stablerecovery_thresholdsreporttarget_estimandtwo_arm_trialverdict
Dependencies:DeclareDesignestimatrfabricatrFormulagenericsrandomizrRcppRcppEigenrlang
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Declare the attrition (missing-outcome) model | attrition_model |
| Declare a cluster-randomized trial data strategy | cluster_trial |
| Declare a recovery design | declare_recovery |
| Effect-size fragility curve | effect_fragility |
| Declare the measurement model for the observed outcome | measured_outcome |
| Nuisance-parameter fragility curve | nuisance_fragility |
| Declare the planned analysis (answer strategy) | planned_analysis |
| Run the recovery test | recovery_test |
| Run the recovery test under the algorithmic doubling stopping rule | recovery_test_stable |
| Versioned verdict threshold profiles | recovery_thresholds |
| Produce the standalone recovery report | report |
| Declare the target estimand | target_estimand |
| Declare a two-arm randomized trial data strategy | two_arm_trial |
| Apply the PASS/RISK/FAIL verdict rule | verdict |