Autocorrelation: The Past Influences the PresentCompute Autocorrelation in Earthquake CountsPositive and Negative AutocorrelationStationarity and the ADF TestDifferencing a Time SeriesLags in AutocorrelationPartial AutocorrelationHow Many Lags to Include?AR Model DefinitionEstimating the AR Using Yule–Walker EquationsThe Yule–Walker MethodTrain, Test, Evaluation, and TuningSaving the Final Model Using MLflowKey Takeaways