This notebook creates a linear regression model and related statistics by hand using the underlying mathematical formulas and a sample dataset. It then creates another linear regression model and related statistics using python libraries and the same sample dataset. Both methods include calculating the equation of a line
Both models produced the same linear regression line