EconBase
← Back to paper

Statistically Significant Linear Regression Coefficients Solely Driven By Outliers In Finite-sample Inference

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

30,876 characters · 29 sections · 29 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

1.2STATISTICALLY 1.2SIGNIFICANT 1.2LINEAR 1.2REGRESSION 1.2COEFFICIENTS 1.2SOLELY 1.2DRIVEN 1.2BY 1.2OUTLIERS 1.2IN 1.2FINITE1.2-SAMPLE 1.2INFERENCE

center[center omitted — 49 chars of source]
abstractIn this paper, we investigate the impact of outliers on the statistical significance of coefficients in linear regression. We demonstrate, through numerical simulation using R, that a single outlier can cause an otherwise insignificant coefficient to appear statistically significant. We compare this with robust Huber regression, which reduces the effects of outliers. Afterwards, we approximate the influence of a single outlier on estimated regression coefficients and discuss common diagnostic statistics to detect influential observations in regression (e.g., studentized residuals). Furthermore, we relate this issue to the optional normality assumption in simple linear regression SCHMIDT2018146, required for exact finite-sample inference but asymptotically justified for large $n$ by the Central Limit Theorem (CLT). We also address the general dangers of relying solely on p-values without performing adequate regression diagnostics. Finally, we provide a brief overview of regression methods and discuss how they relate to the assumptions of the Gauss-Markov theorem.

\noindentKeywords: outliers, finite-sample inference, regression diagnostics, robust regression, t-statistics, p-values, p-hacking, linear models, single outlier test, CLT, normality assumption

\noindentJEL Codes: C10, C12, C13, C80, C81

