Leveraging Jupyter notebooks to explore linear regression from first principles, including calculating a confidence interval for the slope parameter.

You can see the (rendered) notebook here.