## Linear Regression from Scratch

A tutorial explaining how to perform simple linear regression from scratch using linear algebra, calculus, and of course R. Regression analysis has the objective to model, in a mathematical way, the behavior of a respond variable as a function of one or more independent variables (factors). As a practical example, think about a process of alcohol production using the microscopic fungus Saccharomyces cerevisiae (yeast). You know that alcohol yield is a linear function of the concentration of sucrose for some interval of concentrations, you are also interested on making nice predictions of alcohol yield for a given sucrose concentration....