Pick how to randomize the test

choose-trial-design

Testv0.3.0atomicdraftThe Agency Fund

Chooses the comparison for one test: which randomized design, at which unit.

What this adds: marks unstated constraints "unknown" instead of guessing; rules six designs in or out, each against a named constraint; requires a recorded random draw and a named person who agreed to any delay; names a runner-up; and says plainly when no randomized design fits.

Expert reviews are for staff at The Agency Fund and Irrational Labs; anyone can rate.

Skill

The instructions your AI follows when this skill runs. Installing the skill gives it this file and everything in the other tabs.

SKILL.mdView on GitHub

Takes in

experiment-intentExperiment intent statement
choose-trial-design

Produces

evaluation-designEvaluation designUsed by estimate-sample-size, write-pre-analysis-plan

See it on the map

Install

/plugin marketplace add agency-fund/besci-skills
/plugin install besci-skills@besci-skills

What it does

Chooses the comparison for one test: which randomized design, at which unit.

What this adds: marks unstated constraints "unknown" instead of guessing; rules six designs in or out, each against a named constraint; requires a recorded random draw and a named person who agreed to any delay; names a runner-up; and says plainly when no randomized design fits.

When to use it

Use it when

  • Someone asks "individuals or villages?" or "how do we test this when everyone must get it eventually?"
  • People reached through one channel (a health worker, a WhatsApp group) would mix with others
  • The intervention has separable components or versions, and the decision needs to know which matter

Do not use it when

  • The outcome or its data source is still open; use plan-evaluation-design
  • The design is chosen and the team needs the estimator or a registry entry; use write-pre-analysis-plan
  • The design is set and the question is how many units; use estimate-sample-size
  • The team must first learn whether the program can be delivered at all; use design-pilot-feasibility-study

Before you start

Ask only what the user has not answered. Each required answer decides a branch: if one is missing, ask and stop.

  1. Required. The change, who gets it, the outcome, and the decision the result informs.
  2. Required. How the change could reach people not assigned it (talk, a shared worker or phone).
  3. Required. Must every unit get it by a date; how many can start per period; can some wait, and who decides.
  4. Required. Can the program decide who receives it, or only who is offered it?
  5. Required. How many components or versions, and whether the decision needs each one's value.
  6. Optional. Unit counts at each level, and periods; without them, feasibility is unchecked.

What it draws on

  • Haynes, L., Service, O., Goldacre, B., & Torgerson, D. (2012). Test, Learn, Adapt. Cabinet Office. https://assets.publishing.service.gov.uk/media/5a7488c8e5274a7f9c586c23/TLA-1906126.pdf Supports: people, institutions, or areas as the unit; a random order for a staggered rollout; a draw nobody with a stake can steer.
  • Kopper, S., & Sautmann, A. (2023). Randomization. J-PAL Research Resources. https://www.povertyactionlab.org/resource/randomization Supports: the delivery unit, or one containing spillovers, as the unit; stratification; a replicable draw.
  • Duflo, E., Glennerster, R., & Kremer, M. (2007). Using randomization in development economics research: A toolkit. In Handbook of Development Economics (pp. 3895–3962). Elsevier. https://doi.org/10.1016/S1573-4471(07)04061-2 Supports: phase-in, encouragement, and factorial designs, and how each fails.
  • Hemming, K., Haines, T. P., Chilton, P. J., Girling, A. J., & Lilford, R. J. (2015). The stepped wedge cluster randomised trial: rationale, design, analysis, and reporting. BMJ, 350, h391. https://doi.org/10.1136/bmj.h391 Supports: the stepped-wedge row.

Where the evidence comes from: This is a design procedure and makes no claim about how people behave. Its sources are UK guides, J-PAL's research guidance, and a toolkit by development economists with many examples from Kenya and India. The constraints that decide the design (phased rollouts, shared workers, few administrative units) are local facts.

Replication status: Not applicable: these are design methods, not interventions. Their limits are stated with each design below.

