σμimplied vol · KKmax(S−K,0)udβρᵢⱼfat tailsPnL · drawdownyield · TdSₜ = μSₜ dt + σSₜ dWₜC = S·N(d₁) − K·e⁻ʳᵀ·N(d₂)σₚ² = wᵀΣwd₁ = [ln(S/K) + (r + σ²⁄2)T] ⁄ σ√T∂V/∂t + ½σ²S²·∂²V/∂S² + rS·∂V/∂S − rV = 0Sharpe = (Rₚ − R_f) ⁄ σₚVaR₉₉ = μ − 2.33σρ = Cov(X,Y) ⁄ σₓσᵧE[Rₚ] = Σ wᵢ·E[Rᵢ]φ(x) = e^(−x²/2) ⁄ √2πE[Rᵢ] = R_f + βᵢ(E[Rₘ] − R_f)dXₜ = θ(μ − Xₜ)dt + σ dWₜσ²ₜ = ω + α·ε²ₜ₋₁ + β·σ²ₜ₋₁C − P = S − K·e⁻ʳᵀΔ = ∂V/∂S Γ = ∂²V/∂S²p = (e^(rΔt) − d) ⁄ (u − d)rₜ = ln(Pₜ ⁄ Pₜ₋₁)E[Xₜ₊₁ | ℱₜ] = Xₜf* = (bp − q) ⁄ bz = (x − μ) ⁄ σP(N=k) = λᵏe^(−λ) ⁄ k!Θ = −∂V/∂Tν = S·φ(d₁)·√Tmin wᵀΣw s.t. wᵀμ = μ*∫Σ∂∞λ
uantCraft AcademyRoadmapsSkills
Ctrl K
AO
+1.2k Learners
LoginJoin ↗
RoadmapsSkills
AO
+1.2k Learners
Login
  • English
  • Français
  • Español
  • العربية
  • Português
  • Deutsch
  • 日本語
  • 中文
uantCraft Academy

Quant development, learned by doing: short lessons, graded labs and a real IDE, right in your browser.

Learn
All roadmapsAll skillsPython skillC++ skillSoonOxCaml skillSoonMarket Structure skillCalculus skillLinear Algebra skillProbability skillStatistics skillMatrix Decompositions skillOptimization skillTime Series skillStochastic Calculus skillBayesian Inference skillHidden Markov Models skillParticle filtering and non-stationary time series skillscikit-learn skillstatsmodels skillSciPy skill
Support
Give us feedbackBuy us a Coffee
Legal
Privacy policyTerms of service
© 2026 QuantCraft Solutions. All rights reserved.
QuantCraft
σμimplied vol · KKmax(S−K,0)udβρᵢⱼfat tailsPnL · drawdownyield · TdSₜ = μSₜ dt + σSₜ dWₜC = S·N(d₁) − K·e⁻ʳᵀ·N(d₂)σₚ² = wᵀΣwd₁ = [ln(S/K) + (r + σ²⁄2)T] ⁄ σ√T∂V/∂t + ½σ²S²·∂²V/∂S² + rS·∂V/∂S − rV = 0Sharpe = (Rₚ − R_f) ⁄ σₚVaR₉₉ = μ − 2.33σρ = Cov(X,Y) ⁄ σₓσᵧE[Rₚ] = Σ wᵢ·E[Rᵢ]φ(x) = e^(−x²/2) ⁄ √2πE[Rᵢ] = R_f + βᵢ(E[Rₘ] − R_f)dXₜ = θ(μ − Xₜ)dt + σ dWₜσ²ₜ = ω + α·ε²ₜ₋₁ + β·σ²ₜ₋₁C − P = S − K·e⁻ʳᵀΔ = ∂V/∂S Γ = ∂²V/∂S²p = (e^(rΔt) − d) ⁄ (u − d)rₜ = ln(Pₜ ⁄ Pₜ₋₁)E[Xₜ₊₁ | ℱₜ] = Xₜf* = (bp − q) ⁄ bz = (x − μ) ⁄ σP(N=k) = λᵏe^(−λ) ⁄ k!Θ = −∂V/∂Tν = S·φ(d₁)·√Tmin wᵀΣw s.t. wᵀμ = μ*∫Σ∂∞λ
uantCraft AcademyRoadmapsSkills
Ctrl K
AO
+1.2k Learners
LoginJoin ↗
RoadmapsSkills
AO
+1.2k Learners
Login
  • English
  • Français
  • Español
  • العربية
  • Português
  • Deutsch
  • 日本語
  • 中文
