Chapter 14. Statistics
Statistics underpins almost every quantitative finance task in this book: modeling returns, diagnosing distributional assumptions, building diversified portfolios, and interpreting model outputs and forecasts. This chapter revisits core statistical concepts with practical Python examples that you can extend in later, more specialized chapters.
You start with simple diagnostics for normality, using geometric Brownian motion as a benchmark model and then confronting it with real market data. You then explore portfolio-level statistics and efficient frontiers, before closing with a compact Bayesian example that illustrates how to update beliefs in light of new evidence. The machine-learning view of statistics is deferred to Chapter 15, where you build larger predictive models on top of the tools introduced here.
The chapter develops a compact, finance-focused statistics toolkit: normality diagnostics for simulated and real-world return series, portfolio mean-variance statistics, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access