How to do it

  1. Fill the constraints table. Mark anything not stated "unknown"; do not guess.
  2. Rule each design in or out against a named constraint, and note what each surviving one costs:
    • Individual: delivered to individuals, no spillovers, some can go without for the study period.
    • Cluster: the change is delivered to, or spreads within, a group (a class, a clinic). Randomize the smallest unit that contains the spread; it needs more people for the same precision.
    • Stepped-wedge (randomized phase-in): everyone must get it and capacity forces phases. Randomize the order, measure every unit in every period, and model time.
    • Factorial: separable components whose separate value the decision needs. Cross them so each unit gets one combination.
    • Multi-arm: several versions of one change, and the decision is which. Each arm splits the sample; similar versions need many units to tell apart.
    • Encouragement: the program controls only the offer. Randomize the offer; it works only if the offer changes take-up a lot.
  3. Choose one, naming the deciding constraints. If nothing can be randomized, not even the order or the offer, write "No randomized design fits" and give the specialist note.
  4. Specify it: unit, the groups and how many units each gets, timing, and what to stratify on (a variable that predicts the outcome, or a subgroup the decision cares about).
  5. Say how assignment is drawn (software with a recorded seed, or a public lottery where fairness must be seen; by someone with no stake; filed before launch), and who agreed to any delay or withholding, on what grounds.
  6. Name the runner-up and the condition that would make it the choice.

See references/worked-example.md for a complete run.

Output template

<Two or three plain sentences to the user: the design you would choose and what it randomizes, the constraint that decided it, and anything still unknown that could change it.>

# How to randomize the test: <test>

**Change tested:** <what, for whom>
**Outcome:** <as given>
**Decision this informs:** <...>

## Constraints
| Constraint | Answer | Source |
|---|---|---|
| Spillovers: can it reach people not assigned it? | <none / within <group> via <channel> / unknown> | <who said so> |
| Delivered to | <individuals / <group>> | <...> |
| Rollout | <all at once / <n> units per <period> / unknown> | <...> |
| Can some wait or go without? | <some can go without for <period> / all by <date> / none> | <...> |
| What the program controls | <assigns who receives it / only the offer> | <...> |
| Components or versions | <n>; decision needs each one's value: <yes / no> | <...> |
| Units available | <people, groups at each level, periods / unknown> | <...> |

## Designs ruled in or out
| Design | Verdict | Because | What it costs |
|---|---|---|---|
| Individual: randomize people | <in / out> | <constraint> | <...> |
| Cluster: randomize groups | <...> | <...> | <...> |
| Stepped-wedge: randomize the order of a phased rollout | <...> | <...> | <...> |
| Factorial: cross the components | <...> | <...> | <...> |
| Multi-arm: several versions side by side | <...> | <...> | <...> |
| Encouragement: randomize the offer | <...> | <...> | <...> |

## Chosen design: <name, or "No randomized design fits">
- **Unit of randomization (what is assigned at random):** <...>
- **Groups compared, and how many units in each:** <...>
- **Stratified by (drawn separately within each):** <variable: why>
- **Timing:** <periods, steps, dates>
- **How assignment is drawn:** <method, seed or witness, who draws, when filed>
- **Who agreed that some wait or go without:** <name or role; grounds>

## Runner-up: <name>
<the condition that would make it the choice>

## Open questions
- <each "unknown" constraint and how it could change the design>

## Where you could go from here
<One line saying the design choice is done.>
<Two or three next moves that fit what this run found, each with why it would help and when it fits. Candidates:
- `estimate-sample-size`, when a design is chosen and the team needs to know whether the units available are enough, or how many each group needs
- `write-pre-analysis-plan`, when the design is settled and the analysis should be fixed and filed before the draw
- `plan-evaluation-design`, when the outcome or its data source turned out to be vague while the constraints were filled
- `design-pilot-feasibility-study`, when it is unknown whether staff will deliver each group's version as assigned, or whether the rollout capacity holds
- the implementing authority or an ethics board, when a delay or withholding has no named person agreeing to it yet
- an evaluation methodologist, when no randomized design fits, the unit is a few administrative areas, or a stepped-wedge is chosen>
Questions you could ask next: "<question>" · "<question>"

