Tutorials › Adaptive Clinical Trial Design › Sensitivity Analysis for Nuisance Parameters

Simulation-Based Design Assurance · Tutorial 682 of 799

Sensitivity Analysis for Nuisance Parameters

You will learn to vary plausible nuisance-parameter values systematically and quantify how those changes affect a trial design’s operating characteristics.

Intermediate 12 min read

What You'll Learn

  • Define nuisance parameters in relation to a trial’s estimand and design operating characteristics.
  • Use one-at-a-time and joint scenario changes to study sensitivity.
  • Calculate how outcome variance affects approximate power.
  • Assess how baseline event rates affect power for a binary outcome.
  • Evaluate the effect of baseline–outcome correlation under an adjusted analysis.
  • Separate changes in operating characteristics from Monte Carlo error.

Why Examine Nuisance-Parameter Sensitivity?

A simulation estimates how a proposed trial design behaves under specified inputs. Some inputs define the scientific target, such as the treatment effect of interest. Others affect the distribution of the data, and therefore how often the design meets its objectives, without being the target themselves. These latter inputs are nuisance parameters. Examples include outcome variance, a control-group event rate, and correlation between a baseline measure and an outcome.

A design can appear satisfactory at one assumed value and perform differently at another plausible value. Sensitivity analysis makes this dependence visible: it asks how operating characteristics change when nuisance inputs are varied while the design and target effect are held fixed. The purpose is not to predict which nuisance value will occur, but to show which design conclusions depend on the assumed value.

Definition: A nuisance parameter is a model parameter that is not itself the primary treatment-effect target but influences the probability distribution of the trial data and may consequently affect a design’s operating characteristics. Sensitivity analysis for nuisance parameters evaluates those operating characteristics at a planned set of plausible nuisance-parameter values, with the trial design and target effect specified explicitly.

Operating characteristics may include power, Type I error, the probability of stopping early, or expected sample size. For example, power is the probability that a specified analysis rejects \(H_0\) under a specified alternative. A sensitivity analysis needs a clear estimand, decision rule, and set of nuisance scenarios: changing an input without saying what else is held constant makes the result hard to interpret.

Specify the Sensitivity Analysis

Begin with a reference scenario and define a plausible range for each nuisance parameter. The reference scenario is a clearly stated set of assumptions, not necessarily the most likely truth. Values in the range should be clinically and scientifically credible, and consistent with the data model. Then choose which operating characteristics to estimate and how much simulation precision is needed.

A one-at-a-time analysis changes one nuisance parameter while holding the others at their reference values. It is useful for showing the separate effect of each input. It does not reveal whether parameters interact. A joint scenario grid evaluates combinations of nuisance values, so that, for example, low event rates can be considered together with high outcome variability. The earlier material on constructing null and alternative scenario grids establishes how to specify those combinations; here the emphasis is on the nuisance inputs within them.

For each scenario, simulate trial data under the stated model, apply the planned design and analysis, and record the outcome of interest. If \(R\) simulated trials produce \(K\) rejections under an alternative, the estimated power is \(\hat{p}=K/R\). Its Monte Carlo standard error is approximately \(\sqrt{\hat{p}(1-\hat{p})/R}\). A difference between scenarios should be interpreted alongside this simulation error; the earlier material on confidence intervals and Monte Carlo error gives tools for assessing its precision.

1
Fix the target and design.
State the estimand, target effect, sample-size rule, analysis, and decision criterion. These should not silently change across nuisance scenarios.
2
Choose plausible nuisance values.
Identify a reference value and justified alternatives, respecting parameter bounds and dependencies among inputs.
3
Evaluate operating characteristics.
Use analytic approximations where their assumptions are credible, and simulation when the design or analysis requires it.
4
Compare and diagnose.
Report scenario-specific estimates, units, and Monte Carlo uncertainty. Investigate surprising patterns before drawing design conclusions.

Outcome Variance and Power

For a simple illustration, suppose a two-arm trial has \(n\) independent participants per arm, a continuous outcome with common known standard deviation \(\sigma\), and a treatment effect \(\delta\). Assume normal outcomes, equal variances, complete outcome data, and a two-sided \(z\)-test at \(\alpha=0.05\). Under the alternative, the estimated difference in means has standard error \(\sigma\sqrt{2/n}\). With the normal approximation, power is the probability that this difference falls outside the two-sided null acceptance region.

$$ SE=\sigma\sqrt{\frac{2}{n}},\qquad \lambda=\frac{\delta}{SE},\qquad \text{Power}\approx\Phi(\lambda-1.96)+\Phi(-\lambda-1.96). $$

Here \(\lambda\) is the standardized treatment effect under the alternative, and \(\Phi\) is the standard normal cumulative distribution function. The approximation treats the standard error as known; an actual analysis using an estimated variance and a \(t\)-test may have slightly different power.

