Crandore Hub

magentabook

HM Treasury Magenta Book Policy Evaluation Primitives

Implements policy evaluation primitives from HM Treasury Magenta Book guidance (HM Treasury, 2020): 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.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 magentabook_0.1.0.tar.gz 260.3 KiB
0.1.0 rolling linux/noble R-4.5 magentabook_0.1.0.tar.gz 259.9 KiB
0.1.0 rolling source/ R- magentabook_0.1.0.tar.gz 115.1 KiB
0.1.0 latest linux/jammy R-4.5 magentabook_0.1.0.tar.gz 260.3 KiB
0.1.0 latest linux/noble R-4.5 magentabook_0.1.0.tar.gz 259.9 KiB
0.1.0 latest source/ R- magentabook_0.1.0.tar.gz 115.1 KiB
0.1.0 2026-04-23 source/ R- magentabook_0.1.0.tar.gz 0 B

Dependencies (latest)

Imports

Suggests