Discussion:
[pystatsmodels] SARIMAX ValueError: xnames and params do not have the same length
p***@nextorbit.com
2018-10-27 09:58:44 UTC
Permalink
Hi,

I have asked this question on other python online groups but I still
haven't figured things out.

I am using SARIMAX to run the following type of model:

mod = sm.tsa.statespace.SARIMAX(y,order=(1, 1, 1), seasonal_order=(1, 1, 1,
12), enforce_stationarity=False, enforce_invertibility=False)

The value error xnames and params do not have the same length arises as a
result of the following code:

results = mod.fit()

print(results2.summary().tables[1])
print(results2)

I want to know what this value error means.

Any help will be appreciated,

Thanks,

Preetha
Chad Fulton
2018-10-27 15:52:33 UTC
Permalink
Post by p***@nextorbit.com
Hi,
I have asked this question on other python online groups but I still
haven't figured things out.
mod = sm.tsa.statespace.SARIMAX(y,order=(1, 1, 1), seasonal_order=(1, 1,
1, 12), enforce_stationarity=False, enforce_invertibility=False)
The value error xnames and params do not have the same length arises as a
results = mod.fit()
print(results2.summary().tables[1])
print(results2)
I want to know what this value error means.
Any help will be appreciated,
Thanks,
Preetha
Hi Preetha,

Unfortunately I wasn't able to replicate this problem - can you post a bug
report with a full set of code / data that can produce the error?

Thanks!
Chad

Loading...