Statistical Methods

Check the Variance Identity in an O\u2019Brien Transformation

Define the research task

O’Brien’s transformation turns each observation into a quantity used in a variance comparison. Its group mean should reproduce that group’s original sample variance. This identity is a useful implementation audit when reproducing a published analysis. Transformed observations are not new clinical measurements and should not be interpreted in the original outcome units.

Work through the check

  1. Preserve the original values, group labels and sample-variance convention.
  2. Require at least three observations per group for this audit example.
  3. Apply the documented transformation independently within groups.
  4. Compare each transformed mean with the original sample variance at numerical tolerance.
  5. If conducting an inferential comparison, justify its assumptions and analysis plan separately.

Do not use a successful identity check as evidence that a variance-test model is valid. Retain the transformation settings, software version and the original-data summary in the reproducibility record.

Hypothetical example and reporting

For hypothetical data [1,2,3], sample variance is 1. The O’Brien transformed values are [1.75,−0.5,1.75], whose mean is 1. Negative transformed values are possible and are not negative variances. A report can state that the group-level identity was checked, without presenting the transformed values as subject-level variance estimates.

Source and verification

Method checked 27 November 2026 against SciPy primary documentation: stats.obrientransform. Examples are synthetic; this page does not assert human expert approval.

Related reading

Reading path: Analyze data. Guide 242 of 242. Choose any guide to suit your project.

Statistical Methods

Assess Distributional Sensitivity Before Bartlett\u2019s Variance Test

Practical steps and a worked example: Keep a normal-theory variance comparison separate from robust spread checks.

Statistical Methods

Apply a prespecified Box–Cox transformation reproducibly

A practical guide with worked examples: Apply a prespecified Box–Cox power to positive measurements.

Browse this reading pathTools for this stageGuides and downloads for this stage