LOWESS Curves
Often times when doing data analysis, you want to find the relationship between two variables. The first step is typically to plot a scatterplot. To better understand this relationship, however, it is useful to fit a line to the scatterplot. Most commonly, this is done with a simple linear regression (i.e., ordinary least squares (OLS)…