Statistical Calculators › Correlation and Regression › Multiple Regression: Sample Size for a Set of Predictors
← All Calculators

Correlation and Regression

Multiple Regression: Sample Size for a Set of Predictors

Determine the sample size needed to test whether a set of predictors explains a meaningful increase in R² after controlling for other covariates. Uses the exact conditional noncentral-F method documented in the statistical literature and runs entirely in your browser.

Study Design

Specify the predictors being tested, the covariates being controlled, and the anticipated incremental R².
Probability of detecting the specified incremental R².
Type I error rate for the full-versus-reduced F-test.
Number of predictors tested jointly for zero coefficients.
Other predictors included in the model but not tested.
Expected increase in R² when the K tested predictors are added to the model containing the L covariates.
Expected R² from the covariates alone.
If greater than 0, the calculator also reports the enrollment needed to retain the required evaluable sample size.

Required Sample Size

The minimum integer N whose exact conditional noncentral-F power reaches the requested target.
Enter the study assumptions and click Calculate Sample Size.

Methodology

This calculator implements the conditional power and sample size method in the this method Multiple Regression procedure. The method tests whether a specified set of K predictors contributes additional explanatory power after controlling for L other predictors.

Hypothesis

The null hypothesis is that all regression coefficients associated with the tested predictors are zero:

H0: β1 = β2 = … = βK = 0
H1: at least one tested coefficient is not zero

The test is a full-versus-reduced-model F-test. The reduced model contains the L covariates, while the full model additionally contains the K predictors being tested.

Incremental R²

The key effect-size quantity is the increase in R² obtained by adding the tested predictors:

R²(T|C) = R²(T,C) − R²(C)

Here, R²(C) is the expected R² from the covariates alone and R²(T,C) is the expected R² from the full model. Therefore the calculator internally obtains the full-model R² as R²(C) + R²(T|C).

Noncentral-F calculation

For a candidate sample size N, the numerator and denominator degrees of freedom are:

df1 = K
df2 = N − K − L − 1

this method specifies the noncentrality parameter for the conditional calculation as:

λ = N × R²(T|C) / [1 − R²(C) − R²(T|C)]

The critical value is the upper α quantile of the central F distribution with K and N − K − L − 1 degrees of freedom. Power is then the upper-tail probability of the corresponding noncentral-F distribution with noncentrality parameter λ. The calculator searches upward through integer N values and returns the first N for which the achieved power is at least the requested power.

Important: This is the this method conditional method. It treats the observed/planned predictor values as fixed for the conditional calculation. It is not a prediction-model development sample-size method based on calibration, optimism, shrinkage, or events-per-variable.

Validation Example

This worked example uses power = 0.80, alpha = 0.05, K = 1 tested predictor, L = 4 covariates, incremental R² = 0.10, and covariate R² = 0.30. The documented required sample size is N = 50, with achieved power approximately 0.8060.

this method validation target: K = 1  ·  L = 4  ·  R²(T|C) = 0.10  ·  R²(C) = 0.30  ·  α = 0.05  ·  Power = 0.80
Expected result: N = 50, achieved power = 0.8060

Dropout Adjustment

If a dropout rate is entered, the calculator inflates the evaluable sample size using N′ = N / (1 − dropout rate), rounding the enrollment target upward. The statistical power calculation itself is based on the evaluable sample size N.

References

the software, LLC. this method Sample Size Software — Multiple Regression, Chapter 858. the relevant methodological literature. The procedure describes the conditional noncentral-F method, the definition of R²(T|C), the noncentrality parameter, and the published validation examples.

Cohen, J. (1988). Statistical Power Analysis for the Behavioral Sciences, 2nd ed. Lawrence Erlbaum Associates, Hillsdale, NJ.

Gatsonis, C. and Sampson, A.R. (1989). "Multiple Correlation: Exact Power and Sample Size Calculations." Psychological Bulletin, 106(3), 516–524.