Skip to content
  • Overview
  • Curriculum
    • FLUMental maths and numerical fluency
    • COMBCounting and combinatorics
    • PROBProbability
    • STATStatistics and inference
    • REGRegression and econometrics
      • 1Ordinary least squares

        • OLS from three angles
      • 2Assumptions and properties

        • Gauss–Markov: what each assumption buys and what breaks it
      • 3Goodness of fit

        • Goodness of fit: R squared, F tests and information criteria
      • 4Diagnostics

        • Diagnostics: reading residuals, leverage and influence
      • 5Identification

        • Identification: endogeneity, instruments and panel methods
      • 6Regression brainteasers

        • The regression questions firms actually ask
      • 7Regularisation

        • Regularisation: ridge, lasso and choosing lambda
      • 8Generalised models

        • Generalised models: logistic, Poisson and quantile regression
    • TSTime series
    • LALinear algebra
    • SCStochastic calculus
    • MLMachine learning
    • SIGAlpha and signal research
    • CASEResearch case studies

Practise

  • Question bank
  • Mental arithmetic
  • Market simulator
  • Arbitrage trees
  • Horse racing
  • Bid book
  • Screening tests
  • Mock papers

Reference

  • Formula reference
  • Search

Your record

  • Review queue
  • Progress
  • Leaderboard
  • Profile
  • Invite friends
AccountSend feedback
  1. Curriculum
  2. /Quantitative research
  3. /Regression and econometrics
  4. /Goodness of fit

Goodness of fit: R squared, F tests and information criteria

REG · Chapter 3·11 min read·Asked at Two Sigma, Citadel, AQR, QuantCo

Assumes Gauss–Markov: what each assumption buys and what breaks it.

After this lesson you should be able to

  • Interpret R2R^2R2 and say why it always rises.
  • Use an F test to compare nested models.
  • Choose between AIC and BIC, and say what each is targeting.

Fit statistics answer "how much of the variation did I explain?" and are routinely over-read. In return prediction an R2R^2R2 of one per cent is a strong result, so the absolute number carries almost no information — what matters is comparing models on the same data, honestly penalised for complexity.

Equation 3.1

R squared and its adjustment

The share of variance explained, and the version that charges for parameters.

R2=1−RSSTSS,Rˉ2=1−RSS/(n−k−1)TSS/(n−1)R^2 = 1 - \frac{\mathrm{RSS}}{\mathrm{TSS}}, \qquad \bar{R}^2 = 1 - \frac{\mathrm{RSS}/(n-k-1)}{\mathrm{TSS}/(n-1)}R2=1−TSSRSS​,Rˉ2=1−TSS/(n−1)RSS/(n−k−1)​
RSS\mathrm{RSS}RSS
Residual sum of squares — what the model failed to explain.
kkk
Number of regressors. Adjusted R2R^2R2 can fall, and can even go negative.

Proposition 3.2

Why R2R^2R2 never falls

Adding a regressor enlarges the space you are projecting onto, and the projection onto a larger space is at least as close to the target. In the worst case the new coefficient comes out zero and nothing changes; in any finite sample it will be slightly non-zero by chance, so R2R^2R2 rises strictly. That makes R2R^2R2 useless for comparing models of different sizes.

Holds when

  • In a simple regression R2=ρ2R^2 = \rho^2R2=ρ2; in a multiple regression it is the squared correlation between yyy and y^\hat{y}y^​.
  • It is not comparable across different dependent variables — regressing returns and regressing prices produce incomparable numbers.

Why a one per cent R2R^2R2 is good news. Returns are mostly unforecastable, so nearly all their variance is noise you were never going to explain. A daily cross-sectional signal with an information coefficient of 0.100.100.10 — very strong — has an R2R^2R2 of one per cent, and that is enough to build a business on because you apply it across thousands of positions and thousands of days. Reading R2R^2R2 as a quality score imported from a physics or marketing context is one of the fastest ways to sound unfamiliar with financial data.

Equation 3.3

The F test for nested models

Tests whether the qqq extra regressors in the unrestricted model add anything jointly.

F=(RSSr−RSSu)/qRSSu/(n−k−1)F = \frac{(\mathrm{RSS}_r - \mathrm{RSS}_u)/q}{\mathrm{RSS}_u/(n - k - 1)}F=RSSu​/(n−k−1)(RSSr​−RSSu​)/q​
qqq
Number of restrictions being tested.
RSSr,RSSu\mathrm{RSS}_r, \mathrm{RSS}_uRSSr​,RSSu​
Restricted and unrestricted residual sums of squares.
06120.30.50.7R²Adjusted R²Regressors addedFit
Figure 3.4 · Why R2R^2R2 cannot fall. On 100100100 observations. R2R^2R2 rises with every regressor because adding a column can only shrink the residual; the adjusted version charges rent for each one and turns over, which is the only reason it is worth reporting.

The rest of this lesson is in Premium

You have read the opening. 10 more sections follow, including 4 worked examples and 3 quick checks.

Start the free 7-day trialSign in

Nothing is charged for 7 days, and you can cancel before then. Or read The law of large numbers and the central limit theorem in full, free.

← Gauss–Markov: what each assumption buys and what breaks itDiagnostics: reading residuals, leverage and influence →
On this page
  • R squared and its adjustment
  • Why R2R^2R2 never falls
  • The F test for nested models
  • Why R2R^2R2 cannot fall

QuantMax · 141 lessons · 1342 questions · c5c0caa

  • Premium
  • Arbitrage trees
  • Horse racing
  • Invite friends
  • Account
  • About QuantMax
  • Terms
  • Privacy

Firm names identify publicly reported question patterns and nothing more. QuantMax is not affiliated with, endorsed by, or recruiting for any firm named in the curriculum. Everything you do in lessons and the question bank is kept to your account.