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
- Preserve the original values, group labels and sample-variance convention.
- Require at least three observations per group for this audit example.
- Apply the documented transformation independently within groups.
- Compare each transformed mean with the original sample variance at numerical tolerance.
- 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.