Tutorials › Exam PA - Predictive Analytics › How Split Size Affects Evaluation Stability

Exam PA · Splits, Resampling, and Cross-Validation · Tutorial 685 of 966

How Split Size Affects Evaluation Stability

See how allocating more data to training or evaluation changes uncertainty, and how to interpret results from repeated holdouts.

Intermediate 10 min read

What You'll Learn

  • Distinguish variability in a fitted model from variability in its measured performance
  • Calculate the standard error of a holdout mean loss or accuracy under stated assumptions
  • Explain the training-size and evaluation-size trade-off in a fixed data set
  • Interpret repeated-holdout results when the splits overlap
  • Identify why repeated splits do not create independent test samples

Why Split Size Affects Stability

A train/test split allocates a finite set of observations to two different jobs. The training set is used to fit the model; the holdout set is used to estimate how well that fitted model performs on new observations. A split that gives more observations to training may produce a more stable fit, while a larger holdout may give a more precise performance estimate. With a fixed data set, these goals compete for observations.

It is useful to distinguish two kinds of uncertainty. Fit stability concerns how much the fitted model would change if a different training sample were used. Evaluation precision concerns how much the measured holdout performance would change if a different evaluation sample were used. Neither is measured completely by looking at one split. The calculations below make the underlying sampling variability explicit.

Definition: Let \(n\) be the training-set size and \(m\) the holdout-set size, so that a simple partition of \(N\) observations has \(n+m=N\). Fit stability describes variation in the fitted model across possible training samples. Evaluation precision describes variation in a performance estimate across possible holdout samples, for a specified fitted model and evaluation design.

The effect of split size depends on the model, outcome, metric, and data-generating process. More training observations often reduce sampling variation in fitted parameters, but they do not guarantee better predictions: a model can be misspecified, or additional observations can be unrepresentative. Likewise, a larger holdout reduces sampling noise in many metrics, but it does not correct biased sampling or a mismatch between the holdout population and the intended prediction population.

Sampling Variability in a Holdout Metric

Suppose a fitted model is fixed and the holdout observations are independent draws from the population to which predictions will be applied. Let \(L_j\) be the loss on holdout observation \(j\), with finite mean \(\mu_L\) and variance \(\sigma_L^2\). The mean holdout loss is \(\bar L=m^{-1}\sum_{j=1}^{m}L_j\). Its expected value is \(\mu_L\), and its variance is \(\sigma_L^2/m\). The standard error is therefore \(\sigma_L/\sqrt{m}\). In practice, \(\sigma_L\) is usually unknown and is estimated from the holdout losses.

$$ \operatorname{Var}(\bar L\mid\text{fitted model})=\frac{\sigma_L^2}{m}, \qquad \operatorname{SE}(\bar L\mid\text{fitted model})=\frac{\sigma_L}{\sqrt{m}}. $$

The conditional language matters: this calculation describes evaluation variation for a fixed fitted model. It does not include the additional variability from refitting the model on a different training set. The same result applies to accuracy when each observation's indicator of a correct classification is treated as a Bernoulli variable with success probability \(p\). Its variance is \(p(1-p)\), so the estimated accuracy has standard error \(\sqrt{p(1-p)/m}\).

The square-root relationship means that multiplying the holdout size by four halves the standard error, rather than reducing it by a factor of four. For a finite data set sampled without replacement, the variability of a sample mean about the finite-population mean also includes a finite-population correction. The independent-population formula should not be used as though all repeated holdout observations were fresh independent draws.

Worked Example: Accuracy With Two Holdout Sizes

A hypothetical classifier is evaluated on an independent holdout. Assume its probability of a correct classification is \(p=0.80\), and treat each correctness indicator as an independent Bernoulli observation. Compare the accuracy standard errors for holdout sizes \(m=100\) and \(m=400\).

Method. For a Bernoulli outcome, the variance is \(p(1-p)\). Here it is \(0.80(1-0.80)=0.16\), so the standard error of estimated accuracy is \(\sqrt{0.16/m}\).

For \(m=100\), the variance of estimated accuracy is \(0.16/100=0.0016\), and the standard error is \(\sqrt{0.0016}=0.04\).

For \(m=400\), the variance is \(0.16/400=0.0004\), and the standard error is \(\sqrt{0.0004}=0.02\).

Increasing the holdout size fourfold halves the standard error. The calculation is conditional on the fitted classifier and the stated independent, equal-probability assumption; it does not measure how much the classifier would change if it were refitted. The common mistake is to divide the standard error by four because the sample size increased fourfold. The correction is to use the square-root rule: standard error is proportional to \(1/\sqrt{m}\).

