KatInterview

OLS on Market Data: Reading Betas and Testing Added Features

Machine LearningModel answer
MediumModel answerMachine Learninglinear-regressionstatistical-inferencefeature-selection

Last updated

Fit an OLS model on financial panel data, interpret each coefficient in economic terms, and test whether each extra feature adds explanatory power.

Context

You are handed a tidy dataset: one row per observation (say, per trading day or per asset-day), a column named target representing the dependent quantity (for example, next-period returns in basis points), and several predictor columns such as market return, trailing momentum, log trading volume, and a valuation score.

Task

  1. Fit an ordinary least squares model predicting target from all remaining columns (including an intercept).
  2. Report the estimated coefficients (betas) and explain what each one means economically, in the units of the data.
  3. Describe how you would test, one at a time, whether each additional predictor genuinely contributes explanatory power beyond the others.

What a strong answer covers

  • Correct model setup and how you read the fitted summary (coefficients, standard errors, t-statistics, p-values, R², adjusted R², overall F-test).
  • Ceteris paribus interpretation with correct unit bookkeeping for transformed variables (logs, standardized scores).
  • The right tool for testing marginal contribution — nested model comparison — and the difference between sequential and partial tests.
  • Caveats specific to financial data: autocorrelated and heteroskedastic errors, multicollinearity, non-stationarity, and the gap between in-sample significance and out-of-sample value.

Hints

Hint 1

Fit with an OLS routine, add the intercept explicitly, and read coefficients together with their standard errors rather than in isolation.

Hint 2

Interpret each coefficient as the change in the target per one-unit change in that predictor, holding everything else fixed — and restate it in the predictor's real units.

Hint 3

To test marginal contribution, compare a model without the feature to one with it via an F-test (or a robust Wald test); order of entry matters for sequential sums of squares.