Why the Variance Estimate Deserves Scrutiny
A sample-size calculation can be executed correctly and still produce a poor plan if its variance input is not relevant to the study being planned. In average bioequivalence planning, within-subject variability on the log scale affects the precision of the treatment comparison and therefore the chance that the confidence interval will meet the equivalence limits. A variance estimate is not automatically suitable simply because it came from a pharmacokinetic study or was reported as a coefficient of variation.
Evaluation has three parts. First, consider the source: how much information supports the estimate, and how closely does its study population resemble the planned population? Second, consider its precision: how uncertain is the estimate as a consequence of finite degrees of freedom? Third, consider design compatibility: does the estimate represent the same within-subject variation that the planned design and analysis will use? The earlier material on average bioequivalence sample-size inputs and replicate crossover planning provides the calculation context; here the emphasis is on judging the variance input.
The word “within-subject” does not identify one universal quantity independent of design. The relevant variance depends on which observations are repeated, which fixed effects are adjusted for, and which treatment contrast is used. Thus, before transferring an estimate to a new calculation, identify the exact variance component or residual variance that the planned analysis requires.
Source and Design Compatibility
Potential sources include a previous study of the same drug and endpoint, a pilot study, a published study, or a variance component estimated from a replicate design. A source is more persuasive when the formulation, dose, endpoint, sampling and assay procedures, study conditions, participant characteristics, and analysis model are relevant to the planned trial. These features need not be identical in every respect, but differences should be examined rather than ignored.
The endpoint matters: within-subject variability for AUC need not match that for \(C_{\max}\). The design and model matter too. For example, a residual variance estimated after adjusting for period and sequence effects is not necessarily the same as the variance of unadjusted subject-level treatment contrasts. Nor should a variance component from a design with repeated administrations be assumed to equal the variance of a contrast in a different design without checking how that contrast is constructed.
If a source reports a coefficient of variation (CV) rather than a log-scale variance, confirm that it is the within-subject CV for the relevant endpoint and population. Under the usual lognormal conversion, a CV expressed as a proportion \(CV_w\) corresponds to log-scale variance
The CV must be entered as a proportion: for example, 20% is \(0.20\), not \(20\). This conversion does not make a mismatched estimate compatible; it only expresses a compatible CV on the log scale.
Worked Example: Converting a Reported Within-Subject CV
Suppose a hypothetical prior study reports a within-subject CV of 25% for the same log-transformed endpoint, obtained using a design and model judged relevant to the planned study. Convert it to a log-scale variance.
First express the percentage as a proportion, \(CV_w=0.25\). Then apply the conversion:
The corresponding log-scale standard deviation is \(\sqrt{0.06062}\approx0.2462\). The variance supplied to a calculation that requires log-scale variance is approximately \(0.06062\), not \(0.25\) and not \(25\). This calculation establishes the scale of the input; its suitability still depends on the assumed relevance of the prior study.
Precision of an Estimated Variance
A variance estimate based on few independent residual degrees of freedom can be quite uncertain, even when the reported value has several decimal places. Under a normal-error model with correctly specified fixed effects, independent residuals, and a common residual variance \(\sigma_w^2\), the residual sum of squares divided by its degrees of freedom gives \(s_w^2\). If that residual degrees of freedom is \(\nu\), then
This result gives a confidence interval for the variance. Let \(\chi^2_{q,\nu}\) denote the \(q\)-quantile of a chi-square distribution with \(\nu\) degrees of freedom. A two-sided \(100(1-\alpha)\%\) confidence interval is
The order of the quantiles in the denominators is intentional: the larger chi-square quantile gives the lower variance limit. The interval describes sampling uncertainty under the stated model; it does not account for a mismatch between the source study and the planned study. A narrow interval around an irrelevant estimate does not make that estimate relevant.
Worked Example: Quantifying the Precision of a Residual Variance Estimate
In a hypothetical study, a model-based within-subject residual variance is \(s_w^2=0.0400\), with \(\nu=10\) residual degrees of freedom. Assume the normal-error model is appropriate and residuals are independent with a common variance. Find a 95% confidence interval for \(\sigma_w^2\), then express its limits as CVs.
For 10 degrees of freedom, the 2.5th and 97.5th chi-square quantiles are approximately 3.247 and 20.483. Therefore,
The point estimate corresponds to a CV of \(\sqrt{\exp(0.0400)-1}\approx0.2020\), or 20.20%. Applying the same lognormal conversion to the variance limits gives \(\sqrt{\exp(0.01953)-1}\approx0.1404\), or 14.04%, and \(\sqrt{\exp(0.1232)-1}\approx0.3621\), or 36.21%.
Thus, even under the assumed model, the data are compatible with a broad range of within-subject variability values. The 95% interval is not a statement that there is a 95% probability that the fixed population variance lies in this particular interval. It is an interval produced by a procedure that, under repeated sampling and the model assumptions, covers the population variance 95% of the time.
Why Raw Paired Contrasts Can Mislead
A useful check is to ask whether the statistic being called a within-subject variance actually estimates the model residual variance required for planning. Consider a two-period crossover in which the two period residuals for a subject are independent, have mean zero, and each have variance \(\sigma_w^2\). Their difference then has residual variance \(2\sigma_w^2\). That fact alone does not mean that the sample variance of raw paired treatment contrasts estimates \(2\sigma_w^2\): the contrasts may have different means across sequences because of a period contribution.
For a balanced two-sequence design, suppose the raw contrast means are \(+\delta\) and \(-\delta\), with within-sequence contrast variance \(2\sigma_w^2\). The variance across all raw contrasts is the average within-sequence variance plus the variance of the sequence-specific means:
Dividing that pooled variance by two would yield \(\sigma_w^2+\delta^2/2\), not \(\sigma_w^2\). Dividing a contrast variance by two is justified only when the contrast variance has been appropriately residual-adjusted, or when additional conditions ensure a common contrast mean. Otherwise, use the model-based residual variance appropriate to the planned analysis.
Worked Example: Detecting Period Contribution in Raw Contrasts
Consider hypothetical balanced sequences with a true within-subject residual variance \(\sigma_w^2=0.0400\) and a period contribution \(\delta=0.100\) to the sequence-specific raw contrast means. Assume the residual conditions above hold. What would the pooled raw-contrast variance estimate in this model target?
The within-sequence contrast variance is \(2(0.0400)=0.0800\). The two sequence-specific means are \(+0.100\) and \(-0.100\), so their between-sequence variance in a balanced population is \(0.100^2=0.0100\). Hence,
Dividing by two gives \(0.0450\), which exceeds the residual variance \(0.0400\). The difference is not sampling error in this illustration; it arises because the raw contrasts include the sequence-specific period contribution. For planning, the appropriate model-based residual estimate—not an unadjusted pooled contrast variance—must be identified.
Practical Checks and Planning Consequences
Before using a variance estimate, record its endpoint, scale, estimator, degrees of freedom, source design, and model adjustments. Then check whether its uncertainty and provenance are credible for the planned study. Useful diagnostics include reviewing residual plots for strong departures from the assumed error structure, checking for influential observations, verifying the degrees of freedom from the fitted model, and confirming that the estimate was not calculated from a mixture of quantities with different meanings. Such checks can reveal concerns; they cannot prove that a historical estimate will transport perfectly.
A simple sensitivity check helps show the practical importance of the choice. Under a normal approximation with all other planning inputs held fixed, required sample size is approximately proportional to the variance. Exact sample size calculations need not follow that ratio exactly because degrees of freedom and the power calculation also change; they should be recalculated using each plausible input.
Worked Example: Comparing Two Plausible Planning Inputs
Suppose a hypothetical planning calculation has a required sample size of 30 under \(s_w^2=0.0400\). A second, relevant source suggests \(s_w^2=0.0600\). With all other inputs held fixed, use variance proportionality as a rough normal-approximation comparison.
The approximation suggests that the second input could require about 45 participants rather than 30 before any design-specific rounding or allocation rules. This is a sensitivity illustration, not an exact power result: an exact calculation should be rerun with the second variance and the planned design. If such a change would materially affect feasibility, the variance source deserves particular scrutiny.
The main alternatives are not interchangeable procedures for “fixing” a weak estimate. A well-matched historical estimate can be useful when the new study is sufficiently comparable; a pilot estimate is direct but may have few degrees of freedom; and a published CV may be convenient but can conceal differences in endpoint, design, or estimator. A model-based residual estimate is preferable to a raw contrast summary when the planned model adjusts for effects that influence those contrasts. Each approach has limitations: historical data may not transport, pilots may be imprecise, and model-based estimates depend on model assumptions.
A common mistake is to treat the reported point estimate as exact because it is printed to several decimal places, or to choose the smallest estimate to obtain the smallest feasible study. The correction is to separate three questions: is the estimate relevant, how precise is it, and what happens to the plan across plausible values? The confidence interval addresses sampling precision under a model; the source review addresses relevance; and recalculation across plausible values shows sensitivity. None alone resolves all three.
Check Your Understanding
Answer each question, then compare your reasoning with the solutions.
- A report gives a within-subject CV of 18%. What log-scale variance does this correspond to?
- Why does a small residual degrees of freedom make a variance estimate less precise, even if its point estimate is stable to several displayed decimal places?
- Under what additional condition can a paired-contrast variance be divided by two to estimate a within-subject residual variance?
- A variance estimate comes from a study of a different endpoint but the same drug. Is the source automatically suitable? Give one reason.
- If a rough normal-approximation sample size is 40 at variance 0.0500, what approximate size corresponds to variance 0.0750, holding the other inputs fixed?
Solutions. (1) Convert 18% to \(0.18\): \(\ln(1+0.18^2)=\ln(1.0324)\approx0.03189\). (2) With fewer degrees of freedom, the chi-square sampling distribution of \(\nu s_w^2/\sigma_w^2\) is more dispersed, so the confidence interval for the variance is wider. (3) The contrast variance must be residual-adjusted, or conditions must ensure a common contrast mean so that sequence-specific contributions do not inflate the raw variance. (4) No. Different endpoints can have different within-subject variability, so the estimate may not represent the variance needed for the planned endpoint. (5) The approximate ratio is \(0.0750/0.0500=1.50\), giving \(40(1.50)=60\); an exact calculation should be rerun for that variance.