← Latest papers
📊 statistics

Experimental Design When N Equals One

This paper proposes a Markovian framework for N-of-1 experimental design that minimizes estimation error under a finite-order impulse-response model, establishing asymptotic theory for optimal random-switch and cycle-switch designs while validating the robustness of i.i.d. Bernoulli assignments.

Original authors: Wenxuan Guo, Tengyuan Liang

Published 2026-06-29
📖 5 min read🧠 Deep dive

Original authors: Wenxuan Guo, Tengyuan Liang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a doctor trying to figure out if a new pill helps a single patient. You can't just give them the pill once and check; you have to give it to them, take it away, give it again, and take it away again over and over. This is called an N-of-1 trial (a trial with one person).

The big question this paper answers is: What is the best schedule for giving the pill?

Should you flip a coin every morning to decide? Should you give the pill for a week, then stop for a week? Or should you switch every hour?

The authors, Wenxuan Guo and Tengyuan Liang, argue that the "best" schedule depends entirely on what specific question you are trying to answer. They built a mathematical framework to find the perfect rhythm for these experiments.

Here is the breakdown of their findings using simple analogies:

1. The Problem: The "Echo" Effect

When you give a treatment (like a pill), its effect doesn't always stop the moment you stop giving it. It lingers. If you take a painkiller, it might help for an hour, then fade. If you take it again immediately, the effects might overlap.

In the paper's language, this is called temporal dependence. The authors model the treatment schedule like a Markov Chain. Think of this as a "mood ring" for the experiment:

  • If the patient is currently on the pill, what is the chance they stay on it tomorrow?
  • If they are off the pill, what is the chance they switch to it tomorrow?

By tweaking these "switching probabilities," you control how the treatment flows over time.

2. The Two Main Questions (and the Two Best Answers)

The paper finds that there isn't one "magic" schedule. The best schedule changes based on what you want to measure.

Scenario A: "How does the pill work right now?" (Lag-Specific Effects)

The Goal: You want to know the effect of the pill taken today on today's pain, ignoring what happened yesterday.
The Best Schedule: Random Coin Flips.

  • The Analogy: Imagine flipping a coin every morning. Heads = Pill, Tails = Placebo.
  • The Finding: The math proves that if you want to isolate the immediate effect, you should switch randomly with a 50/50 chance. This breaks any "echo" or pattern. It's the most robust way to see the pure, immediate signal without the noise of the past.
  • Paper's Claim: For estimating specific, lagged effects, the optimal design is essentially independent randomization (like a fair coin flip).

Scenario B: "What is the total benefit of taking the pill?" (Cumulative Effects)

The Goal: You want to know the total impact of taking the pill over a long period (e.g., "Does taking this pill for a month lower my blood pressure?").
The Best Schedule: Long, Steady Blocks.

  • The Analogy: Imagine a "Switchback" pattern. You take the pill for a long stretch (say, 10 days), then stop for 10 days, then start again.
  • The Finding: If you switch too often (like flipping a coin), the "echo" of the previous days muddies the water. To see the total accumulation, you need long, uninterrupted periods of treatment and control.
  • The Sweet Spot: The paper calculates a specific "magic number" for the length of these blocks. It suggests the block length should be roughly the size of the "echo" (how long the pill lasts) plus a little extra (specifically, K+KK + \sqrt{K}, where KK is the lag length).
  • Paper's Claim: For cumulative effects, the optimal design involves long, deterministic cycles rather than random switching.

3. The "Robust" Compromise

What if you don't know exactly what you are looking for? What if you want a schedule that works okay for everything?

  • The Finding: If you want a design that is safe and works well for any type of question (a "minimax" approach), you should go back to the Random Coin Flip (50/50).
  • The Analogy: It's like wearing a raincoat. It might not be the most stylish outfit for a sunny day (specific cumulative effects), but it protects you from getting wet no matter what the weather throws at you. The paper shows that randomization is the most "robust" strategy against model errors.

4. What Happens if the Math is Wrong? (Misspecification)

The authors tested their designs against "broken" models.

  • The Test: What if the pill actually has a hidden time trend (like getting better just because time passes) that the math didn't account for?
  • The Result: The Random Switch designs (coin flips) were very tough and still gave decent answers. The Block/Cycle designs (long stretches) were more fragile; if the math was slightly wrong, the long blocks could lead to big errors (bias).

Summary of the "Rules of Thumb"

According to the paper:

  1. If you want to know the effect of a single dose right now: Flip a coin every time. Switch randomly.
  2. If you want to know the total effect of a month of treatment: Switch less often. Use long blocks of treatment followed by long blocks of rest. The length of the block should be slightly longer than the time it takes for the treatment to wear off.
  3. If you are unsure or want to be safe: Flip a coin. It's the most reliable "all-rounder."

The paper essentially provides a "menu" for scientists: tell us what you want to measure, and we will tell you the exact rhythm (the switching probability or block length) to get the clearest answer.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →