the mathematics behind drawing a line of best fit

this video describes the mathematics behind drawing lines of best fit. specifically i cover the different forms of a cost function associated with using the modulus of errors, squares of errors, and errors to the fourth power. check out https://ben-lambert.com/econometrics-course-problem-sets-and-data/ for course materials, and information regarding updates on each of the courses. quite excitingly (for me at least), i am about to publish a whole series of new videos on bayesian statistics on youtube. see here for information: https://ben-lambert.com/bayesian/ accompanying this series, there will be a book: https://www.amazon.co.uk/gp/product/1473916364/ref=pe_3140701_247401851_em_1p_0_ti

the mathematics behind drawing a line of best fit