basically this is the first time I applied TS analysis to a real dataset. ACF and PACF plots are not as nice as in hypothetical settings. I need help interpreting the results.
I am analysing sales data with clear 7 days and 30 days seasonality.
TS is non-stationary by the Augmented Dickey-Fuller (ADF) test.
First-order differencing removes non-stationary by Augmented Dickey-Fuller (ADF) test. (p-value ~ e-10)
However, my ACF and PACF plots for First-order differenced TS show a clear seasonal trend.
lag=40: ACF: https://ibb.co/B66wSCm PACF: https://ibb.co/dMbty3W
lag=100: (ACF is still v. significant after lag=100) ACF: https://ibb.co/xYVxzvJ PACF: https://ibb.co/1ZHKxP7
more interestingly, when I apply 7th-order differencing, I got this: ACF: https://ibb.co/4g2SwM2 PACF: https://ibb.co/mzmV5Nn
I get for seasonal components in TS, the SARIMA model is more suitable. I wanted to manually find p and q based on ACF and PACF. for more analysis (plots and context), here's my code: https://www.kaggle.com/code/bigsmallmediumpotato/time-series-analysis-store-sales
forecast
andfable
packages for R. $\endgroup$