Advanced time-series analysis
Unfortunately, this short chapter cannot provide a more detailed introduction to time-series analysis. To be honest, even two or three times the length of this chapter would not be enough for a decent tutorial, as time-series analysis, forecasting, and anomaly detection are one of the most complex topics of statistical analysis.
But the good news is that there are plenty of great books on the topics! One of the best resources—and the ultimate free online tutorial on this subject—can be found at https://www.otexts.org/fpp. This is a really practical and detailed online tutorial on forecasting and general time-series analysis, and I heartily recommend it to anyone who would like to build more complex and realizable time-series models in the future.