This project demonstrates time series forecasting techniques using Python. The notebook includes:
- Data exploration and visualization
- Time series decomposition
- Building and evaluating ARIMA & SARIMAX models for forecasting
The following Python libraries are used in this project:
- statsmodels
- pandas
- seaborn
- sklearn.metrics
- matplotlib
- Load and Explore the Dataset: Initial dataset exploration using Seaborn to visualize the data.
- Stationarity Check: Analyze the time series for trends and seasonality, ensuring stationarity for ARIMA modeling.
- ARIMA & SARIMAX Models Implementation: Build, fit, and evaluate ARIMA & SARIMAX models for forecasting future values.
- Model Diagnostics: Perform residual diagnostics to validate model assumptions.
- Visualization of Results: Plot actual vs. predicted values to assess the accuracy of the model.
- Clone this repository and navigate to the notebook file.
- Install the required libraries
- Open the notebook in Jupyter or Google Colab and run the cells sequentially.
The notebook generates:
- ACF and PACF plots for determining ARIMA & SARIMAX parameters.
- Forecasted time series plots compared against actual values.
- Performance metrics like Mean Squared Error (MSE) and Mean Absolute Error (MAE).
This notebook leverages the Seaborn dataset library and Python's statistical modeling tools for demonstrating time series analysis.