Why “Robust” Does Not Mean “Reliable at Any Sample Size”
Heteroskedasticity-consistent standard errors are useful because they allow the error variance to differ across observations. That protection is not a guarantee that the resulting standard errors, tests, and confidence intervals will be accurate in every sample. In particular, the usual justification for robust inference is based on large-sample approximations. With few observations, those approximations may be poor.
The concern is not simply that a sample is small by some fixed cutoff. Reliability also depends on how the observations are distributed across predictor values and on whether a few observations dominate the fit. A sample can contain many rows but still provide little information in an important part of the predictor range. Conversely, no single sample-size rule can certify that robust inference is reliable.
What the Robust Covariance Estimate Is Approximating
Let \(n\) be the number of observations and \(p\) the number of estimated regression coefficients, including an intercept when present. Let \(\mathbf{x}_i\) denote observation \(i\)'s predictor vector, \(\mathbf{e}\) the vector of least-squares residuals, and \(h_{ii}\) its leverage, the \(i\)th diagonal entry of the hat matrix. For orientation, the HC0 covariance estimate has the form below; HC2 and HC3 modify the residual contributions using leverage adjustments.
The unknown error variances are replaced by squared residuals. This is a practical estimate, not a direct observation of each error variance. In a small sample, residuals can be poor stand-ins for errors, and the usual normal or \(t\)-based reference distributions for robust tests and intervals need not give exact finite-sample error rates. HC1, HC2, and HC3 make adjustments intended to improve aspects of the estimate, but none creates information that the data do not contain.
Why Leverage Can Magnify Small-Sample Uncertainty
A high-leverage observation is unusual in its predictor values relative to the rest of the design. Least-squares residuals tend to be pulled toward zero at high-leverage observations, even when their underlying errors are not especially small. HC2 and HC3 account for this feature by dividing squared residuals by \(1-h_{ii}\) or \((1-h_{ii})^2\), respectively. The adjustment can be substantial when \(h_{ii}\) is near one. That may be a warning about limited information, not evidence that an adjusted standard error is now perfectly calibrated.
Worked Example: A Correct Residual and Its HC3 Contribution
Consider four hypothetical observations with predictor values \(x=(10,9,5,1)\) and outcomes \(y=(25.8,22.1,15.0,7.1)\). The fitted line is \(\hat{y}=5+2x\). Its fitted values are \(25, 23, 15,\) and \(7\), so the residuals are \(0.8,-0.9,0,\) and \(0.1\).
In particular, for the last observation, \(e_4=7.1-(5+2\cdot1)=0.1\). The residuals sum to zero, and their predictor-weighted sum is \(10(0.8)+9(-0.9)+5(0)+1(0.1)=0\), as required for this least-squares line with an intercept.
For a simple regression with an intercept, \(h_{ii}=1/n+(x_i-\bar{x})^2/S_{xx}\), where \(\bar{x}=6.25\) and \(S_{xx}=\sum_i(x_i-\bar{x})^2=50.75\). Thus, for the observation at \(x=1\), \(h_{44}=0.25+27.5625/50.75\approx0.7931\). Its HC3-adjusted squared-residual contribution is \[ \frac{e_4^2}{(1-h_{44})^2} = \frac{0.1^2}{(1-0.7931)^2} \approx0.2336. \] The unadjusted squared residual is only \(0.01\). The HC3 adjustment makes this observation’s contribution much larger because its leverage is high.
For the slope, the HC0 variance estimate is \[ \frac{\sum_i(x_i-\bar{x})^2e_i^2}{S_{xx}^2} = \frac{15.4013}{50.75^2} \approx0.005980, \] giving an HC0 standard error of about \(0.0773\). Replacing \(e_i^2\) by \(e_i^2/(1-h_{ii})^2\) gives an HC3 slope standard error of about \(0.157\). These calculations illustrate sensitivity to leverage, not which estimate must be trusted: there are only four observations and \(p=2\) coefficients.
The example also shows why every residual and adjustment needs careful checking. A mistaken residual changes its squared contribution and can change the reported robust standard error. Even with correct arithmetic, however, the HC3 value does not make a four-observation analysis equivalent to a large-sample one.
Few Observations and the Reference Distribution
A robust standard error is used to scale an estimate into a test statistic or confidence interval. A common large-sample procedure compares the statistic with a standard normal distribution. Some software instead reports a \(t\)-based calculation, often using a residual degrees-of-freedom adjustment. In small samples, neither choice is a universal guarantee: the robust statistic does not generally have an exact \(t\) distribution merely because a \(t\) critical value was used.
Worked Example: A Small-Sample Interval Can Depend on the Approximation
Suppose a hypothetical regression with \(n=12\) observations and \(p=2\) coefficients estimates a slope of \(1.20\) units of outcome per unit of predictor, with a reported HC3 standard error of \(0.55\) outcome units per predictor unit. For illustration, use \(df=n-p=10\) and the \(t\) critical value \(2.228\). The interval calculation is \[ 1.20\mathbin{\pm}2.228(0.55) = 1.20\mathbin{\pm}1.2254 = (-0.0254,\ 2.4254). \]
Under that particular \(t\)-based approximation, the interval includes zero. Using the large-sample normal critical value \(1.96\) instead gives \[ 1.20\mathbin{\pm}1.96(0.55) = 1.20\mathbin{\pm}1.078 = (0.122,\ 2.278), \] which excludes zero. The contrast is a reason to examine the small-sample approximation rather than select whichever interval supports a preferred conclusion. Neither calculation establishes that its nominal coverage is exact for this dataset. In context, the \(t\)-based interval ranges from about \(0.025\) outcome units below zero to \(2.43\) above zero per predictor unit under the stated approximation.
Degrees-of-freedom adjustments and HC2 or HC3 can be helpful practical choices, but they are not proofs of finite-sample validity. When an inference changes with plausible standard-error or reference-distribution choices, that sensitivity belongs in the interpretation.
Sparse Predictor Regions Limit the Available Evidence
A predictor range is sparse when only a few observations occur in that region. A fitted slope or contrast may then depend heavily on those observations, even if the overall sample size sounds substantial. Robust standard errors allow the variance contributions to differ across observations; they cannot replace missing observations in a sparsely represented region.
Worked Example: Two Observations at the Edge of the Predictor Range
Imagine a hypothetical simple regression with 20 observations: six have \(x=0\), six have \(x=1\), six have \(x=2\), and two have \(x=10\). The mean predictor value is \(\bar{x}=38/20=1.9\). Also, \[ S_{xx}=\sum_i x_i^2-\frac{(\sum_i x_i)^2}{n} =230-\frac{38^2}{20} =157.8. \]
Each observation at \(x=10\) has leverage \[ h_{ii}=\frac{1}{20}+\frac{(10-1.9)^2}{157.8} =0.05+\frac{65.61}{157.8} \approx0.4658. \] The average leverage is \(p/n=2/20=0.10\), so these two observations have much greater leverage than average. They are also the only observations at the high end of the predictor range.
An HC3 adjustment can respond to a large leverage value, but it cannot tell whether two observations adequately represent the behavior of outcomes near \(x=10\). Any conclusion about that region should acknowledge the sparse support. The calculation flags a limitation in the design; it does not supply a mechanical threshold that determines whether inference is acceptable.
A Careful Assessment of Robust Results
Small-sample robust inference matters because a standard error is part of a chain of reasoning: it affects the test statistic, the reference distribution, and the resulting interval. When that chain rests on a weak approximation, a precise-looking number can communicate more certainty than the data warrant. Assessment should therefore include the design and the analysis choices, not just the label “robust.”
Record \(n\), the number of fitted coefficients, and whether the observations cover the predictor regions relevant to the question.
Look for a few observations with unusually large leverage or a small region represented by only one or two points. Such observations can dominate a robust variance estimate.
Compare reasonable HC choices and the stated reference-distribution approximation when appropriate. Material changes are a reason to qualify the conclusion, not to choose the most favorable result.
Report the estimate, the uncertainty method, and what feature of the small or sparse design limits confidence in the inference.
Common Mistake: Treating “Robust” as a Finite-Sample Guarantee
Wrong reasoning: “The standard error is heteroskedasticity-consistent, so the test and interval are reliable even though the sample is tiny and one point has high leverage.” This confuses protection against a constant-variance assumption with a guarantee about small-sample calibration.
Correction: Robust covariance estimates address uncertainty under unequal error variances, subject to their assumptions and approximations. Small samples, high leverage, and sparse predictor regions can weaken those approximations. Report the method accurately, inspect the design and sensitivity, and make conclusions no stronger than the available information supports.
Check Your Understanding
Use the definitions and calculations above to answer the following questions.
- Why does using an HC standard error not guarantee that a small-sample confidence interval has its stated coverage?
- For \(h_{ii}=0.80\) and \(e_i=0.20\), calculate the HC3-adjusted squared-residual contribution \(e_i^2/(1-h_{ii})^2\). How does it compare with \(e_i^2\)?
- What limitation remains if only two observations occur in a predictor region, even after a leverage correction is applied?
- In the interval example, why is the difference between the \(t\)-based and normal-based intervals relevant to interpretation?
- Name two design features that should be checked before relying on robust inference in a small sample.