How to talk with the user

  • If the user asked a question rather than asked for this skill's output, answer the question first, in a few plain sentences. Then offer the run and say what it would add.
  • Mark the run. When it starts, say so in one line: the skill, and what it will produce. When the output is done, say the run is finished. The user should always know when the library's method is in force.
  • Talk with the person, not at them. Use their words for their program and the people in it, say why you ask each question, and say what you are unsure of. No praise, no filler.
  • Say where each claim comes from: this skill's sources, your general knowledge, or nothing in the library. A number the sources do not give, such as how many interviews to run, is your judgment; say so, and why you chose it.
  • End with the template's closing: two or three next moves that fit what this run found, each with its reason and when it fits, and one or two questions the user could ask next. Say which move you would lean toward and why; the user decides.

Where it goes wrong

  • Few clusters treated as a trial. Eight districts, four per arm, is not a trial, however many people live there.
  • A phase-in that measures nothing. The later group starts before the effect can show, or holds back once told the program is coming.
  • An assignment nobody follows. Staff treat whoever seems neediest, or procurement keeps its usual order. Prefer a simpler design the partner will hold to.
  • A factorial read for interactions. A design sized to estimate each component cannot say whether they work better together.

When to bring in a specialist

Tell the user to consult an evaluation methodologist, with an ethics board and the implementing authority where relevant, when:

  • No randomized design fits: a quasi-experimental design (a comparison built from data, such as a matched group or an eligibility cutoff) is needed, and a specialist should choose it
  • The unit is an administrative area and there are few of them
  • A stepped-wedge is chosen; its time model needs a statistician before the first step
  • A ministry, community leaders, or a funder contest the randomization

Bring them: the constraints and designs tables, unit counts, and the rollout calendar.

Cite this skill

Zezhen Wu (2026). Pick how to randomize the test (version 0.3.0) [AI skill]. Behavioral Science Skills Library, The Agency Fund and Irrational Labs. https://besci-skills.vercel.app/skills/choose-trial-design/

Skills are fixed, versioned artifacts. Record the skill name and version in your project documentation the way you would register analysis code. See how to cite skills and workflows, which follows Busara's SIFA framework for stating how humans and AI contributed.

Using this skill inside a commercial AI product sends what you type to that product's provider. Do not paste sensitive personal or proprietary data without understanding the product's terms. Read the disclosure.

Test cases

Realistic requests used to check this skill, each paired with what a good answer must contain. Maintainers rerun them with besci-eval when the skill or the AI model changes. They also show the kind of request the skill is built for.

evals/evals.jsonView on GitHub

Test case 1: Full run

The request

We distribute HIV self-test kits through 120 community pharmacies across 10 local government areas in Lagos. We want to test two changes: a subsidy that cuts the kit price from 2,000 to 500 naira, and a peer-referral voucher that lets a buyer give a free kit to a partner. Outcome: share of adult customers offered a kit who buy one, from the pharmacy log. The state program will decide whether to scale the subsidy, the voucher, or both to all 20 LGAs. Customers of the same pharmacy talk to each other, and vouchers travel to partners who may use another pharmacy in the same LGA. The state wants every pharmacy covered within 12 months; pharmacies can be delayed but not excluded. We can launch in all 120 at once. We can only offer the subsidy at the pharmacy, not assign who buys. We need to know whether the voucher adds anything beyond the subsidy. How should we randomize?

What a good answer includes

A trial design choice in the output template that randomizes pharmacies in a factorial design covering every pharmacy by month 12, with a named runner-up.

Checks on the answer

  • Uses the pharmacy as the unit of randomization, ruling out individual customers because of spillovers or a price set at the pharmacy.
  • Chooses a factorial (or four-arm) design because the decision needs the voucher's value beyond the subsidy.
  • Treats every pharmacy by month 12 through a waitlist or stepped rollout.
  • Says how the assignment is drawn and recorded, and who agreed to the delay.
  • Names a runner-up and the condition that would make it the choice.
  • Ends with two or three next moves, each with its reason, and questions the user could ask next, with no single instruction.

