Why augmented dickey fuller test gives me less p-value i.e. less than 0.05 despite of having seasonality my data.
My data's plot:
Code for adf test :
from pandas import Series from statsmodels.tsa.stattools import adfuller
X = nottemts
result = adfuller(X)
print('ADF Statistic: %f' % result[0])
print('p-value: %f' % result[1])
print('Critical Values:')
for key, value in result[4].items():
print('\t%s: %.3f' % (key, value))
The output I get is,
ADF Statistic: -3.240917 p-value: 0.017735 Critical Values: 1%: -3.460 5%: -2.874 10%: -2.574
This test is used to check the stationarity i.e. Mean, Variance, autocorrelation structure(Seasonality) doesnot vary with time.
Thanks in advance.