Make OLS work for various frequencies
Make OLS work for various frequencies

Note: calculating the error of the Rd is non-trivial because the
covariance matrix for slope and intercept is not diagonal. I opted to
return the whole RegressionResults object, people can do with it as
they please.

kwhanalytics/rdtools,kwhanalytics/rdtools