https://medium.com/@monocosmo77/progress-with-autoregressive-models-part1-advanced-statistics-e38bf028180f