This time, I would like to do differencing for time series simulation in Python. Differencing is used to remove seasonality which is usually founded in time series. Following previous decomposing simulation from this dataset us-airlines-monthly-aircraft-miles-flown.csv, we run the differencing process in Jupyter Notebook.
- After doing a process of decomposition, we continue to display the lag values of the time series data
- Display the difference
- Plotting a decomposition plot, just to make sure
- Display the plot after using lag 1 differencing, red box indicated we have successfully removed the trend
- As we can see, we need to remove the seasonality, by running the second differencing
- Plot the result thoroughly
- Showing the table of all differencing result