Worked Example: Varying the Standard Deviation

Consider a hypothetical trial with \(n=200\) participants per arm, a target mean difference of \(\delta=2.5\) points, and a two-sided \(z\)-test at \(\alpha=0.05\). Assume independent normal outcomes with equal, known standard deviations. Compare \(\sigma=10\) and \(\sigma=12\) points; all other inputs remain fixed.

For \(\sigma=10\), the standard error is \(10\sqrt{2/200}=1.000\) point. Thus \(\lambda=2.5/1.000=2.500\), and approximate power is \(\Phi(2.500-1.96)+\Phi(-2.500-1.96)=\Phi(0.540)+\Phi(-4.460)\approx0.705\).

For \(\sigma=12\), \(SE=12\sqrt{2/200}=1.200\) points and \(\lambda=2.5/1.200=2.083\). Approximate power is \(\Phi(2.083-1.96)+\Phi(-2.083-1.96)=\Phi(0.123)+\Phi(-4.043)\approx0.549\).

Under these assumptions, increasing the outcome standard deviation from 10 to 12 points reduces approximate power from about 0.705 to 0.549, a decrease of about 0.156. This is sensitivity to an input, not evidence that either standard deviation is the value the trial will have.

Baseline Event Rate and Correlation

For binary outcomes, the baseline event rate affects the variability of the observed proportions. Its effect on power depends on the effect measure and the analysis, so it should not be assumed that a lower event rate always reduces power. The following approximate calculation illustrates a risk-difference analysis. Assume independent participants, equal group sizes, a two-sided normal-approximation test at \(\alpha=0.05\), and no continuity correction. For control event rate \(p_0\) and treatment event rate \(p_1\), the estimated risk difference has alternative standard error \(SE_A=\sqrt{\{p_0(1-p_0)+p_1(1-p_1)\}/n}\). Under the null, the pooled rate is \(\bar{p}=(p_0+p_1)/2\), giving \(SE_0=\sqrt{2\bar{p}(1-\bar{p})/n}\) and approximate rejection cutoff \(1.96SE_0\).

Worked Example: Changing the Baseline Event Rate

Suppose a hypothetical trial has \(n=300\) participants per arm and targets a risk difference of \(-0.08\), or 8 percentage points fewer events in the treatment arm. Compare \(p_0=0.20,\ p_1=0.12\) with \(p_0=0.50,\ p_1=0.42\). Both scenarios have the same risk difference. Assume the independent-binomial model and the approximate test described above.

For \(p_0=0.20,\ p_1=0.12\), \(SE_A=\sqrt{[0.20(0.80)+0.12(0.88)]/300}=\sqrt{0.2656/300}=0.02975\). The pooled rate is \(0.16\), so \(SE_0=\sqrt{2(0.16)(0.84)/300}=0.02993\). The cutoff is \(1.96(0.02993)=0.05867\). Under the alternative, the estimated difference is approximately normal with mean \(-0.08\) and standard error \(0.02975\). The probability of falling below the negative cutoff is \(\Phi[(-0.05867+0.08)/0.02975]=\Phi(0.717)\approx0.763\). The upper-tail rejection probability is negligible, so approximate power is 0.763.

For \(p_0=0.50,\ p_1=0.42\), \(SE_A=\sqrt{[0.50(0.50)+0.42(0.58)]/300}=\sqrt{0.4936/300}=0.04056\). Here \(\bar{p}=0.46\), \(SE_0=\sqrt{2(0.46)(0.54)/300}=0.04069\), and the cutoff is \(1.96(0.04069)=0.07975\). The lower-tail probability is \(\Phi[(0.08-1.96\sqrt{2(0.46)(0.54)/300})/\sqrt{[0.50(0.50)+0.42(0.58)]/300}]=\Phi(0.005912)\approx0.5024\); the upper-tail probability is negligible. Approximate power is therefore about 0.502.

This approximation suggests materially different power at the two baseline rates despite the same risk difference and sample size. It is not a universal rule about event rates: power depends on the effect scale, test, and model. For rare events or small expected counts, the normal approximation may be unreliable; simulation using the planned analysis is preferable.

Correlation can also be a nuisance input when the analysis adjusts for a baseline outcome. In a simple normal model with a common baseline–outcome correlation \(\rho\), the adjusted residual standard deviation is \(\sigma\sqrt{1-\rho^2}\). For equal group sizes and otherwise the assumptions of the earlier normal example, the treatment-effect standard error is \(\sigma\sqrt{1-\rho^2}\sqrt{2/n}\). This formula assumes a correctly specified linear adjustment and a common correlation structure; it is not a general formula for every adaptive analysis.