Test case 2: Missing context

The request

We want to run an RCT of our savings SMS. What design should we use?

What a good answer includes

The skill asks its required questions about the test, spillovers, rollout, control, and components, and produces nothing else.

Checks on the answer

  • Asks whether the SMS could reach people not assigned to it, for instance through shared phones or groups.
  • Asks whether everyone must receive it eventually or some can go without.
  • Asks what decision the result will inform.
  • Does not produce the constraints table.
  • Does not recommend a design.
  • Says why it needs these answers.

Test case 3: Near the escalation point

The request

The county agriculture office in Western Kenya wants to test SMS advice on fertilizer timing. They insist on randomizing at the sub-county level, there are 8 sub-counties, and the governor's office has said no sub-county can be left without the service. Farmers in the same group share phones and advice. What design?

What a good answer includes

The skill fills what it can, rejects an eight-sub-county design, proposes randomizing farmer groups within every sub-county, and tells the user to bring in an evaluation methodologist and the county authority.

Checks on the answer

  • Says eight sub-counties are too few to randomize as the unit.
  • Proposes randomizing farmer groups, or another unit below the sub-county, so every sub-county receives the service.
  • Gives shared phones and advice within a group as the reason the group, not the farmer, is the unit.
  • Tells the user to consult an evaluation methodologist.
  • Says to involve the county authority or an ethics board because the randomization is contested.
  • Says what to bring to the specialist.

Test case 4: Wrong skill

The request

We have settled on randomizing 60 villages for the sanitation program, 30 per arm. How many households per village do we need to survey?

What a good answer includes

The skill says the design is chosen and the question is sample size, and points to the skill for that.

Checks on the answer

  • Says the design and unit of randomization are already chosen.
  • Names estimate-sample-size.
  • Does not produce the constraints table.

References

Longer material the skill opens only when a step calls for it, which keeps the main instructions short.

references/View on GitHub

Worked example: HIV self-test kits through pharmacies in Lagos

references/worked-example.md64 linesView on GitHub

A full run of the skill on a realistic case, showing the output it should produce.

A full run of the skill on a realistic case, showing the output it should produce. The case is illustrative, not a real program.

The request

"We distribute HIV self-test kits through 120 community pharmacies, 12 in each of 10 local government areas (LGAs) in Lagos. We want to test two changes: a subsidy that cuts the kit price from 2,000 to 500 naira, and a peer-referral voucher that lets a buyer give a free kit to a partner. Outcome: the share of adult customers offered a kit who buy one, from the pharmacy sales log. The state program will decide whether to scale the subsidy, the voucher, or both to all 20 LGAs. Customers of the same pharmacy talk to each other, and partners may redeem vouchers at another pharmacy in the same LGA. The state program director says every pharmacy must have whatever works within 12 months; a pharmacy can wait, but none can be left out. Our team can launch in all 120 pharmacies in the same month. We set the price and hand out vouchers at the pharmacy; we cannot decide who buys. How should we randomize?"

The output

I'd randomize pharmacies, not customers, into four groups that cross the subsidy with the voucher, so the state program learns what each one adds. Two facts decided it: the pharmacy sets the price and hands out the vouchers, and the decision needs each change's separate value. One thing still unknown could weaken the comparison: how often vouchers are redeemed at a pharmacy other than the one that issued them.

# How to randomize the test: kit subsidy and partner voucher, Lagos pharmacies

**Change tested:** a price subsidy (2,000 to 500 naira) and a partner voucher, offered at community pharmacies
**Outcome:** share of adult customers offered a kit who buy one, from the pharmacy sales log
**Decision this informs:** scale the subsidy, the voucher, both, or neither to all 20 LGAs

