Quantitative Methods in Finance: From Descriptive Statistics to Factor Models
Try This First
Test your knowledge before reading. Don't worry if you get it wrong — that's part of learning.
Key Insights
- Foundation of quantitative finance — statistical methods, risk measures, and multi-factor models used in institutional portfolio management.
Why Quantitative Methods?
Quantitative methods bring mathematical rigor to investment analysis, replacing intuition with systematic, testable frameworks. They underpin:
- Risk management — Value at Risk, expected shortfall, stress testing
- Portfolio construction — mean-variance optimization, risk parity
- Alpha generation — factor-based strategies, statistical arbitrage
- Execution — algorithmic trading, optimal order placement
Key Statistical Concepts
Essential statistics for financial analysis:
- Distribution — returns are approximately normal but fat-tailed (excess kurtosis ~3-10)
- Correlation — assets become correlated during crises (correlation breakdown)
- Volatility clustering — high-vol periods follow high-vol (GARCH effects)
- Stationarity — many financial time series are non-stationary (unit roots)
import numpy as np
import pandas as pd
# Annualized volatility from daily returns
daily_returns = prices.pct_change().dropna()
ann_volatility = daily_returns.std() * np.sqrt(252)
# Sharpe ratio
sharpe = (annualized_return - risk_free_rate) / ann_volatility
# Maximum drawdown
cumulative = (1 + daily_returns).cumprod()
running_max = cumulative.cummax()
drawdown = (cumulative - running_max) / running_max
max_drawdown = drawdown.min()Factor Models
Factor models explain asset returns through exposure to systematic risk factors:
# Fama-French 3-Factor Model
# Ri - Rf = alpha + b1*(Rm-Rf) + b2*SMB + b3*HML + epsilon
# Returns decomposition:
# Market risk (beta) — compensation for systematic risk
# Size (SMB) — small minus big cap returns
# Value (HML) — high book-to-market minus low
# Alpha — idiosyncratic return (skill or luck)
# Implementation with statsmodels
import statsmodels.api as sm
X = sm.add_constant(portfolio_returns - risk_free_rate)
model = sm.OLS(excess_returns, X).fit()
print(model.summary())Article Metadata
Review with Spaced Repetition
Add this lesson's 3 flashcards to your SM-2 study queue. They will appear when due in the Study Queue.
Feynman Concept Cards
Master each building block: read the ELI5, explore the analogy, work the example, find your gaps, teach it back, build it.
Risk Parity is a strategies concept in the Markets pillar.
Analogy
Example
Find Gaps
Explain Risk Parity as if teaching a colleague who is new to strategies. Cover: what it is, how it works, and why it matters.
Create
Create a calc that demonstrates Risk Parity in a real-world strategies scenario. Walk through your design decisions.
Show solution
A calc for Risk Parity should include: 1. The core components of risk parity 2. How they interact 3. Expected outcomes or outputs
Statistical Arbitrage is a strategies concept in the Markets pillar.
Analogy
Example
Find Gaps
Explain Statistical Arbitrage as if teaching a colleague who is new to strategies. Cover: what it is, how it works, and why it matters.
Create
Create a calc that demonstrates Statistical Arbitrage in a real-world strategies scenario. Walk through your design decisions.
Show solution
A calc for Statistical Arbitrage should include: 1. The core components of statistical arbitrage 2. How they interact 3. Expected outcomes or outputs
Algorithmic Trading is a advanced techniques concept in the Markets pillar.
Analogy
Example
Find Gaps
Explain Algorithmic Trading as if teaching a colleague who is new to advanced techniques. Cover: what it is, how it works, and why it matters.
Create
Create a diagram that demonstrates Algorithmic Trading in a real-world advanced techniques scenario. Walk through your design decisions.
Show solution
A diagram for Algorithmic Trading should include: 1. The core components of algorithmic trading 2. How they interact 3. Expected outcomes or outputs
Portfolio Optimization is a strategies concept in the Markets pillar.
Analogy
Example
Find Gaps
Explain Portfolio Optimization as if teaching a colleague who is new to strategies. Cover: what it is, how it works, and why it matters.
Create
Create a calc that demonstrates Portfolio Optimization in a real-world strategies scenario. Walk through your design decisions.
Show solution
A calc for Portfolio Optimization should include: 1. The core components of portfolio optimization 2. How they interact 3. Expected outcomes or outputs
Factor Investing is a strategies concept in the Markets pillar.
Analogy
Example
Find Gaps
Explain Factor Investing as if teaching a colleague who is new to strategies. Cover: what it is, how it works, and why it matters.
Create
Create a calc that demonstrates Factor Investing in a real-world strategies scenario. Walk through your design decisions.
Show solution
A calc for Factor Investing should include: 1. The core components of factor investing 2. How they interact 3. Expected outcomes or outputs
High Frequency Trading is a advanced techniques concept in the Markets pillar.
Analogy
Example
Find Gaps
Explain High Frequency Trading as if teaching a colleague who is new to advanced techniques. Cover: what it is, how it works, and why it matters.
Create
Create a diagram that demonstrates High Frequency Trading in a real-world advanced techniques scenario. Walk through your design decisions.
Show solution
A diagram for High Frequency Trading should include: 1. The core components of high frequency trading 2. How they interact 3. Expected outcomes or outputs
Mean Reversion Strategies is a trading strategies concept in the Markets pillar.
Analogy
Example
Find Gaps
Explain Mean Reversion Strategies as if teaching a colleague who is new to trading strategies. Cover: what it is, how it works, and why it matters.
Create
Create a diagram that demonstrates Mean Reversion Strategies in a real-world trading strategies scenario. Walk through your design decisions.
Show solution
A diagram for Mean Reversion Strategies should include: 1. The core components of mean reversion 2. How they interact 3. Expected outcomes or outputs
Feynman Synthesis — Prove You Understand
1. The One-Pager
Explain this lesson's core idea to a smart 15-year-old. No jargon allowed.
2. The Gap Map
List 3 things you are still unsure about. Be specific.
Knowledge Check
Test your understanding of this lesson.
Flashcards
Space = flip · 1-4 = grade · Swipe on mobile