Converter tool

Bioequivalence Analysis for 2x2 Crossover Studies

Analyse a two-period crossover (or a parallel study) on the log scale: ANOVA, the geometric mean ratio with its confidence interval against the 80 to 125 % limits, intra-subject CV and a carryover check.

One row per subject and period

1. Your data

Or paste the table

Average bioequivalence only

Method and limits

For the 2x2 crossover the treatment effect is half the difference between the mean period differences of the two sequences, with residual mean square from the within-subject differences and the residual degrees of freedom n1 + n2 - 2. This equals the fixed-effects ANOVA with sequence, subject within sequence, period and treatment. The interval is exp(difference plus or minus t times SE) times 100.

Not included: replicate designs, reference-scaled limits for highly variable drugs (ABEL, RSABE), mixed-effects models for incomplete data, Wilcoxon tests, power and sample size. Only complete two-period subjects enter the crossover analysis.

Bioequivalence Analysis for 2x2 Crossover Studies

Operator: Abdulla Al Fahad. How tools are built and checked

Two formulations of a drug are called bioequivalent when the body takes up the test product to about the same extent and at about the same speed as the reference. The standard evidence is a crossover study: each volunteer takes both products, in random order, and the peak concentration (Cmax) and exposure (AUC) are compared. The conclusion rests on the 90% confidence interval of the test over reference geometric mean ratio falling inside 80 to 125%.

This page does that analysis for the usual two-sequence, two-period design, and for a parallel-group study. It works on natural logs, builds the ANOVA, gives the ratio and its interval, the within-subject coefficient of variation and the carryover test. It is a tool for planning, teaching and cross-checking; it is not validated software and its output is not a regulatory submission.

Key features

  • A 2x2 crossover with sequence, subject within sequence, period and treatment effects, on the log scale or raw
  • A confidence level of your choice (90% by default) and your own acceptance limits (80 and 125% by default), shown on a chart
  • Intra-subject CV from the residual mean square, and the carryover (sequence) test
  • A parallel-group option with Welch's t on the logs, or a pooled t if you assume equal variances

The study table, the crossover model and the interval on the log scale

One row per subject and period with a subject, treatment and response column, plus sequence and period columns for a crossover. Choose which treatment label is the reference and which is the test; labels such as R, T, Ref or Test are recognised. If you leave the sequence and period columns empty the study is treated as parallel, with one row per subject.

In a crossover, every subject has two periods and takes each product once; a subject with only one period is left out and listed, since a mixed model would be needed for incomplete data. A subject appearing in two sequences, a sequence whose subjects start on different treatments, a third period and non-positive values on the log scale are each reported by subject.

How it works

For each complete subject the page takes the difference between period 2 and period 1 on the log scale. The treatment effect is half the difference between the mean differences of the two sequences, the residual mean square is half the pooled variance of those differences, and the interval is exp(effect plus or minus t times its standard error) times 100 with n1 + n2 - 2 degrees of freedom. This is algebraically the fixed-effects ANOVA with sequence, subject within sequence, period and treatment, and it handles unequal sequence sizes. The carryover test compares the subject totals of the two sequences against the variation between subjects. Intra-subject CV is the square root of exp(residual mean square) minus 1.

Common use cases

  • A formulation scientist drops 3 subjects from the example to mimic dropouts. With 10 and 11 subjects per sequence the ratio is 93.84% and the interval 85.94 to 102.46%, still inside the limits, and the page lists the excluded subjects.
  • Removing five subjects from one sequence leaves 12 and 7. The ratio is 93.03% and the interval widens to 82.77 to 104.56%, nearer the lower limit, which shows how an unbalanced loss costs precision.

How to use this tool

  1. Load the study table, or press Load 2x2 crossover example.
  2. Check the subject, sequence, period, treatment and response columns, and set the reference and test labels.
  3. Set the confidence level and the acceptance limits if they differ from 90% and 80 to 125%.
  4. Read the ratio, its interval and the chart, then the ANOVA table and the CV.
  5. Download the summary as CSV or the summary with the ANOVA as XLSX.

Example

The 24-subject crossover from Load 2x2 crossover example (invented data), Cmax, log scale, 90% interval

subject,sequence,period,treatment,cmax
1,TR,1,T,73.38
1,TR,2,R,79.05
2,RT,1,R,112.84
2,RT,2,T,126.36
3,TR,1,T,110.87
3,TR,2,R,180.32
... 48 rows in all, 12 subjects per sequence

Result for test over reference

Ratio 93.69%, 90% CI 85.36 to 102.84%, inside 80 to 125%
Residual mean square 0.03529 on 22 df, intra-subject CV 18.95%
Treatment F 1.443 (p 0.2425), period p 0.3809, carryover p 0.7467

Tips for best results

  • Tighten or widen the confidence level to see how close the interval is to a limit: at 90% the lower end here is 85.36%, so there is 5.4 percentage points of room.
  • Untick the log option only for data that really are differences, such as a change in tmax; the 80 to 125% limits then do not apply.
  • For a parallel design give every subject a single row; a repeated subject is rejected, since the page does not model repeated measures.

Common pitfalls

A sequence effect with a small p is not grounds to reject a study on its own, and agencies advise against deciding on it. Look at the washout period instead.

Replicate designs, reference-scaled limits for highly variable drugs and mixed models for incomplete data are not implemented. A study that needs them will give a misleading answer here.

The ratio and interval refer to the response you chose. Cmax and AUC are separate analyses; run each one.

In a parallel study the interval is wide because between-subject variation enters it. The invented 30-subject example gives a ratio of 84.1% with an interval of 65.9 to 107.3%, which does not fit inside 80 to 125% even though the point estimate does.

Common errors and how to fix them

Subject 7 received "T" in both periods; a crossover gives each subject both treatments.
Check the treatment column for that subject, or the way periods are numbered.
Subject 12: the value is 0, but log-transformation needs values above 0.
A concentration of 0 cannot be logged. Handle it under your protocol, for example by excluding the subject for that parameter, or untick the log option if the data are not log-normal.

Why the interval is on the log scale

Pharmacokinetic responses are roughly log-normal, so the natural scale for comparing products is a ratio. Analysing the logs turns the ratio into a difference, builds an ordinary interval for that difference and transforms the ends back. That is why the limits are asymmetric, 80 to 125%, which are mirror images on the log scale since 1 divided by 1.25 is 0.8.

Checked against a full model

The shortcut through period differences gives the same treatment estimate, standard error, residual mean square and degrees of freedom as a fixed-effects regression with an intercept, a sequence term, a dummy for each subject within sequence, a period term and a treatment term. The sums of squares add up to the total. This matches on balanced data and on the unbalanced subsets above, so incomplete sequence sizes do not change the method.

Frequently asked questions

How do I know the numbers match published software?

The page has been compared with a regression that has a dummy for every subject, on balanced and unbalanced versions of the example, and agrees to the digits shown. It has not been compared in this build with the reference datasets published for 2x2 bioequivalence by Schütz, Labes and Fuglsang (2014), so a cross-check against those datasets is a reasonable next step before relying on it for anything formal.

Why is the confidence level 90% and not 95%?

The two one-sided tests of average bioequivalence, each at 5%, are equivalent to a 90% interval lying inside the limits. A 95% interval is more demanding and answers a different question.

Can I use it for highly variable drugs?

Only in the sense of seeing a high intra-subject CV. The reference-scaled approaches for such drugs need replicate designs, which are not implemented here.