## Constraints
| Constraint | Answer | Source |
|---|---|---|
| Spillovers: can it reach people not assigned it? | Within a pharmacy, through customers talking and a price posted at the counter; across pharmacies in an LGA, through vouchers redeemed elsewhere | Program staff |
| Delivered to | The pharmacy: it sets the price and hands out vouchers | Program design |
| Rollout | All 120 can launch in the same month | Program team |
| Can some wait or go without? | Any pharmacy can wait; all must have what works by month 12 | State program director |
| What the program controls | Assigns the subsidy and voucher to pharmacies; cannot assign who buys | Program design |
| Components or versions | 2; the decision needs each one's value: yes | State program |
| Units available | 120 pharmacies, 12 per LGA in 10 LGAs; 12 months | Program records |

## Designs ruled in or out
| Design | Verdict | Because | What it costs |
|---|---|---|---|
| Individual: randomize people | Out | The price is posted for everyone at the counter, and customers of one pharmacy talk | None |
| Cluster: randomize groups | In | The pharmacy delivers both changes, so the pharmacy is the unit | Fewer independent units than customers, so effects are estimated less precisely |
| Stepped-wedge: randomize the order of a phased rollout | Out for now; runner-up | Every pharmacy must be covered, but capacity does not force phases | Effects confounded with time unless time is modeled |
| Factorial: cross the components | In, chosen | Two separable components, and the decision needs each one's value | Each component is compared on 60 against 60 pharmacies; whether they work better together is beyond its reach |
| Multi-arm: several versions side by side | Not needed | The versions to compare are the four combinations, which the factorial already gives | None |
| Encouragement: randomize the offer | Out | The program controls the change at the pharmacy; buying is the outcome, not take-up of a treatment | None |

## Chosen design: pharmacy-level 2×2 factorial with a waitlist
- **Unit of randomization (what is assigned at random):** the pharmacy
- **Groups compared, and how many units in each:** four groups of 30 pharmacies: no change; subsidy only; voucher only; subsidy and voucher
- **Stratified by (drawn separately within each):** LGA, 3 pharmacies per group in each, because testing demand differs between LGAs and this keeps every group present wherever vouchers circulate
- **Timing:** months 1 to 6 are the test; from month 7, every pharmacy gets whichever combination the state program chooses, completed by month 12
- **How assignment is drawn:** in software from the list of 120 pharmacy IDs with the seed recorded, by the evaluation team, which has no stake in the result; the list and seed are filed with the state program before any pharmacy is told its group
- **Who agreed that some wait or go without:** the state program director, on the grounds that kits stay on sale at full price everywhere and the six-month wait ends for every pharmacy by month 12

## Runner-up: three-step stepped-wedge at the pharmacy level
It becomes the choice if launch capacity turns out to be limited, for instance to 40 pharmacies a quarter. Each step would then need to cross the two components for the decision to learn the voucher's separate value.

## Open questions
- How often vouchers are redeemed at a pharmacy other than the one that issued them. If often, redemptions in pharmacies without the voucher dilute the comparison.
- Whether the ethics board must approve the delay before the draw: ask the state program director.

## Where you could go from here
That's the design choice.
- Check the numbers with `estimate-sample-size`: each change is compared on 60 pharmacies against 60, and whether that can detect the change in purchases the state program cares about depends on figures not given here, such as customers offered a kit per pharmacy each month.
- Ask the state program director now whether the ethics board must approve the six-month wait: the draw cannot be filed until that is settled, and the answer may move the launch date.
- Fix the analysis with `write-pre-analysis-plan` before the draw: it is where to decide, in advance, how vouchers redeemed at another pharmacy will be counted.
I'd lean toward the sample-size check first, because if 60 pharmacies a side is too few, the design has to change before anything else is fixed.
Questions you could ask next: "What changes if we can only launch 40 pharmacies a quarter?" · "How do we explain the six-month wait to pharmacies drawn into the no-change group?"

Evidence: Pick how to randomize the test

references/evidence.md37 linesView on GitHub

The sources behind the skill: what each supports, where the evidence has been tested, and what to check locally.

