This document discusses quantile regression and loss functions used in regression analysis, including ordinary least squares (OLS) and quantile regression. It provides mathematical definitions of quantiles, OLS regression using the L2 norm and expected value, and median regression using the L1 norm and median. Examples are given of how OLS regression minimizes the squared errors while median regression minimizes the absolute errors. References to early works on quantiles, regression, and estimation methods are also provided.