Package: magentabook 0.1.1
magentabook: HM Treasury Magenta Book Policy Evaluation Primitives
Implements policy evaluation primitives from HM Treasury Magenta Book guidance (HM Treasury, 2026): theory of change and log-frame construction, evaluation planning and stakeholder mapping, power and minimum-detectable-effect calculations for randomised designs (including cluster and stepped-wedge designs following Hussey and Hughes (2007) <doi:10.1016/j.cct.2006.05.007> and Hemming et al. (2015) <doi:10.1136/bmj.h391>), Maryland Scientific Methods Scale ratings, structured confidence ratings, light-weight difference-in-differences and interrupted-time-series estimators (Bernal et al. (2017) <doi:10.1093/ije/dyw098>) with cluster-robust standard errors (Cameron and Miller (2015) <doi:10.3368/jhr.50.2.317>), pre-treatment balance checks (Stuart (2010) <doi:10.1214/09-STS313>), and cost-effectiveness analysis (cost per outcome, incremental cost-effectiveness ratio, acceptability curves, incremental net benefit, quality-adjusted and disability-adjusted life years). Designed as the evaluation companion to the appraisal package 'greenbook'. Bundled rubric and reference tables carry vintage metadata for reproducibility. Aligned with the May 2026 republication of the Magenta Book.
Authors:
magentabook_0.1.1.tar.gz
magentabook_0.1.1.zip(r-4.7)magentabook_0.1.1.zip(r-4.6)magentabook_0.1.1.zip(r-4.5)
magentabook_0.1.1.tgz(r-4.6-any)magentabook_0.1.1.tgz(r-4.5-any)
magentabook_0.1.1.tar.gz(r-4.7-any)magentabook_0.1.1.tar.gz(r-4.6-any)
magentabook_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
magentabook/json (API)
| # Install 'magentabook' in R: |
| install.packages('magentabook', repos = c('https://charlescoverdale.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/charlescoverdale/magentabook/issues
Last updated from:a935b2602e. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 162 | ||
| source / vignettes | OK | 195 | ||
| linux-release-x86_64 | OK | 151 | ||
| macos-release-arm64 | OK | 146 | ||
| macos-oldrel-arm64 | OK | 90 | ||
| windows-devel | OK | 100 | ||
| windows-release | OK | 94 | ||
| windows-oldrel | OK | 91 | ||
| wasm-release | OK | 128 |
Exports:mb_assumptionsmb_balance_tablemb_ceamb_ceacmb_cluster_designmb_cmomb_confidencemb_confidence_summarymb_contribution_claimmb_counterfactualmb_dalymb_data_versionsmb_did_2x2mb_evaluation_planmb_evaluation_reportmb_event_studymb_icc_referencemb_icermb_inbmb_itsmb_logframemb_mdemb_powermb_qalymb_questionsmb_sample_sizemb_schedule_tablemb_sms_explainmb_sms_ratemb_stakeholdersmb_stepped_wedgemb_theory_of_changemb_to_excelmb_to_latexmb_to_word
Dependencies:cli
Last update: 2026-05-19
Started: 2026-04-28
Last update: 2026-04-28
Started: 2026-04-28