Sources

  • Haynes, L., Service, O., Goldacre, B., & Torgerson, D. (2012). Test, Learn, Adapt. Cabinet Office. https://assets.publishing.service.gov.uk/media/5a7488c8e5274a7f9c586c23/TLA-1906126.pdf Supports: the multi-arm row, from step 1 ("Identify two or more policy interventions to compare (e.g. old vs new policy; different variations of a policy)"); the unit, from step 3, which may be "individuals, institutions (e.g. schools), or geographical areas", where groups mean "a larger sample of individuals is required, and special methods of analysis are also needed", and where whole classes were once randomized "to avoid resentful demoralisation"; the stepped-wedge row, from Box 10, where a staggered roll-out with "a willingness to randomly decide which area goes first" becomes "a 'stepped-wedge' design trial"; and step 6 of the skill, from step 5, because "people who have a vested interest in a study may try to allocate people in a nonrandom manner, albeit unconsciously". Steps 1 to 5 read.
  • Kopper, S., & Sautmann, A. (2023). Randomization. J-PAL Research Resources. https://www.povertyactionlab.org/resource/randomization Supports: the cluster row: "At a minimum, the unit of randomization should be the unit at which the treatment will be delivered, and ideally at a unit that minimizes spillovers"; "moving up in level of randomization decreases the study's effective sample size". Step 4: stratification variables "should thus be ones you expect to be correlated with the outcome of interest, or those for which you are interested in differential or heterogeneous treatment effects". Step 5: a draw in software from a list is replicable, while a public lottery "may hence be preferable in instances where it is desirable or necessary to actually show participants that their treatment assignment is random" but "is not replicable". The specialist note on spread as the question: designs that vary "the share of observational units in the cluster that receive the treatment". Read in full.
  • Duflo, E., Glennerster, R., & Kremer, M. (2007). Using randomization in development economics research: A toolkit. In Handbook of Development Economics (pp. 3895–3962). Elsevier. https://doi.org/10.1016/S1573-4471(07)04061-2 Supports: the stepped-wedge row and "A phase-in that measures nothing": randomizing the order "can allow evaluation of program effects in contexts where it is not acceptable for some groups or individuals to receive no support"; "the time between phases should be sufficient to encompass any treatment lag"; and phase-in fails "when the comparison group is affected by the expectation of future treatment". The encouragement row: designs for a program "available in the entire study area but whose take up is not universal", whose power falls with the difference in take-up between groups. The factorial row and "A factorial read for interactions": with two cross-cut interventions there are four groups, and testing whether one works differently with the other needs a sample "sufficient to allow her to statistically distinguish A versus A and B, as well as B versus A and B". The multi-arm row: comparing two similar treatments "may require a larger sample size than the evaluation of either treatment separately would". "An assignment nobody follows": "It is much easier for a research team to ensure that villages are being treated according to an initial random assignment than to monitor individuals." Read in the NBER Technical Working Paper 333 version (2006), sections 3 to 5.
  • Hemming, K., Haines, T. P., Chilton, P. J., Girling, A. J., & Lilford, R. J. (2015). The stepped wedge cluster randomised trial: rationale, design, analysis, and reporting. BMJ, 350, h391. https://doi.org/10.1136/bmj.h391 Supports: the stepped-wedge row and the specialist note on it. The design "can reconcile the need for robust evaluations with political or logistical constraints"; "the effect of the intervention might be confounded with any underlying temporal trend"; "Sample size calculations and analysis must make allowance for both the clustered nature of the design and the confounding effect of time"; and when the intra-cluster correlation is small "parallel studies tend to deliver better statistical performance than a stepped wedge trial", while with larger correlations or large clusters the stepped wedge "will be more powerful". Abstract only.
  • Gupta, S., & Kopper, S. (2021). Power calculations. J-PAL Research Resources. https://www.povertyactionlab.org/resource/power-calculations Supports: the multi-arm row ("Ensure that the study is powered for the smallest MDE among the comparisons that will be made (though this can significantly increase costs if comparing two similar treatments)") and the encouragement row as an option where withholding is a concern, "where the entire eligible population has access to the program, but only the treatment group receives encouragements to take it up".
  • Skivington, K., Matthews, L., Simpson, S. A., et al. (2021). A new framework for developing and evaluating complex interventions: update of Medical Research Council guidance. BMJ, 374, n2061. https://doi.org/10.1136/bmj.n2061 Supports: the rule for when no randomized design fits: "Non-randomised designs and modelling approaches might work best if a randomised design is not practical, for example, in natural experiments or systems evaluations." Full text; the passage on designs read.

