I get a 'LU decomposition' error where using SARIMAX in the statsmodels python package. This is the code:
from statsmodels.tsa.statespace.sarimax import SARIMAX
model = SARIMAX(endog=series, order=(0,0,1), seasonal_order=(1,0,1,12), trend='n')
model_fit = model.fit()
predictions = model_fit.predict(len(series), len(series)+30)
The error I get is: 'LinAlgError: LU decomposition error'. The error appears only for certain combination of numbers in 'order' and 'seasonal_order'.