Training Size and Fit Stability

Training-size effects can be illustrated with a simple model whose parameter estimator has a known sampling distribution. Suppose independent training outcomes satisfy \(Y_i=\theta+\varepsilon_i\), where \(\theta\) is a fixed unknown mean and the errors are independent with distribution \(N(0,4)\). The fitted intercept is the training sample mean \(\hat\theta=\bar Y\). Its variance is \(4/n\), and its standard error is \(2/\sqrt{n}\).

This result is specific to the stated model and assumptions. It shows why larger training sets can stabilize a fitted parameter: averaging more independent observations reduces the estimator's variance. It does not imply that every fitted model's instability follows this exact formula, or that more training data remove model bias.

$$ \operatorname{Var}(\hat\theta)=\operatorname{Var}(\bar Y)=\frac{4}{n}, \qquad \operatorname{SE}(\hat\theta)=\frac{2}{\sqrt{n}}. $$

A useful comparison is the root-mean-square difference between estimates from two independent training samples of size \(n\). If each estimate is unbiased with variance \(4/n\), then their difference has mean zero and variance \(4/n+4/n=8/n\). Its root-mean-square size is \(\sqrt{8/n}\). This is one way to quantify how far two independently fitted versions of this simple model might differ; it is not a universal measure of predictive performance.

Worked Example: Training-Set Size and Intercept Stability

For the hypothetical normal-mean model above, compare fits from independent training samples of sizes \(n=25\) and \(n=100\). The error distribution is \(N(0,4)\), so its variance is \(4\), and the fitted intercept is the sample mean.

Method. Use \(\operatorname{SE}(\hat\theta)=2/\sqrt{n}\), then use \(\sqrt{8/n}\) for the root-mean-square difference between two independent fitted intercepts of the same training size.

At \(n=25\), the fitted-intercept standard error is \(2/\sqrt{25}=2/5=0.4\). The variance is \(4/25=0.16\). The root-mean-square difference between two independent fits is \(\sqrt{8/25}=\sqrt{0.32}\), approximately \(0.5657\).

At \(n=100\), the standard error is \(2/\sqrt{100}=2/10=0.2\). The variance is \(4/100=0.04\). The root-mean-square difference between two independent fits is \(\sqrt{8/100}=\sqrt{0.08}\), approximately \(0.2828\).

The training size increased fourfold, and both the parameter standard error and the root-mean-square difference between fits were halved. These results rely on the independent normal-error model and refer to the intercept estimator, not every aspect of a prediction model. A common mistake is to use the holdout size \(m\) in these formulas; fit variability here depends on the number of training observations \(n\).

Allocating a Fixed Data Set

When \(N\) is fixed, increasing \(m\) reduces the number \(n=N-m\) available to fit the model. A larger holdout can reduce the sampling error of the reported metric, while a smaller training set can make the fitted model more variable or less capable of learning useful structure. The preferred allocation therefore depends on which uncertainty is consequential and on how sensitive the fitting procedure is to training data.

There is no general formula that turns these competing effects into one universally optimal split proportion. The metric's variance, the model's learning behaviour, the amount of data, and the intended use of the estimate all matter. A split proportion is a design choice, not a guarantee of precise evaluation. If the holdout is very small, a few difficult or unusual cases can dominate the result; if training is very small, the evaluation concerns a model that may be much weaker than one fitted using all available data.

1
Identify the uncertainty of interest.
Decide whether the concern is variation in the fitted model, noise in the holdout metric, or both.
2
State the sampling assumptions.
Check whether holdout observations can reasonably be treated as independent draws from the target population and whether the metric has finite variance.
3
Consider the finite-sample trade-off.
Increasing the holdout size gives \(m\) more evaluation observations but leaves \(N-m\) for fitting. Consider whether the training size is adequate for the model being fitted.
4
Report uncertainty with its scope.
Describe the metric as an estimate subject to sampling variability, and distinguish holdout sampling uncertainty from variation due to refitting.

What Repeated Holdouts Can and Cannot Show

A repeated-holdout analysis makes several train/holdout partitions and records the performance for each fitted model. The results can reveal whether the reported metric is sensitive to the particular partition. They can also show whether model fits vary across the training portions, if fit characteristics are examined. But repeated splits of one data set are generally dependent: the same observations may appear in multiple holdouts and multiple training sets.