Three rules are this skill's own and come from no source: every unstated constraint is marked "unknown"; a runner-up is always named with the condition that would make it the choice; and the output names the person who agreed to any delay or withholding.

Where it has been tested

Searched November 2026. The skill is a design procedure and makes no claim about how people behave, so this table records where its sources come from.

Source Type Countries Finding
Haynes et al. (2012) Government guide; steps 1 to 5 read United Kingdom, with examples from Kenya and India Sets out the choice of unit and a robust draw. Reports no test of them
Kopper & Sautmann (2023) Research guidance; read in full Written for randomized evaluations in any country Sets out unit choice, stratification, and how to draw. Reports no test of them
Duflo, Glennerster & Kremer (2007) Methods chapter; sections 3 to 5 read Examples mostly from Kenya, India, and Mexico In a Kenyan deworming trial, randomizing schools found larger effects than earlier trials that randomized children within schools, which the authors attribute to spread between children
Hemming et al. (2015) Methods paper; abstract only Not stated in the abstract States when a stepped wedge beats a parallel design and that time must be modeled

The designs do not depend on the population. The constraints do: how far a message, a price, or a disease travels between people; how many administrative units exist; and who has the authority to hold a rollout to a random order.

Replication

Not applicable: these are design methods, not interventions. Their limits are stated in the sources: a stepped-wedge estimate can be confounded with time; a phase-in can be too fast for the effect to show; an encouragement design loses power as the difference in take-up shrinks; and a factorial design sized for each component cannot say much about how they combine.

What to check locally

  1. Whether people assigned to different arms really share the channel the change travels through, from staff who work in the field.
  2. The rollout calendar and how many units can start each period.
  3. Who has authority to delay or withhold, and whether they will hold to the assignment once drawn.
  4. How many units exist at each level; a small count of districts rules out designs that look fine on paper.

Version history

What changed in each version, newest first. An entry that answers an issue or review links to it.

CHANGELOG.mdView on GitHub

0.3.0 - 2026-11-11

Follows the conversational-voice standard. The design choice opens with a few plain sentences to the user (the design, what decided it, and what is still unknown) and is titled "How to randomize the test". Shorthand labels became plain: "Withholding" is "Can some wait or go without?", "Control" is "What the program controls", "Arms and allocation" is "Groups compared, and how many units in each", "Delay or withholding agreed by" is "Who agreed that some wait or go without", and spillovers, the unit of randomization, stratification, and each design are glossed where they appear. The output ends with next moves and their reasons, chosen from candidates listed in the closing, and the skill carries the shared voice block. The method is unchanged. Edited with Claude.

0.2.0 - 2026-11-11

Rewritten to the November 2026 standard, with one job: the comparison, meaning the design and the unit of randomization. It adds a multi-arm row and says plainly when no randomized design fits, so a quasi-experimental design and a specialist are needed; the hand-offs to other skills, the power arithmetic, and the analysis notes are gone. Sources were re-verified and cut to the four the method rests on. Rewritten with Claude.

0.1.0 - 2026-10-12

First draft. Drafted with Claude from a verified evidence dossier for Zezhen Wu's review; four evals; not yet reviewed.

Reviews

Expert reviews come from behavioral scientists at The Agency Fund and Irrational Labs and are kept as issues on GitHub; each shows whether a later version of the skill answered it. Ratings and comments come from anyone who has used the skill.

Expert reviews

Expert reviews of this skill are kept as issues on GitHub.

See all expert reviews of this skill on GitHub

Ratings and comments

Ratings show here once the site can reach its database.