Python Forum
SARIMAX ValueError: xnames and params do not have the same length
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SARIMAX ValueError: xnames and params do not have the same length
#1
Hi,

I am running SARIMAX and I am getting the following error:

ValueError: xnames and params do not have the same length.

I need help understanding what this error means.

This is the model that I am trying to run:

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



Thanks,



Preetha
Reply
#2
I don't think so many here have used or have heard of SARIMAX(Statsmodels)
It's better to ask at there google group, GitHub issue.
Reply
#3
Cross-posted on SO
https://stackoverflow.com/questions/52998223
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ValueError: Length mismatch: Expected axis has 8 elements, new values have 1 elements ilknurg 1 5,152 May-17-2022, 11:38 AM
Last Post: Larz60+
  Python Error- TypeError: ('Params must be in a list, tuple, or Row', 'HY000') DarkCoder2020 3 5,597 Jul-29-2020, 12:02 AM
Last Post: Larz60+
  Highlight/Underline a string | ValueError: zero length field name in format searching1 1 3,025 Jul-01-2019, 03:06 AM
Last Post: metulburr
  ValueError: dictionary update sequence element #0 has length 1; 2 Jmekubo 4 35,581 Apr-28-2019, 07:25 PM
Last Post: Jmekubo
  nframes = params[:4] vipinv23 5 3,435 Jan-18-2019, 02:06 PM
Last Post: vipinv23

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020