If \(R\) repeated estimates each have variance \(\tau^2\) and every pair has correlation \(\rho\), then the variance of their average is

$$ \operatorname{Var}\left(\frac{1}{R}\sum_{r=1}^{R}\hat M_r\right) = \frac{\tau^2}{R}\left[1+(R-1)\rho\right] = \tau^2\left[\rho+\frac{1-\rho}{R}\right]. $$

This follows by expanding the variance of a sum: there are \(R\) individual variances \(\tau^2\), and \(R(R-1)\) ordered covariance terms, each equal to \(\rho\tau^2\). Dividing by \(R^2\) gives the displayed expression. If \(\rho=0\), the variance is \(\tau^2/R\); if \(\rho>0\), the average retains a shared-variation component and does not gain the full precision that independent repetitions would provide. In practice, the exact correlation structure may not be known, so the formula is an explanation of the dependence effect, not automatically a confidence-interval recipe.

Worked Example: Interpreting Four Repeated Holdouts

Suppose four repeated holdout estimates have the same marginal standard deviation, \(0.04\), and assume for illustration that every pair has correlation \(\rho=0.50\). Calculate the standard error of their average and compare it with the result obtained by incorrectly treating the four estimates as independent.

Method. The marginal variance is \(\tau^2=0.04^2=0.0016\). Use the variance formula for an average of equally variable, equally correlated estimates.

With \(R=4\), the variance is \(0.0016[0.50+(1-0.50)/4]=0.0016(0.625)=0.001\). The standard error is \(\sqrt{0.001}\), approximately \(0.0316\).

If the four estimates were incorrectly assumed independent, the calculated standard error would be \(0.04/\sqrt{4}=0.02\). That understates uncertainty under the stated positive-correlation assumption. The correction is to account for shared variation: overlapping partitions do not supply four independent sets of evidence. The assumed correlation is hypothetical here; the point is how dependence changes the calculation.

Common Split-Size Traps

  • Confusing training and evaluation uncertainty. A precise estimate for one fitted model does not establish that the model would be similar after refitting. Keep the fit and metric questions separate.
  • Assuming a larger holdout always improves the overall analysis. It generally improves precision for a fixed model under the stated sampling assumptions, but it also reduces the training data available for fitting.
  • Dividing by the holdout size instead of its square root. The standard error of a mean scales as \(1/\sqrt{m}\), not \(1/m\).
  • Treating repeated splits as independent replications. Reuse of observations induces dependence. The number of repetitions alone does not determine how much independent information has been added.
  • Equating a stable metric with a good model. A model can perform consistently and still have poor performance, be biased for the target population, or omit important structure.
Key takeaway: A larger training set can stabilize the fit, and a larger holdout can sharpen a performance estimate, but a fixed data set forces a trade-off. Repeated holdouts help reveal sensitivity to partition choice; because they overlap, they should not be interpreted as independent new test samples.

Sound split-size reasoning is aligned with the SOA Exam PA (Predictive Analytics) syllabus. In a written analysis, state which source of variability a calculation addresses, give the assumptions behind it, and avoid claiming more precision than the partition design supports.

Check Your Understanding

For each problem, distinguish the stated assumptions from conclusions that would require additional evidence.

  1. A fixed classifier has a hypothetical accuracy probability of \(0.75\) on independent observations. Calculate the standard error of estimated accuracy on a holdout of size \(100\). (Answer: \(0.0433\), to four decimal places.)
  2. A hypothetical mean-loss metric has standard deviation \(3\) across independent holdout observations. Calculate the standard error of its average for \(m=36\). (Answer: \(0.5\).)
  3. In the normal-mean model with error variance \(9\), the fitted intercept is the training sample mean. For \(n=81\), calculate the intercept's standard error. (Answer: \(1/3\), approximately \(0.3333\).)
  4. Four repeated metric estimates each have standard deviation \(0.06\), and all pairs have correlation \(0.25\). Using the equal-correlation formula, calculate the standard error of their average. (Answer: \(0.06\sqrt{0.4375}\), approximately \(0.0397\).)
  5. A fixed data set has \(N=500\) observations. A candidate proposes changing the holdout size from \(100\) to \(200\). State the training sizes under both choices and explain one expected benefit and one trade-off, without claiming a universal optimal split. (Answer: training sizes \(400\) and \(300\); the larger holdout can reduce metric sampling error for a fixed fitted model, but leaves fewer observations for fitting.)
Clinical Biostats