https://numbas.mathcentre.ac.uk/question/12141/calculate-moving-averages-perform-linear-regressio/embed/