This study involves a comparison between the application of the univariate SARIMA model and the utilization of VAR methods (vector autoregressive models) for multivariate time series analysis. The analysis is conducted using three-time series variables derived from data representing the monthly average of Humidity (H), Rainfall (R), and Temperature (T) in Ninahvah City, Iraq. Both univariate and multivariate time series approaches are employed to model these series. The paper also outlines the implementation of vector autoregressive, structural vector autoregressive, and structural vector error correction models using the 'vars' package. Additionally, it provides functions for diagnostic testing, estimation of constrained models, prediction, causality analysis, impulse response analysis, and forecast error variance decomposition. Furthermore, it introduces three fundamental functions, VAR, SVAR, and SVEC, for estimating these models. The comparison between the methods is based on evaluating the mean error produced by each approach. The findings of the study indicate that univariate linear stationary methods outperform multivariate models. The analysis of the data was carried out using the R software platform. The primary objective is to assess the performance of univariate and multivariate time series models in handling the given data. The research gap lies in the need for a comparative evaluation of SARIMA and VAR methods for time series analysis in the context of monthly environmental variables. These models were chosen due to their effectiveness in capturing temporal dependencies and interactions among multiple variables in time series data, providing a comprehensive analysis of climatic patterns in Ninahvah City, Iraq. The study aims to address the research gap by comparing these models and justifying their selection based on their capabilities to analyze the specified time series data.
Read full abstract