Worked Example: Varying Baseline–Outcome Correlation

Consider a hypothetical trial with \(n=200\) participants per arm, outcome standard deviation \(\sigma=10\) points, and treatment effect \(\delta=2.5\) points. Assume independent participants, a correctly specified baseline adjustment, a common correlation \(\rho\), and a two-sided normal test at \(\alpha=0.05\). At \(\rho=0.30\), the adjusted standard error is \(10\sqrt{1-0.30^2}\sqrt{2/200}=0.953939\), or about 0.954 points. Thus \(\lambda=2.5/0.953939=2.620712\), or about 2.621. Approximate power is \(\Phi(2.621-1.96)+\Phi(-2.621-1.96)=\Phi(0.661)+\Phi(-4.581)\approx0.746\) (approximately 0.74560 using the unrounded values).

At \(\rho=0\), the standard error is \(10\sqrt{2/200}=1.000\) point and approximate power is about 0.705, as in the earlier continuous-outcome calculation. Under the stated adjustment model, the higher correlation improves precision and power. The conclusion depends on that model and adjustment being appropriate.

Interpreting Results and Checking the Analysis

One-at-a-time results are easy to communicate, but can miss joint effects. If high variance and low correlation are both plausible, their combined effect need not equal the sum of their separate effects. A joint grid can reveal such patterns, provided every combination is meaningful under the model. For example, rates must remain between 0 and 1, and a correlation must remain between \(-1\) and \(1\). Dependence between nuisance inputs may also make some combinations implausible.

A useful report gives the reference value, the varied values, the operating-characteristic estimate in each scenario, and its Monte Carlo uncertainty. When the operating characteristic is estimated as a proportion, the Monte Carlo standard error is about \(\sqrt{\hat{p}(1-\hat{p})/R}\); it quantifies simulation noise, not uncertainty about which nuisance value will occur. If two scenario estimates differ by less than their simulation error would readily explain, the apparent change is not compelling evidence of sensitivity. Increasing \(R\) can clarify a comparison but cannot resolve uncertainty about the appropriate nuisance inputs.

Diagnostics include checking that inputs are within their allowed ranges, confirming that the same design and analysis were applied in every scenario, and examining whether results change smoothly when a parameter is varied gradually. Unexpected jumps may reflect a coding or implementation issue, a decision rule that changes discretely, or a genuinely nonlinear response. Do not assume monotonicity: changing an event rate or correlation can have different consequences under different effect measures and analysis procedures. When feasible, compare simulation estimates with a suitable analytic approximation in a simple case.

Sensitivity analysis differs from an analytic power calculation in emphasis: a formula can efficiently show the effect of an input under simple assumptions, while simulation can evaluate the full planned design when its operating characteristics cannot be calculated conveniently. One-at-a-time analysis isolates changes but can obscure interactions; a joint grid examines combinations but requires more scenarios and simulation. Neither approach makes implausible input values informative. The analysis is limited by the model used to generate data and by the plausibility of the selected ranges; conclusions should therefore be stated conditionally on those assumptions.

Common Mistake

Pitfall: “Power fell when I increased the variance, so the design is inadequate at every plausible variance.” This overgeneralizes a result from one contrast of inputs. The correction is to report the tested values, keep the target effect and design fixed, examine the full plausible range (and relevant combinations), and show Monte Carlo uncertainty. A change in a simulated operating characteristic is conditional on the specified scenarios, not a guarantee about future trial performance.

Check Your Understanding

Answer each question, then compare your reasoning with the concise solutions.

  1. In a trial, is the treatment effect or the outcome variance a nuisance parameter for a power sensitivity analysis? Explain.
  2. If an estimated rejection proportion is \(\hat{p}=0.60\) from \(R=2{,}500\) simulations, calculate its approximate Monte Carlo standard error.
  3. Why might a one-at-a-time sensitivity analysis miss an important design concern?
  4. For a binary outcome, what should you check before including a proposed baseline event rate in a scenario grid?
  5. Under the stated normal adjustment model, does increasing \(|\rho|\) increase or decrease the adjusted residual standard deviation, and what assumption makes that conclusion conditional?

Solutions. (1) Outcome variance is a nuisance parameter; the treatment effect is the target in this power calculation. (2) \(\sqrt{0.60(0.40)/2{,}500}=\sqrt{0.000096}=0.00980\), or about 0.98 percentage points. (3) It changes one input at a time, so it does not reveal effects arising from combinations or interactions among inputs. (4) Check that the rate is between 0 and 1 and is scientifically plausible and consistent with the paired treatment rate and the stated data model. (5) It decreases the residual standard deviation through \(\sigma\sqrt{1-\rho^2}\), assuming the stated correctly specified linear baseline adjustment and common correlation structure.

Clinical Biostats