Research question
Given observational data, how strong is the relationship between (x) and (y)? Can it be interpreted as (x) causing (y)? Regression answers part of the first question but not automatically the second. This article uses simple regression to explain coefficients, standard errors and causal identification[1].
Data
Paired (x) and (y) observations, sample source, time range and missing-value treatment. For causal interpretation, also exogenous shocks, instruments, natural experiments or panel fixed effects. Frequency and definitions must match, or the coefficient may be a statistical artefact[2]; see the prediction entry for out-of-sample checks[3].
Method
Simple linear regression is:
$$ y = a + b x + e $$
The slope estimate is:
$$ b = \frac{\sum (x_i - \bar{x})(y_i - \bar{y})}{\sum (x_i - \bar{x})^2} $$
with intercept (a = \bar{y} - b\bar{x}). The standard error measures sampling uncertainty in (b); a 95% confidence interval is about (b \pm 1.96 , SE(b)). (R^2) measures the share of variance explained, not causation.
Results
With (x=1,2,3) and (y=2,4,6), slope (b=2), intercept (a=0), (R^2=1). The data are perfectly linear, but only 3 points cannot support a population inference. If the standard error is 0.5, the 95% interval is about 1.0–3.0; if 0.1, it is narrower. Report size and uncertainty together.
Robustness
Change the sample period, controls, functional form, remove outliers and use clustered standard errors; check whether signs and significance are stable. If coefficients move a lot with controls, omitted variables or collinearity may be severe. Robustness is not “more regressions” but reasoned changes in assumptions.
Limitations
First, omitted variables; second, reverse causality; third, measurement error; fourth, sample selection; fifth, wrong functional form; sixth, multiple comparisons. Under these conditions, coefficients cannot be read as causal effects. Association in observational data may come from a common cause.
Reproduction
Report sample, variable definitions, model, standard-error type and confidence intervals; provide data and code; check outliers and collinearity; present main results next to alternative specifications. The goal is not a significant coefficient but a readable boundary for the conclusion.
图表
Deeper note: regressor choice, functional form and robust standard errors
Omitted-variable bias is regression's most common enemy. If the true model is (y=a+bx+cz+e) but the researcher regresses (y) on (x) alone, the coefficient on (x) absorbs (z): (b_{\text{short}}=b+c\cdot\frac{\operatorname{Cov}(x,z)}{\operatorname{Var}(x)}). The short regression is unbiased only when (z) is uncorrelated with (x). Treating correlation as causation usually means (z) was left out.
Functional form also changes conclusions. A linear model assumes each extra unit of (x) moves (y) by the same amount; if the true relation is U-shaped or logarithmic, the linear coefficient is only an average slope and may hide a turning point. Adding squares, interactions or segments requires data distribution and economic meaning, not just (R^2).
Standard errors are easier to get wrong than coefficients. Classical standard errors assume homoskedastic, independent errors; if variance changes with (x) (heteroskedasticity), standard errors are too small and t-statistics inflated; if observations are correlated within industries, regions or time, cluster them. Panel data need individual and serial correlation treatment. Always state the standard-error type and clustering level.
Multicollinearity does not bias coefficients but inflates standard errors: two highly correlated regressors may both be insignificant individually while the joint test is significant. Judge it with variance inflation factors and economic overlap, not a single t-statistic.
(R^2) is not the whole of model quality. Adding variables always raises (R^2), so use adjusted (R^2), information criteria and out-of-sample prediction. Good in-sample fit with poor out-of-sample performance is overfitting; economic research also asks whether coefficients match theory and survive different samples and specifications[2][3].
Sample size and statistical power determine whether a real effect can be detected. If the effect is small and the sample has only dozens of observations, even a real effect may be insignificant; conversely, a large sample turns economically trivial differences into 'significant' ones. Report confidence intervals and economic magnitude alongside p-values. Testing many coefficients also raises the multiple-testing issue[3].
Outliers and missing values can dominate small-sample regressions. One extreme point can tilt the slope; dropping it needs an ex ante rule, not 'the result looked bad'. If missingness is not random, complete-case regression introduces selection bias; state the missingness mechanism and treatment.
Robustness requires several specifications: different functional forms, sample periods, standard errors, and control sets. A conclusion that holds only under one specification is fragile and should be labelled as such, not treated as fact. A robustness table carries more information than a single regression.
Reporting standard: state sample size, coefficients, standard-error type, confidence intervals, functional form and missing-value treatment, so readers can judge the strength of the conclusion rather than a single star. When using clustered standard errors, also report the number of clusters and observations per cluster. This is basic to reproducible research; otherwise readers cannot verify the result.
Related
- 与 RES-013 Introduction to Linear Regression 的关系:The parent article gives the module's overall frame; this article isolates “the relationship between coefficients, standard errors and causal identification” and turns it into a worked example and explicit conditions.
- 与 RES-032 Forecasting and Machine Learning: Out-of-Sample, Overfitting and Baselines 的关系:An adjacent topic in the same station provides background or contrast; this article does not repeat its focus and concentrates on “the relationship between coefficients, standard errors and causal identification”.
- 与 RES-033 Alternative Data and Complex Systems: Signal, Noise and Networks 的关系:An adjacent topic in the same station provides background or contrast; this article does not repeat its focus and concentrates on “the relationship between coefficients, standard errors and causal identification”.
Exercises
- Regression question: x=1,2,3 and y=2,4,6. What are slope, intercept and R²?
- Uncertainty question: coefficient 2, standard error 0.5. What is the 95% interval? What if the standard error is 0.1?
- Causality question: list three conditions to check before interpreting a regression coefficient as causal.
- Omitted-variable question: the true model contains (z) but only (x) is regressed. Write the short-versus-long coefficient relation and when it is unbiased.
- Standard-error question: observations are grouped by industry with within-group correlation. Are conventional standard errors too large or too small, and what should be done?
Sources
- Barbara Illowsky; Susan Dean, Introductory Statistics 2e, 12.3 The Regression Equation, OpenStax. https://openstax.org/books/introductory-statistics-2e/pages/12-3-the-regression-equation
- Barbara Illowsky; Susan Dean, Introductory Statistics 2e, 12.4 Testing the Significance of the Correlation Coefficient, OpenStax. https://openstax.org/books/introductory-statistics-2e/pages/12-4-testing-the-significance-of-the-correlation-coefficient
- Barbara Illowsky; Susan Dean, Introductory Statistics 2e, 12.5 Prediction, OpenStax. https://openstax.org/books/introductory-statistics-2e/pages/12-5-prediction
Worked demo
Read-through check: can you say three things?
No recitation needed. Tick each sentence below and see whether you can explain the mechanism, one worked example and one boundary in your own words.
Ticked 0 / 3
The numbers are teaching assumptions that show relationships, not forecasts or investment advice.
This article has passed the current publication gate. Factual, calculation and translation revisions update both language versions together.