Linear regression and F-test

Hi guys, this morning I had a little bit of free time. So I decided to work on some sketches to clarify to myself some of the logic when we talk about hypothesis testing applied to linear regression models. Running F-tests, calculate p-value and in general how to fit a line through some data and how to know that is the best line possible to use.

I made this notebook because for me it is fundamental to write down the concepts I study in order to fully control the math behind them; at least that’s how my mind works.

It is not much…really. I consider this like some kind of sketches all around but I hope they can be interesting for you.


Notebook here.