I want to know the orders (p,d,q) for ARIMA model, so I've got to use pmdarima
python package. but it recommends me SARIMAX model! keep reading for more details.
i used Daily Total Female Births Data for this purpose. it's a stationary time series.
# importing packages
import pandas as pd
from pmdarima import auto_arima
import warnings
warnings.filterwarnings('ignore')
# read csv file
df = pd.read_csv('/Data/DailyTotalFemaleBirths.csv' , index_col=0 , parse_dates=True)
# set daily frequency for datetime indexes
df.index.freq = 'D'
# now using auto_arima i try to find (p,d,q) orders for ARIMA model.
# so i set seasonal=False because i don't want orders for SARIMA! my
# goal is to find orders for ARIMA model not SARIMA
auto_arima(df['Births'] , start_P= 0 , start_q=0 , max_p=6 ,
max_q=3 , d=None , error_action='ignore' , suppress_warnings=True ,
m=12 , seasonal=False , stepwise=True).summary()
the problem is where although I set seasonal=False
but it gives me SARIMAX (which stands for Seasonal Autoregressive Independent Moving Average) but I don't want to consider seasonal component, so I set seasonal=False
! seems that pmdarima
doesn't pay attention to seasonal=False
!
can someone help me to figure out what is the problem?
for False Result: SARIMAX result comes from pmdarima
version 1.8.3
for True Result: ARIMA result comes from pmdarima
version 1.1.0
pmdarima
version1.8.3
, and exactly in this example; when I runauto_arima(...).seasonal_order
it gives me(0,0,0,0)
which can be interpreted as ignoring seasonal component I guess. what do you think about this? – CotidalDefault is no seasonal effect.
github.com/statsmodels/statsmodels/blob/… – Szabadka