The Matrix Algebra of Linear Regression

Looking under the hood at the matrix operations behind linear regression

Rob Taylor, PhD
Towards Data Science
11 min readMay 3, 2023

--

Photo by Mingwei Lim on Unsplash

Introduction

For most, simple linear regression is a common starting point for understanding model-based estimation and model comparison. Regardless of whether you’re taking an introductory statistics or data science course, you can bet your…

--

--

Former academic, now data professional and writer. Writing about statistics, data science, and analytics. Machine learning enthusiast and avid football fan.