License: This work is licensed under a \href{https://creativecommons.org/licenses/by-sa/4.0/}{Creative Commons Attribution-ShareAlike 4.0 International License (CC BY-SA 4.0)}. You are free to share and adapt the material, provided appropriate credit is given and any derivatives are distributed under the same license.

Introduction

Linear regression is a foundational method widely used for modeling due to its simplicity, interpretability, and strong theoretical underpinnings. The classical simple linear regression (SLR) model in scalar notation is given by:

equation[equation omitted — 101 chars of source]

where \( \beta_0 \) (the intercept) and \( \beta_1 \) (the slope) are the coefficients capturing the linear relationship between the predictor \( X_i \) and the dependent/outcome/response variable \( Y_i \), for \( i = 1, \dots, n \). Estimation via OLS yields interpretable, closed-form solutions and enables simple statistical inference using t-tests and confidence intervals, assuming that the classical linear model conditions hold. As shown in wooldridge2019introductory, under assumptions SLR.1 through SLR.4 for simple linear regression, the OLS estimates remain unbiased; SLR.5, which assumes normally distributed errors, is only required for valid finite-sample inference using the t-distribution, but can in general be relaxed in large samples due to the Central Limit Theorem. (CLT)

One of the major advantages of linear regression is the interpretability of the estimated coefficient \( \hat{\beta}_1 \), representing the expected change in the response \( Y \) for a one-unit (assuming no re-scaling e.g. standard-units) increase in the predictor \( X \). Additionally, hypothesis testing on coefficients is conducted using Student’s t-statistic:

equation[equation omitted — 99 chars of source]

which provides measures of statistical significance with the associated p-values, assuming the normality of the error term or a (sufficiently) large sample size.

Despite its upsides, a critical limitation of OLS is its strong sensitivity to outliers. The use of the squared loss function \( \sum_{i=1}^n (Y_i - \hat{Y}_i)^2 \) for model fittings causes observations with large residuals to have a disproportionately high influence on the estimated coefficients. Although the sensitivity can in general be informative, it can also lead to highly misleading subsequent inferences and effect calculations. Even a single outlier can distort the estimated coefficient \( \hat{\beta}_1 \), resulting in underestimated standard errors and thus false statistical significance of the predictor variable belsley1980regression.

This paper investigates how outliers can lead to misleading conclusions in regression analysis. Through simulation using R, we demonstrate the fragility of OLS-based inference when a finite sample inference is manipulated by insertion of a single outlier. To mitigate this issue, we additionally fit a robust Huber regression huber1964robust.

In doing so, we aim to demonstrate the limitations of classical OLS regression based on the quadratic loss function for statistical inference and advocate the use of additional robust alternatives and model diagnostic tools.

These include regression diagnostics (for example, residual analysis, leverage, studentized residuals, Cook’s distance cook1977influential), model fit statistics (for example, \( R^2 \), F tests), and formal outlier detection methods such as single outlier statistical tests barnett1978outliers, rstudentbonferroni, Ugah2021 using residuals, to ensure reliable and transparent communication of statistically significant results.

Linear Regression and Statistical Inference

We begin by recalling the standard form of the linear regression model in matrix notation:

equation[equation omitted — 92 chars of source]

where \( Y \in \mathbb{R}^n \) is the dependent/outcome/response variable, \( X \in \mathbb{R}^{n \times p} \) is the covariate matrix of predictors (assumed to have full column rank), \( \beta \in \mathbb{R}^p \) is the vector of coefficients to be estimated, and \( \varepsilon \in \mathbb{R}^n \) is its error term, assumed to be independent and identically distributed with zero mean and constant variance \( \sigma^2 \) wooldridge2019introductory. These assumptions are known as the classical linear model assumptions denoted as MLR.1–MLR.5 in wooldridge2019introductory in the context of multiple regression for example.

OLS Estimation

The coefficients \( \beta \) are estimated using OLS, which minimizes the sum of squared residuals:

equation[equation omitted — 62 chars of source]

The solution to this optimization problem is given by:

equation[equation omitted — 54 chars of source]

This formula is valid under assumption MLR.3 (no perfect multicollinearity), which ensures that \( X^\top X \) is a invertible matrix product wooldridge2019introductory.

Distribution of the OLS Estimator

Under optional assumption MLR.5, which states that the error term \( \varepsilon \) is normally distributed, the OLS estimator \( \hat{\beta} \) also follows a multivariate normal distribution:

equation[equation omitted — 89 chars of source]

This result forms the basis for inference procedures such as hypothesis testing and confidence interval construction wooldridge2019introductory.

Estimating Variance

Because \( \sigma^2 \) is unknown in practice, it is estimated using the residuals from the fitted model. Under assumption MLR.4 (homoskedasticity), an unbiased estimator of the variance is given by:

equation[equation omitted — 125 chars of source]

where \( \hat{\varepsilon} = Y - X\hat{\beta} \) is the vector of residuals wooldridge2019introductory.

Standard Error and Hypothesis Testing

The standard error of the estimated coefficient \( \hat{\beta}_j \) is computed as:

equation[equation omitted — 92 chars of source]

To test the null hypothesis \( H_0: \beta_j = 0 \), we compute the corresponding \( t \)-statistic as:

equation[equation omitted — 62 chars of source]

Under the assumptions of the classical linear model—and particularly MLR.5—this statistic follows a Student’s \( t \)-distribution with \( n - p \) or written as \( n - p -1\) (depending on intercept inclusion) degrees of freedom:

equation[equation omitted — 35 chars of source]

The two-sided p-value can be calculated as:

equation[equation omitted — 77 chars of source]

which tests whether the coefficient \( \beta_j \) is statistically different from zero in the population regression model wooldridge2019introductory.

The Effect of a Single Outlier on Regression Coefficients

OLS is sensitive to outliers. One unusual point can strongly affect the estimated slope, especially if the point has high leverage—that means, if it lies far from the center of the predictor distribution. This can make a non-significant result appear statistically significant belsley1980regression,cook1977influential.

We can show this with a simple example. We generate 100 observations $(x,y)$ in R using the seed: {123} with no true relationship. Model 1, based on this clean data, shows no significant coefficient. In Model 2, we add one extreme outlier. This one point changes the slope to 1.62 and creates a highly significant result. Model 3 uses robust regression (Huber’s M-estimator), which reduces the outlier’s impact and gives a smaller slope again (see Table (ref)).

table[table omitted — 2,047 chars of source]

We can also illustrate the effect mathematically. When a single value in the data changes, the approximate change (using the result of a first-order Taylor approximation) in the OLS estimate is approximately given by:

equation[equation omitted — 79 chars of source]

where \( x_i \) is the row vector for the \( i \)-th observation. This shows that the change in the estimated slope depends on both the residual size (\( \Delta y_i \)) and the leverage of the (outlier) point. Leverage is defined as:

equation[equation omitted — 51 chars of source]

where \( h_i \) measures how far \( x_i \) is from the center of the predictor space. High-leverage points can have a disproportionate effect on the fit belsley1980regression.

Robust methods help reduce this sensitivity. Huber’s M-estimator huber1964robust uses a different loss function that grows quadratically near zero but linearly in the tails of the distribution, limiting the influence of large residuals. Another robust approach is Least Trimmed Squares (LTS), which fits the model using only the subset of observations with the smallest residuals rousseeuw1987robust.

Robust regression methods provide more stable and reliable estimates when datasets contain outliers.

Single Outlier Tests for Linear Regression Models

Outlier detection in linear regression models typically revolves around residuals, i.e., differences between observed and fitted values. Several test statistics target unusually large residuals to identify potential outliers.

Internally Studentized Residuals

The internally studentized residual for observation \( i \) is:

equation[equation omitted — 115 chars of source]
equation[equation omitted — 133 chars of source]

Here, \( h_{ii} \) is the leverage (diagonal of the so-called hat matrix \( H := X(X^\top X)^{-1}X^\top \)). The denominator rescales residuals the by the local variance.

Under the assumption of normally distributed errors (MLR.5), \( R_i \) approximately follows a standard normal distribution for large \( n \), but does not exactly follow a \( t \)-distribution. The externally studentized residual, which removes the \( i \)th observation when estimating variance, follows a \( t_{n - p - 1} \) distribution.

Maximum Absolute Internally Studentized Residual

The test statistic for detecting a single outlier is the maximum studentized residual:

equation[equation omitted — 52 chars of source]

Under the null hypothesis \( H_0 \) (no outliers), an approximate critical value can be obtained using the Bonferroni correction. To control the family-wise error rate at level \( \alpha \), we compare \( R_n \) to the quantile of the Student's t-distribution with \( n - p - 1 \) degrees of freedom:

equation[equation omitted — 90 chars of source]

Normalized Maximum Ordinary Residual

An alternative approach avoids using the hat matrix \( H \) and instead relies on the unadjusted, or raw, residuals. The corresponding test statistic is the normalized maximum ordinary residual:

equation[equation omitted — 155 chars of source]

This statistic highlights large absolute residuals relative to the overall residual magnitude. Since it does not account for leverage, it can be more sensitive to large deviations in response values. However, this also means it may overlook influential outliers associated with high-leverage points.

Distributional Properties and Critical Values

The exact distributions of \( R_n \) (maximum studentized residual) and \( R_n^* \) (normalized maximum ordinary residual) are not analytically tractable. Therefore, critical values are typically estimated using one or more of the following methods:

itemize• Bonferroni-adjusted \( t \)-tests applied to individual residuals, • Monte Carlo or permutation tests under the null hypothesis \( H_0 \), • Conservative bounds derived from F-distributions or inverted Student's \( t \)-distributions.

Upper Bound of Single Outlier Test Statistics

Ugah et al. Ugah2021 derive an upper bound as identical for both as:

equation[equation omitted — 100 chars of source]
figure[figure omitted — 226 chars of source]

On the Normality Assumption in Regression Analysis

Recall again MLR.5 for exact finite-sample inference. Under this assumption, the least squares estimator

equation[equation omitted — 76 chars of source]

is unbiased, efficient, and follows:

equation[equation omitted — 104 chars of source]

This enables valid inference using standard test statistics.

The t-statistic for testing \( H_0: \beta_j = 0 \) is:

equation[equation omitted — 154 chars of source]

where

equation[equation omitted — 82 chars of source]

The residuals \( \hat{\varepsilon}_i \), however, are correlated due to their dependence on the fitted values via the hat matrix \( H = X (X^\top X)^{-1} X^\top \), where \( \hat{\mathbf{y}} = H \mathbf{y} \) and \( \hat{\boldsymbol{\varepsilon}} = (I - H) \mathbf{y} \).

While OLS remains unbiased and consistent under weaker assumptions (e.g., finite variance and exogeneity), the exact distribution of test statistics like \( t_j \) requires normality.

Outlier Effects on Normality Assumption in Regression Analysis

Outliers violate this assumption in two key ways:

enumerate• Non-normality of residuals: A single outlier induces skewness or kurtosis in the residual distribution, invalidating \( t_j \sim t_{n-p} \). Deviations from linearity are often visible in the Q–Q plot.\\ $\implies$ Inflated or deflated Type I error rates. • Distortion of variance estimates: Outliers distort \( \hat{\sigma}^2 \), affecting directly \( SE(\hat{\beta}_j) \) and thus statistical inference. For high-leverage points \( h_{ii} \) (diagonal entries of the hat matrix), even a small residual \( e_i \) can disproportionately influence: \begin{equation} SE(\hat{\beta}_j) \propto \sqrt{(X^\top X)^{-1}_{jj}}. \end{equation} $\implies$ Misestimated p-values, false significance, or masked effects. (Robust methods reduce the outlier's influence.)

Under outlier contamination, the OLS estimator becomes:

equation[equation omitted — 102 chars of source]

where \( \Delta \) increases with leverage \( h_{oo} \) and residual magnitude \( |e_o| \). Thus, \( \hat{\boldsymbol{\beta}} \) can become biased in finite samples and may become inconsistent, particularly if the outlier introduces dependence between the covariates and the errors.

By the Gauss–Markov theorem, OLS is known as the Best Linear Unbiased Estimator (BLUE) under classical conditions, regardless of normality. In large samples, the Central Limit Theorem (CLT) implies that \( \hat{\boldsymbol{\beta}} \) is approximately normal, allowing for asymptotic inference even when the error distribution is not normal.

An Overview of Regression Methods

Linear regression relies on the Gauss–Markov assumptions, which ensure that the OLS estimator is the BLUE. These assumptions include linearity of the model, meaning the outcome variable \( \mathbf{y} \) is expressed as a linear combination. The covariate matrix \( X \) must have full column rank so that \( X^\top X \) is invertible, ensuring that the parameter estimates are uniquely defined. Exogeneity is also required, meaning the regressors are uncorrelated with the error term: \( \mathbb{E}[\boldsymbol{\varepsilon} \mid X] = 0 \), which implies \( \operatorname{Cov}(X, \boldsymbol{\varepsilon}) = 0 \). The error terms must be homoscedastic, following a constant variance \( \operatorname{Var}(\boldsymbol{\varepsilon}) = \sigma^2 I \), and they must be uncorrelated across observations, i.e., \( \operatorname{Cov}(\varepsilon_i, \varepsilon_j) = 0 \) for all \( i \neq j \). While these assumptions are sufficient for OLS to be unbiased and efficient, an additional assumption of normally distributed errors, \( \boldsymbol{\varepsilon} \sim \mathcal{N}(0, \sigma^2 I) \), is required for exact finite-sample inference using t-tests and F-tests.

In practice, these conditions are often violated. To address such limitations, various extensions and robust methods have been developed. Below, we outline some of the most widely used regression methods and highlight their relation to the underlying Gauss–Markov assumption.

Deming Regression

Deming regression accounts for measurement error in both \(x\) and \(y\), minimizing orthogonal distances:

equation[equation omitted — 151 chars of source]

Useful when both variables are noisy cornbleet1989deming.\\ Assumptions addressed: Violates fixed \(x\); assumes homoscedastic, independent errors.

Ridge Regression

Ridge regression applies an \(L_2\) penalty to control variance from multicollinearity:

equation[equation omitted — 99 chars of source]

hoerl1970ridge.\\ Assumptions addressed: Mitigates multicollinearity.

Lasso Regression

Lasso uses an \(L_1\) penalty to induce sparsity:

equation[equation omitted — 99 chars of source]

Some coefficients may be exactly zero tibshirani1996regression.\\ Assumptions addressed: Mitigates multicollinearity.

Elastic Net

Elastic Net combines \(L_1\) and \(L_2\) penalties:

equation[equation omitted — 120 chars of source]

Balances sparsity and stability zou2005regularization.\\ Assumptions addressed: Mitigates multicollinearity.

Robust Regression

Robust regression reduces sensitivity to outliers by using a different loss function \(\rho(\cdot)\) less sensitive than squared error:

equation[equation omitted — 68 chars of source]

Huber’s loss is a common default choice for example huber1964robust.\\ Assumptions addressed: Handles non-normality and heteroscedasticity.

Quantile Regression

Quantile regression estimates conditional quantiles by minimizing asymmetric loss:

equation[equation omitted — 128 chars of source]

koenker1978regression.\\ Assumptions addressed: Handles heteroscedasticity and non-normality.

Principal Component Regression (PCR)

PCR applies PCA to \(X\), then regresses \(y\) on the top components. It reduces multicollinearity and variance jolliffe2002principal.\\ Assumptions addressed: Mitigates multicollinearity.

Partial Least Squares (PLS)

PLS projects \(X\) onto components maximizing covariance with \(y\), often outperforming PCR when predictors are correlated with the outcome wold1984pls.\\ Assumptions addressed: Mitigates multicollinearity.

LOESS

LOESS fits local linear models weighted by distance:

equation[equation omitted — 91 chars of source]

Flexible and nonparametric cleveland1979robust.\\ Assumptions addressed: Relaxes linearity; locally handles heteroscedasticity.

Spline Regression

Spline regression uses piecewise polynomials with a smoothness penalty:

equation[equation omitted — 71 chars of source]

The smoothing parameter \(\lambda\) controls complexity de1978practical.\\ Assumptions addressed: Relaxes linearity.

Generalized Linear Models (GLMs)

GLMs generalize linear models via a link function:

equation[equation omitted — 51 chars of source]

Includes logistic and Poisson models mccullagh1989generalized.\\ Assumptions addressed: Handles non-normality and heteroscedasticity.

Generalized Additive Models (GAMs)

GAMs allow additive nonlinear effects:

equation[equation omitted — 76 chars of source]

Each \(f_j\) is estimated nonparametrically (e.g., splines) hastie1990generalized.\\ Assumptions addressed: Relaxes linearity; handles non-normality and mild heteroscedasticity.

Conclusion

Outliers can inflate the significance of regression coefficients, leading to incorrect inferences. The normality assumption of the residuals is critical for valid t-tests, and its violation---commonly due to outliers---necessitates careful diagnostic checks or the use of robust methods. It is advised to always conduct residual diagnostics and robust regression techniques to assess and mitigate these issues, even post outlier-removal, especially in finite-sample inference.

Also, the use of outlier diagnostics utilizing both residuals and leverage is recommendable, such as standardized residuals, leverage plots, Cook's distance, DFBETAS, and influence plots. Normality of residuals can be assessed using tools like the Q–Q plot, Shapiro–Wilk test, or histogram of residuals.

thebibliography{99} \bibitem{cornbleet1989deming} P. J. Cornbleet and N. Gochman. \newblock Incorrect least-squares regression coefficients in method-comparison analysis. \newblock {\em Clinical Chemistry}, 35(4):584--585, 1989. \bibitem{hoerl1970ridge} Arthur E. Hoerl and Robert W. Kennard. \newblock Ridge regression: Biased estimation for nonorthogonal problems. \newblock {\em Technometrics}, 12(1):55--67, 1970. \bibitem{tibshirani1996regression} Robert Tibshirani. \newblock Regression shrinkage and selection via the lasso. \newblock {\em Journal of the Royal Statistical Society: Series B}, 58(1):267--288, 1996. \bibitem{zou2005regularization} Hui Zou and Trevor Hastie. \newblock Regularization and variable selection via the elastic net. \newblock {\em Journal of the Royal Statistical Society: Series B}, 67(2):301--320, 2005. \bibitem{huber1964robust} Peter J. Huber. \newblock Robust estimation of a location parameter. \newblock {\em Annals of Mathematical Statistics}, 35(1):73--101, 1964. \bibitem{koenker1978regression} Roger Koenker and Gilbert Bassett. \newblock Regression quantiles. \newblock {\em Econometrica}, 46(1):33--50, 1978. \bibitem{jolliffe2002principal} Ian T. Jolliffe. \newblock {\em Principal Component Analysis}. \newblock Springer, 2nd edition, 2002. \bibitem{wold1984pls} Herman Wold, Axel Ruhe, Svante Wold, and William J. Dunn III. \newblock The collinearity problem in linear regression. the partial least squares (PLS) approach to generalized inverses. \newblock In W. J. Krzanowski, editor, {\em Multivariate Analysis}, pages 167--198. Academic Press, 1984. \bibitem{cleveland1979robust} William S. Cleveland. \newblock Robust locally weighted regression and smoothing scatterplots. \newblock {\em Journal of the American Statistical Association}, 74(368):829--836, 1979. \bibitem{de1978practical} Carl de Boor. \newblock {\em A Practical Guide to Splines}. \newblock Springer, 1978. \bibitem{mccullagh1989generalized} Peter McCullagh and John A. Nelder. \newblock {\em Generalized Linear Models}. \newblock Chapman and Hall, 2nd edition, 1989. \bibitem{hastie1990generalized} Trevor Hastie and Robert Tibshirani. \newblock {\em Generalized Additive Models}. \newblock Chapman and Hall, 1990. \bibitem{rousseeuw1987robust} Peter J. Rousseeuw and Annick M. Leroy. \newblock {\em Robust Regression and Outlier Detection}. \newblock Wiley, 1987. \bibitem{fox2002companion} John Fox. \newblock {\em An R and S-Plus Companion to Applied Regression}. \newblock Sage Publications, 2002. \bibitem{SCHMIDT2018146} Amand F. Schmidt and Chris Finan. \newblock Linear regression and the normality assumption. \newblock {\em Journal of Clinical Epidemiology}, 98:146--151, 2018. \bibitem{wooldridge2019introductory} Jeffrey M. Wooldridge. \newblock {\em Introductory Econometrics: A Modern Approach}. \newblock Cengage Learning, 7th edition, 2019. \bibitem{Ugah2021} Tobias E. Ugah, Emmanuel I. Mba, Micheal C. Eze, Kingsley C. Arum, Ifeoma C. Mba, and Henrietta E. Oranye. \newblock On the upper bounds of test statistics for a single outlier test in linear regression models. \newblock {\em Journal of Applied Mathematics}, 2021:5 pages, 2021. \bibitem{belsley1980regression} David A. Belsley, Edwin Kuh, and Roy E. Welsch. \newblock {\em Regression Diagnostics: Identifying Influential Data and Sources of Collinearity}. \newblock John Wiley & Sons, 1980. \bibitem{cook1977influential} R. Dennis Cook. \newblock Detection of influential observations in linear regression. \newblock {\em Technometrics}, 19(1):15--18, 1977. \bibitem{barnett1978outliers} Vic Barnett and Toby Lewis. \newblock {\em Outliers in Statistical Data}. \newblock Wiley, 1978. \bibitem{rstudentbonferroni} Sanford Weisberg. \newblock Multiple outlier detection in regression using studentized residuals. \newblock {\em Technometrics}, 22(2):139--144, 1980.