N-of-1 Trial Analysis
An N-of-1 trial compares two treatments within one patient by alternating them over several randomised cycles. The analysis compares the treatments inside each cycle and, when several patients ran their own N-of-1 trials, combines them into a population estimate while keeping each patient's own answer.
한 환자에게 두 치료를 여러 무작위 주기에 걸쳐 번갈아 주고 주기 안에서 비교하여 그 환자에게 더 나은 치료를 판단하고, 여러 환자의 N-of-1 시험은 무작위효과 모형으로 묶는 분석입니다.
For this patient, which of the two treatments works better, and across a series of such patients, how large is the average benefit and how much does it vary?
이 환자에게는 두 치료 가운데 어느 쪽이 더 효과적일까요?
Measurements are averaged within each cycle and treatment, and the within-cycle differences give a paired t-test, a confidence interval and the posterior probability that one treatment is better. With several patients a DerSimonian-Laird random-effects model gives the average effect, the between-patient spread and shrunken individual effects.
When to use N-of-1 Trial Analysis
- A chronic, stable condition allows treatments to be switched back and forth with washout.
- Each cycle contains both treatments in random order.
- You want a decision for an individual patient or to summarise a series of N-of-1 trials.
When to use something else
- Each patient receives each treatment only once in two periods: use Two by Two Crossover Design Analysis
- Only one measurement occasion per treatment exists for a single person: use Paired t-test
Assumptions and requirements
- No carry-over beyond the washout
- Cycle differences are independent and roughly normal
- The condition is stable over the trial
What the analysis reports
- Mean within-cycle difference, confidence interval and p-value per patient
- Posterior probability of benefit per patient
- Random-effects mean effect, between-patient SD and I2 for a series
- Shrunken individual effects
How to report it
Across [value] cycles the mean difference was [value] (95% CI [value] to [value]), t([value]) = [value], p = [value]; the probability that B was better was [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy and statsmodels at a stated tolerance of 1e-8.
독립 계산. SciPy·statsmodels 대조 참조 시험 1건 통과(허용오차 1e-8).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run N-of-1 Trial Analysis on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, a treatment indicator and a time variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.