Normal rolling regression
This is an internal function.
static_roll(df, win)
df
win
a data.table object
Useful links