Wayne's Github Page

A place to learn about statistics

Linear Regression

Linear regression is the first class where data meets statistics meets programming. It is often the first model that people use to mathematically define relationships between variables. It is also one of the foundational machine learning models as well. The algorithm is simple, matrix multiplication in one line of code, but knowing how to diagnose it for the different types of problems can be challenging.

Syllabi and Materials

Syllabi:

Pre-requisites

Computer setting up

I encourage you to set up Jupyter Notebooks on your computer so you could repeat these in R or Python in the future. For Python users, you’ll need numpy and statsmodel.

Topic Notes