Skills›statsmodels

statsmodels Skill

LiveStart here

A regression is only as good as the checks behind it. This skill teaches statsmodels as the tool that reports not just a coefficient but how far to trust it, with short checks (numbers you compute, steps you order, concepts you match) and finance examples: why a precise beta can come with a small R-squared, what a Durbin–Watson statistic and a variance inflation factor warn about, why overlapping returns inflate a t-statistic and how Newey–West fixes it, why a significant logit slope can be useless for trading, what a VAR and a Granger test can and cannot say, how a Kalman filter tracks a hidden level, why two prices that look cointegrated often are not, how quantile regression follows the tails of returns and why Fama–MacBeth beats a pooled regression. The capstone is a code lab where you build the two-pass procedure, a Newey–West t-statistic and an alpha test on real stocks.

3 modules16 graded labs~15 hoursIntermediate → Advanced
Start skill

Prerequisites

Comfort with Python, NumPy and pandas is expected, together with basic statistics (mean, variance, correlation, hypothesis tests).

  • Python
  • SStatistics

Syllabus

16 topics · open any topic, in any order
  1. 1Linear regression (OLS)Not startedRequires Python55 minStart
  2. 2The formula API and the OLS summaryNot started50 minStart
  3. 3Lab: running and reading a factor regressionNot started50 minStart
  4. 4Residual diagnostics VIF and Durbin–WatsonNot started50 minStart
  5. 5Lab: residual diagnostics in codeNot started50 minStart
  6. 6Robust standard errors with Newey–WestNot started50 minStart
  7. 7Lab: Newey–West standard errors by handNot started50 minStart
  8. 8Logit and probit modelsNot started45 minStart
  1. 9ARIMA modelsNot startedRequires Python1 hrStart
  2. 10GARCH volatility modelsNot startedRequires Python1 hrStart
  3. 11VAR and Granger causalityNot started55 minStart
  4. 12State space models and the Kalman filterNot started1 hrStart
  5. 13Cointegration and pairsNot started55 minStart
  1. 14Quantile regression for tail riskNot started45 minStart
  2. 15Fama–MacBeth regressionsNot started1 hrStart
  3. 16Capstone: factor premia estimated with Fama–MacBethNot started1 hr 40 minStart

Completion

Pass all 16 labs with a score of 70+ to complete the skill and earn the statsmodels badge on your profile.

0 / 160%

Prerequisites

Comfort with Python, NumPy and pandas is expected, together with basic statistics (mean, variance, correlation, hypothesis tests).

  • Python
  • SStatistics

Tools you'll use

PythonstatsmodelsNumPypandaspytest

What you'll learn

  • Fit and read a regression with the formula API, and tell a precise coefficient from a model that explains a lot
  • Check residuals and collinearity, and use Newey–West errors when returns overlap or errors are linked
  • Model yes-or-no outcomes with logit and probit and judge them by likelihood, not by stars
  • Use VAR and Granger tests, the Kalman filter and cointegration tests, and know what each can and cannot show
  • Estimate factor premia with quantile regression and Fama–MacBeth and test them against known factors

Next skill

SciPyLive
uantCraft Academy

Quant development, learned by doing: short lessons, graded labs and a real IDE, right in your browser.

Learn
All roadmapsAll skillsPython skillC++ skillSoonOxCaml skillSoonMarket Structure skillCalculus skillLinear Algebra skillProbability skillStatistics skillMatrix Decompositions skillOptimization skillTime Series skillStochastic Calculus skillBayesian Inference skillHidden Markov Models skillParticle filtering and non-stationary time series skillscikit-learn skillstatsmodels skillSciPy skill
Support
Give us feedbackBuy us a Coffee
Legal
Privacy policyTerms of service
© 2026 QuantCraft Solutions. All rights reserved.
QuantCraft
LoginJoin ↗
Login