The Matrix Algebra of Linear Regression in R

Explore how to estimate regression parameter using R’s matrix operators

Rob Taylor, PhD
Towards Data Science
12 min readMay 10, 2023

--

Photo by Breno Machado on Unsplash

Introduction

I recently wrote an article that explored the matrix algebra and mathematical operations that sit behind linear regression. Now, while it’s certainly important to have a firm grasp of theoretical principles, nothing…

--

--

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