如何在auto-arima Python中删除截取
我正在运行一个auto_arima来寻找最佳订单如何在auto-arima Python中删除截取,python,statistics,arima,Python,Statistics,Arima,我正在运行一个auto_arima来寻找最佳订单(p,q),假设d=0,使用AIC作为标准 我试图从测试模型中删除截距,我使用了带有_interpect=False的,参数,但我仍然在输出中获得截距 我怎样才能去掉截距项 下面是我使用的代码: from statsmodels.tsa.arima_model import ARIMA import pmdarima as pm model = pm.auto_arima(y, start_p=0, start_q=0,
(p,q)
,假设d=0
,使用AIC作为标准
我试图从测试模型中删除截距,我使用了带有_interpect=False的,
参数,但我仍然在输出中获得截距
我怎样才能去掉截距项
下面是我使用的代码:
from statsmodels.tsa.arima_model import ARIMA
import pmdarima as pm
model = pm.auto_arima(y, start_p=0, start_q=0,
test='adf', # use adftest to find optimal 'd'
max_p=5, max_q=5, # maximum p and q
m=1, # frequency of series
d=None, # let model determine 'd'
seasonal=False, # No Seasonality
start_P=0,
D=0,
trace=True,
error_action='ignore',
suppress_warnings=True,
stepwise=True,
information_criterion='aic',
Trend=None,
with_intercept=False)
print(model.summary())