---
title: "Cluster-Randomized Experiments"
description: "Test programs that reach whole groups — like schools, clinics, or villages — and still measure what changed for each person."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.evidential.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Cluster-Randomized Experiments

_Published 2026-07-01._

We're excited to announce that **Evidential now supports cluster-randomized experiments**, so you can test programs
that are delivered to whole groups instead of one person at a time.

## What are cluster-randomized experiments?

Many programs reach people as a group. A new curriculum goes to a whole school. A training goes to every nurse at a
clinic. An outreach campaign covers every household in a village. You can't give half a classroom a new teaching
method — and even if you could, people talk, and the idea spreads to the other half.

In a **cluster-randomized experiment**, Evidential assigns whole groups — we call them **clusters** — to each arm.
Everyone in a school, clinic, or village gets the same version of your program. You still measure results for each
participant: each student's test score, each patient's follow-up visit, each household's savings.

## Why this matters

- **Test your program the way you run it.** No need to redesign how you deliver it to fit the experiment.
- **Keep your comparison clean.** When whole groups get the same arm, your program is less likely to spill over into
  the control arm and hide its real effect.
- **Plan with realistic numbers.** People in the same group tend to have similar outcomes — students at one school
  often score alike. So 1,000 students from 20 schools tell you less than 1,000 students picked at random from many
  different schools. Evidential factors this in when it estimates how many clusters you need, and again when it
  analyzes your results.

## How to use it

Cluster randomization works with **Preassigned A/B** experiments:

1. When you choose your participant table, set **Cluster key** to the field that identifies each group, such as
   `school_id` or `village`.
2. Estimate your sample size. Evidential looks at your data to see how alike participants in the same cluster are and
   how much cluster sizes vary, then tells you how many clusters you need. If you have better numbers from a past
   study, you can enter them instead.
3. Pick how many clusters to include. Evidential randomly assigns whole clusters to your arms, spreading large and
   small clusters across them, and shows how many clusters landed in each arm.

From there, everything works like any other Preassigned A/B experiment, and your results account for clustering
automatically.

Want the details? See [Experiment design types](https://docs.evidential.dev/concepts/experiment-design-types/#preassigned-ab-cluster-randomized)
and [Statistical methods](https://docs.evidential.dev/concepts/statistical-methods/).

## What problems can this solve?

- Testing a curriculum, tutoring model, or teacher training across schools.
- Comparing ways of running clinics, health campaigns, or community health worker programs.
- Rolling out a program village by village and measuring how it changes household outcomes.

✨ With cluster-randomized experiments, you can test programs the way you deliver them, and still learn what changed
for each person.

Source: https://docs.evidential.dev/news/cluster-randomized-experiments/index.mdx
