statsmodels / statsmodels

Statsmodels: statistical modeling and econometrics in Python
http://www.statsmodels.org/devel/
BSD 3-Clause "New" or "Revised" License
9.73k stars 2.84k forks source link

Possibility to enter stock data with sales and mark special days like Launnch day or Black Friday #9250

Open Vampirtc opened 1 month ago

Vampirtc commented 1 month ago

I have been looking for a way to also report my current stock or when sales are 0, mark them as special case where stock is also 0. When an item is out of stock, sales are 0, but that does not mean there is no demand.

There are days or months when sales are way out of average, this is especially true for launch day or even Black Friday. I would the option to mark such sales so they wouldn't influence future sales.

luke396 commented 1 month ago

Hi @Vampirtc, it seems your issue seems unrelated to statsmodels. For simple data transformations and processing, you might find repo like pandas more suitable.

Vampirtc commented 1 month ago

Hi, using SARIMAX, doesn't that fit?

luke396 commented 1 month ago

If you want to build a model and predict for the future not just mark existing data, pandas like indeed not sufficient.