The sections below discuss selected evaluation approaches based on relevant evaluation research (UK Cabinet Office, 2025[1]; Cunningham, 2021[2]; Callaway and Sant’Anna, 2021[3]; Lopez Bernal, Cummins and Gasparrini, 2016[4]; Imbens and Lemieux, 2008[5]; Stuart, 2010[6]; Abadie, 2021[7]; Varazzani et al., 2023[8]; UK Government, 2026[9]).
Approaches to Measuring the Impact of Artificial Intelligence in Government
Annex B. Selected evaluation approaches
Copy link to Annex B. Selected evaluation approachesRandomised controlled trials (RCTs)
Copy link to Randomised controlled trials (RCTs)Randomly assigns participants, cases, tasks, teams or other units to two or more conditions and compares outcomes across those conditions. The most common design assigns one group access to the AI system and another to business as usual. However, the comparator does not need to be a no-AI or no-treatment control. It may also be an existing AI system, a different model, a different prompt strategy, a different interface or another active version of the service. This means that a randomised A/B test can be an RCT when assignment is random and outcomes are compared using predefined metrics. Because assignment is random, observed differences in KPIs between conditions are less likely to be explained by pre-existing differences between groups. RCTs are generally regarded as the most robust method for estimating causal impact.
Key considerations:
Randomisation must be genuinely random and maintained throughout the study. The causal logic is undermined if participants switch between conditions, do not follow the condition they were assigned, drop out at different rates across conditions or communicate or otherwise affect one another across conditions.
Requires that withholding or limiting AI access for the control condition is practically and ethically acceptable for the duration of the trial. This is more feasible during a pilot or phased roll-out than once an AI tool is already in widespread use.
Sample size is important. The trial needs enough participants or units in each condition to reliably detect a meaningful difference in outcomes if one exists (so-called statistical power), particularly when expected effects are modest or outcomes are variable.
RCTs, as often designed, can be more expensive and time-consuming than other approaches, requiring controlled conditions and careful data collection over a set period. However, this reflects how they are set up rather than something inherent in the method. A simple RCT can be lighter than a more ambitious study using another approach, such as a sophisticated and data-intensive quasi-experimental study. The required skills also differ and include keeping randomisation clean, watching for spillover between groups and having enough cases to draw reliable conclusions.
Well suited to AI interventions where the unit of randomisation is clear (for example, individual users, tasks, cases, teams or offices) and where outcomes can be measured consistently across conditions.
Figure A B.1. Sample visualisation of a randomised controlled trial (RCT)
Copy link to Figure A B.1. Sample visualisation of a randomised controlled trial (RCT)
Note: Treatment effects are measured as the difference between the grey and blue markers.
Source: (Varazzani et al., 2023[8]).
A/B and variant testing
Copy link to A/B and variant testingCompares two or more candidate approaches to a task or service to see which performs better. For the purposes of this report, at least one variant would involve AI. Examples include two chatbot designs, two prompt strategies, two retrieval settings, two model versions or an AI-enabled approach compared with an existing non-AI service. A/B testing is presented as a separate entry from RCTs to reflect how the term is used in technology and product settings, but a randomised A/B test is methodologically a form of RCT with an active comparator.
If users, cases, tasks or organisational units are randomly assigned to the variants, this is a randomised A/B test and should be treated as an experimental design. It does not necessarily need a no-treatment control group to be useful. For example, a government may randomly assign enquiries to two different chatbot designs to see which produces more accurate responses, better escalation behaviour or higher user satisfaction. Such a test answers which variant performs better under the conditions tested. It does not necessarily answer whether introducing AI creates value compared with having no AI at all, unless one of the variants represents the current non-AI approach.
If assignment is not random, the same exercise is more accurately described as informal variant testing or product analytics. It may still support product improvement, especially where teams need to compare prompts, interfaces, workflows or configurations before deciding what to scale. However, without random assignment or another formal evaluation design, it provides weaker evidence and is not a sound basis on its own to make strong claims about whether the AI caused observed changes.
Key considerations:
Useful for product iteration and for comparing active alternatives, such as different prompts, retrieval settings, model versions or user interfaces.
Can be experimental when assignment to variants is random and the comparison is planned in advance.
Does not always estimate the overall impact of introducing AI compared with business as usual (if business as usual is a non-AI approach). It may instead answer a narrower question: “which approach works better?”
If the comparison is not randomised, evaluators should avoid strong causal claims.
May be particularly relevant to GenAI interventions where teams want to compare different system configurations, such as prompt designs, retrieval settings or model versions, against each other to identify which performs best for a given use case. In these settings, the question is often “which version works better?” rather than “does AI help at all?”, making a no-treatment control less important than a well-structured comparison between variants.
Figure A B.2. Sample visualisation of A/B and variant testing
Copy link to Figure A B.2. Sample visualisation of A/B and variant testingDifference-in-differences (DiD)
Copy link to Difference-in-differences (DiD)Compares the change over time in a treated group with the change over time in a similar, untreated group. For instance, an AI tool is introduced in one team and not another, facilitating comparisons between two groups.
Key considerations:
Randomisation can be used to improve reliability, but is not necessary.
If not randomised, comparison groups need to have parallel trends before the intervention, and should credibly have followed the same trend without the intervention.
Useful with repeated time points and a credible untreated comparison group; power improves with more units and periods measured.
Often useful when multiple treated units and at least one suitable comparison group are available; synthetic control is often used when there are few treated units (for example, one region) and many potential comparison units.
DiD is sensitive to changes in behaviour in anticipation of the intervention (e.g., employees switching teams to use AI).
DiD is sensitive to concurrent shocks or policies that hit groups differently (for example, a new management process introduced only in the treated team) and to composition changes (turnover, case-mix shifts).
Figure A B.3. Sample visualisation of difference-in-differences
Copy link to Figure A B.3. Sample visualisation of difference-in-differencesRegression discontinuity design (RDD)
Copy link to Regression discontinuity design (RDD)Compares cases just above and just below a threshold that determines access. For example, only cases with a risk score ≥ 70 are routed to the AI intervention. Provided that cases cannot influence which side of the threshold they fall on, those just above and just below are very similar, so differences in their outcomes can be attributed to the AI intervention. This identifies a local causal effect near the threshold.
Key considerations:
Requires many observations near the cut-off and a rule that is not easily manipulated. For example, if those who develop the risk score know that cases scoring ≥ 70 will be routed to the AI intervention, they might game the risk score to ensure more cases are sent to the AI intervention.
It is important to check that cases just above and below the cut-off are similar on observed characteristics and that there is no “bunching” around the threshold.
Access to background information and data helps check for similarity just above and below the cut-off.
If the threshold triggers multiple changes (not just the AI), attribution becomes difficult.
Not useful for understanding the impact on those further from the cut-off.
Figure A B.4. Sample visualisation of regression discontinuity design
Copy link to Figure A B.4. Sample visualisation of regression discontinuity designSynthetic control method (SCM)
Copy link to Synthetic control method (SCM)Evaluates interventions implemented at an aggregate level in a small number of units. It creates a “synthetic” control by combining data from several similar units so that, before an intervention, the combined trend closely matches that of the treated unit. Post-intervention differences between the treated unit and its synthetic control estimate the intervention’s impact when no single comparator is credible.
Key considerations:
Best when there are very few treated units, many untreated units and sufficient data on them, and when past outcomes are likely to strongly predict future outcomes.
Causal inference relies on how closely the synthetic control matches the treated unit’s outcomes in the pre-intervention period.
Has less statistical power for small effects, especially when outcomes are noisy (i.e., when outcomes fluctuate substantially for reasons unrelated to the intervention, making it harder to distinguish the intervention’s effect from normal variation) or time series are short. Alternatives may be preferable when the intervention is expected to have a small impact.
Requires specialist statistical expertise and careful design choices to construct a synthetic control.
Particularly relevant for government AI deployments where a single aggregate unit, such as one country’s justice system or one agency, adopts an AI system and no single comparator is a credible match. The method constructs a weighted combination of untreated units to approximate the treated unit’s trajectory.
Figure A B.5. Sample visualisation of synthetic control method
Copy link to Figure A B.5. Sample visualisation of synthetic control methodMatching and weighting
Copy link to Matching and weightingMatching and weighting are covariate-balancing techniques that improve the comparability of treatment and comparison groups based on observable characteristics. These techniques function primarily as preprocessing tools that can mitigate, but not necessarily eliminate, selection bias by aligning the distribution of key covariates across groups. They are most commonly and credibly used in combination with another evaluation design, for example by applying propensity score matching before a difference-in-differences analysis (as seen in case study 4 in Annex C).
Matching and weighting can also be used as the primary analytical strategy in an ex post comparison (that is, after an intervention has occurred). To do so, the method applies weights to individuals in the data based on observable characteristics to allow for comparisons between those who received the intervention and those who did not. However, this relies entirely on the assumption that all relevant confounders can be observed and matched on, which is a strong and untestable assumption. For this reason, ex post matched comparisons are generally considered less robust than designs that also incorporate a temporal dimension (such as DiD) and should be interpreted with caution.
Key considerations:
Most useful when rich data on key characteristics are available for both treated and untreated individuals. Ideally combined with before-and-after data (for example, DiD on the matched or weighted sample), which strengthens causal inference considerably.
Ex post comparisons are possible but fragile.
Must have sufficient data to observe and match on a rich set of characteristics that are important for both outcomes and treatment status.
The group that used the AI tool and the group that did not use it need to look broadly similar to begin with, for example in age, case complexity or region. If they are too different, the method has to compare people who have no real counterpart in the other group, and the results become unreliable.
Where one of the other quasi-experimental methods listed above can be applied, it is generally preferred, as it provides an independent source of causal identification which matching alone does not.
Figure A B.6. Sample visualisation of matching and weighting
Copy link to Figure A B.6. Sample visualisation of matching and weightingBefore-and-after studies
Copy link to Before-and-after studiesTracks one unit’s KPIs over time and tests for a change in level or trend at the intervention date. This can support impact assessment when users cannot be divided into multiple groups.
Key considerations:
Provides significantly weaker causal evidence because there is no separate comparison group.
May be particularly suitable when resources are limited.
Best conducted with highly stable contexts and outcome measures, clear intervention timing and enough data points before and after the intervention to model the underlying trend, with a focus on the period close to the intervention to limit the risk of confounding events.
Best avoided when other events or underlying trends may affect the outcome and cannot be controlled for, or when participants can anticipate the change and adjust their behaviour. Such confounding events and trends are common in practice.
Often the most practical option for government AI when a system is deployed to an entire service or organisation at once, leaving no untreated comparison group. This is common for enterprise-wide tools such as productivity assistants or whole-of-government platforms.
Figure A B.7. Sample visualisation of before-and-after studies
Copy link to Figure A B.7. Sample visualisation of before-and-after studiesReferences
[7] Abadie, A. (2021), “Using Synthetic Controls: Feasibility, Data Requirements, and Methodological Aspects”, Journal of Economic Literature, Vol. 59/2, pp. 391-425, https://doi.org/10.1257/jel.20191450.
[3] Callaway, B. and P. Sant’Anna (2021), “Difference-in-Differences with multiple time periods”, Journal of Econometrics, Vol. 225/2, pp. 200-230, https://doi.org/10.1016/j.jeconom.2020.12.001.
[2] Cunningham, S. (2021), Difference-in-Differences, Yale University Press, https://mixtape.scunning.com/09-difference_in_differences.
[5] Imbens, G. and T. Lemieux (2008), “Regression discontinuity designs: A guide to practice”, Journal of Econometrics, Vol. 142/2, pp. 615-635, https://doi.org/10.1016/j.jeconom.2007.05.001.
[4] Lopez Bernal, J., S. Cummins and A. Gasparrini (2016), “Interrupted time series regression for the evaluation of public health interventions: a tutorial”, International Journal of Epidemiology, p. dyw098, https://doi.org/10.1093/ije/dyw098.
[6] Stuart, E. (2010), “Matching Methods for Causal Inference: A Review and a Look Forward”, Statistical Science, Vol. 25/1, https://doi.org/10.1214/09-sts313.
[1] UK Cabinet Office (2025), Quasi-Experimental Designs, https://assets.publishing.service.gov.uk/media/67adca8a2535b0468badce35/6-etf-evaluation-academy-20-quasi-experimental-designs-slides.pdf.
[9] UK Government (2026), Guidance on the Impact Evaluation of AI Interventions, UK Evaluation Task Force, https://www.gov.uk/government/publications/the-magenta-book/guidance-on-the-impact-evaluation-of-ai-interventions-html.
[8] Varazzani, C. et al. (2023), “Seven routes to experimentation in policymaking: A guide to applied behavioural science methods”, OECD Working Papers on Public Governance, No. 64, OECD Publishing, Paris, https://doi.org/10.1787/918b6a04-en.