Skip to content

Methods · Bayesian statistics · Clinical trial designs

Bayesian Two-Period Crossover Trial Analysis

The Bayesian analysis of a two-period AB/BA crossover trial gives posterior distributions for the treatment difference, the period effect and the carryover difference from within-subject differences and subject totals, so results can be stated as probabilities.

2기 AB/BA 교차시험의 베이즈 분석은 대상자 내 차이와 대상자별 합으로부터 처리 차이, 시기 효과, 이월효과 차이의 사후분포를 구해 결과를 확률로 말할 수 있게 합니다.

In my AB/BA crossover trial, what is the probability that treatment B is better than A, and how sensitive is that to carryover?

AB/BA 교차시험에서 처리 B 가 A 보다 나을 확률은 얼마이고, 이월효과에 따라 그 결론이 얼마나 달라지나요?

Give one row per subject and period. Under the reference prior the treatment, period and carryover effects have Student t posteriors; a normal prior on the treatment effect can be added and is combined by quadrature. The first-period-only posterior is reported as a carryover-robust sensitivity analysis, together with P(effect > 0) and P(effect > a chosen margin).

When to use Bayesian Two-Period Crossover Trial Analysis

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

In a Bayesian analysis of the AB/BA crossover (n = [value] and [value] per sequence), the posterior median treatment difference was [value], 95% CrI [[value], [value]], with posterior probability [value] that it is positive.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with statsmodels and direct computations (formulas, enumeration or simulation).

    독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.

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 Bayesian Two-Period Crossover Trial Analysis on Quorant

Data you need
a table (CSV or Excel) with an outcome variable, a unit (entity) ID, a time variable and a treatment indicator
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.

Method ID Q15029 · Reviewed 2026-10-25