## Curvy Regression

These are code snippets and notes for the fourth chapter, Geocentric Models, , sections 5, of the book “Statistical Rethinking” (version 2) by Richard McElreath. Polynomial Regression Standard linear models using a straight line to fit data are nice for their simplicity but a straight line is also very restrictive. Most data does not come in a straight line. We can use polynomial regression to extend the linear model. »