Loved by learners at thousands of companies
Have you ever tried to predict the future? What lies ahead is a mystery which is usually only solved by waiting. In this course, you will stop waiting and learn to use the powerful ARIMA class models to forecast the future. You will learn how to use the statsmodels package to analyze time series, to build tailored models, and to forecast under uncertainty. How will the stock market move in the next 24 hours? How will the levels of CO2 change in the next decade? How many earthquakes will there be next year? You will learn to solve all these problems and more.
Dive straight in and learn about the most important properties of time series. You'll learn about stationarity and how this is important for ARMA models. You'll learn how to test for stationarity by eye and with a standard statistical test. Finally, you'll learn the basic structure of ARMA models and use this to generate some ARMA data and fit an ARMA model.Intro to time series and stationarity50 xpExploration100 xpTrain-test splits100 xpIs it stationary100 xpMaking time series stationary50 xpAugmented Dicky-Fuller100 xpTaking the difference100 xpOther tranforms100 xpIntro to AR, MA and ARMA models50 xpModel order100 xpGenerating ARMA data100 xpFitting Prelude100 xp
Fitting the Future
What lies ahead in this chapter is you predicting what lies ahead in your data. You'll learn how to use the elegant statsmodels package to fit ARMA, ARIMA and ARMAX models. Then you'll use your models to predict the uncertain future of stock prices!Fitting time series models50 xpFitting AR and MA models100 xpFitting an ARMA model100 xpFitting an ARMAX model100 xpForecasting50 xpGenerating one-step-ahead predictions100 xpPlotting one-step-ahead predictions100 xpGenerating dynamic forecasts100 xpPlotting dynamic forecasts100 xpIntro to ARIMA models50 xpDifferencing and fitting ARMA100 xpUnrolling ARMA forecast100 xpFitting an ARIMA model100 xpChoosing ARIMA model50 xp
The Best of the Best Models
In this chapter, you will become a modeler of discerning taste. You'll learn how to identify promising model orders from the data itself, then, once the most promising models have been trained, you'll learn how to choose the best model from this fitted selection. You'll also learn a great framework for structuring your time series projects.Intro to ACF and PACF50 xpAR or MA100 xpOrder of earthquakes100 xpIntro to AIC and BIC50 xpSearching over model order100 xpChoosing order with AIC and BIC100 xpAIC and BIC vs ACF and PACF100 xpModel diagnostics50 xpMean absolute error100 xpDiagnostic summary statistics100 xpPlot diagnostics100 xpBox-Jenkins method50 xpIdentification100 xpIdentification II100 xpEstimation100 xpDiagnostics100 xp
Seasonal ARIMA Models
In this final chapter, you'll learn how to use seasonal ARIMA models to fit more complex data. You'll learn how to decompose this data into seasonal and non-seasonal parts and then you'll get the chance to utilize all your ARIMA tools on one last global forecast challenge.Seasonal time series50 xpSeasonal decompose100 xpSeasonal ACF and PACF100 xpSARIMA models50 xpFitting SARIMA models100 xpChoosing SARIMA order100 xpSARIMA vs ARIMA forecasts100 xpAutomation and saving50 xpAutomated model selection100 xpSaving and updating models100 xpSARIMA and Box-Jenkins50 xpMultiplicative vs additive seasonality50 xpSARIMA model diagnostics100 xpSARIMA forecast100 xpCongratulations!50 xp
In the following tracksTime Series
DatasetsUS Monthly Candy ProductionMonthly Record of CO2Amazon Daily Closing Stock PriceMonthly Milk ProductionYearly Earthquakes
PrerequisitesSupervised Learning with scikit-learn
Climate Informatics Researcher
James is a PhD researcher at the University of Edinburgh, where he tutors computing, machine learning, data analysis, and statistical physics. His research involves using and developing machine learning algorithms to extract space-time patterns from climate records and climate models. He has held visiting researcher roles, working on planet-scale data analysis and modeling, at the University of Oxford and Queen's University Belfast and has a masters in physics where he specialized in quantum simulation. In a previous life, he was employed as a data scientist in the insurance sector. When not several indents deep in Python, he performs improvised comedy.