Ex. 12: (1) Decomposing Seasonal Time-Series Data Script
The document provides a script for decomposing seasonal and non-seasonal time series data using the AirPassengers dataset in R. It demonstrates how to perform Seasonal-Trend decomposition using Loess and visualize the trend, seasonal, and residual components. Additionally, it includes a method to forecast the next 12 months based on the STL decomposition results.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
9 views4 pages
Ex. 12: (1) Decomposing Seasonal Time-Series Data Script
The document provides a script for decomposing seasonal and non-seasonal time series data using the AirPassengers dataset in R. It demonstrates how to perform Seasonal-Trend decomposition using Loess and visualize the trend, seasonal, and residual components. Additionally, it includes a method to forecast the next 12 months based on the STL decomposition results.