Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Time Series Analysis with Python Cookbook

You're reading from   Time Series Analysis with Python Cookbook Practical recipes for exploratory data analysis, data preparation, forecasting, and model evaluation

Arrow left icon
Product type Paperback
Published in Apr 2025
Publisher
ISBN-13 9781805124283
Length 98 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Tarek A. Atwan Tarek A. Atwan
Author Profile Icon Tarek A. Atwan
Tarek A. Atwan
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

1. Time Series Analysis with Python Cookbook, Second Edition: Practical recipes for exploratory data analysis, data preparation, forecasting, and model evaluation FREE CHAPTER
2. Getting Started with Time Series Analysis 3. Reading Time Series Data from Files 4. Reading Time Series Data from Databases 5. Persisting Time Series Data to Files 6. Persisting Time Series Data to Databases 7. Working with Date and Time in Python 8. Handling Missing Data 9. Outlier Detection Using Statistical Methods 10. Exploratory Data Analysis and Diagnosis 11. Building Univariate Time Series Models Using Statistical Methods 12. Additional Statistical Modeling Techniques for Time Series 13. Outlier Detection Using Unsupervised Machine Learning

Forecasting multivariate time series data using VAR

In this recipe, you will explore the Vector Autoregressive (VAR) model for working with multivariate time series. In Chapter 10, Building Univariate Time Series Models Using Statistical Methods, we discussed AR, MA, ARIMA, and SARIMA as examples of univariate one-directional models. VAR, on the other hand, is bi-directional and multivariate.

VAR VERSUS AR MODELS

You can think of a VAR of order p, or VAR(p), as a generalization of the univariate AR(p) made for working with multiple time series. Multiple time series are represented as a vector, hence the name vector autoregression. A VAR of lag one (1) can be written as VAR(1) across two or more variables.

There are other forms of multivariate time series models, including Vector Moving Average (VMA), Vector Autoregressive Moving Average (VARMA), and Vector Autoregressive Integrated Moving Average (VARIMA), that generalize other univariate models. In practice, you will find that VAR...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime