Questions tagged [arima]

arima (autoregressive integrated moving average.) It's a model used in data science to measure events that happen over a period of time. The model is used to understand past data or predict future data in time series.

Filter by
Sorted by
Tagged with
4 votes
4 answers
926 views

Python (S)ARIMA models completely wrong

I have some time series, like this one: I want to predict future values, so I splitted in train/test (70/30) and I created several ARIMA models, however they are all completely wrong (or maybe I am ...
CasellaJr's user avatar
  • 219
4 votes
1 answer
2k views

ARIMA training super slow

I am fitting ARIMA model (from statsmodels) on 20 000 elements dataset on a 24 CPU 200+GB RAM cloud server for over 24 hours now. It loads all the CPU's. But It takes so long... Is it how it works or ...
Myron's user avatar
  • 103
4 votes
2 answers
7k views

Forecasting via LSTM or XGBoost... is it really a forecast or

I guess I understand the idea of predictions made via LSTM or XGBoost models, but want to reach out to the community to confirm my thoughts. This tutorial does a nice job explaining step by step of ...
krinker's user avatar
  • 141
3 votes
3 answers
3k views

Best common metric for comparing classic time series forecasting methods (ARIMA/Prophet) with ML approach?

I am new to time series forecasting and looking to compare the performance of ARIMA/Prophet with an XGBoost model in predicting future stock market values based on historical stock market data and ...
Darcey BM's user avatar
  • 197
3 votes
1 answer
111 views

How to know if a time series sequence is predictibale or just random (Univariate time series prediction)?

I'm trying to predict a current value of a variable based on the its previous 10 values. I tried multiple time series approaches including ARIMA, LSTM and linear regression... None of them really ...
the phoenix's user avatar
3 votes
1 answer
89 views

How to use ARIMA to predict time series?

...
Amogh Katwe's user avatar
3 votes
1 answer
8k views

XGBoost vs ARIMA for Time Series analysis

Doing time series analysis, I have doubts on choosing the right model. I want to predict the next 30 mins window, from the input dataset which contains the no. of error count for that particular 1 min ...
Jai K's user avatar
  • 151
3 votes
1 answer
94 views

ML model to forecast time series data

This question has three sub-parts, answering each of which probably doesn't require huge text. I hope that is okay. I'm trying to understand time series prediction using ML. I have the target variable ...
user9343456's user avatar
2 votes
2 answers
188 views

High error Arima model - Python

I have a time series data. It has daily frequency. I want to forecast the data for the next week or month with an ARIMA model. This is a chart of my time series data: First I use the method ...
J.C Guzman's user avatar
2 votes
1 answer
117 views

ARIMA predictions look shifted by one unit of time

I am using statsmodels ARIMA (1,2,1) to predict the monthly demand for a product. The predictions look like they are shifted to the right by one month. I wonder if the statsmodels.ARIMA.Residuals....
Gloksinya's user avatar
  • 121
2 votes
0 answers
962 views

Grouped Time Series forecasting with scikit-hts

I am trying to forecast sales for multiple time series I took from kaggle's Store item demand forecasting challenge. It consists of a long format time series for 10 stores and 50 items resulting in ...
Downforu's user avatar
  • 131
2 votes
0 answers
19 views

How to automate Seasonal Arima?

I am building Seasonal Arima for more than 10k products. In all the tutorials and blogs mentioned, I need to do the exploration to find the p,d,q values along with seasonality value using the ...
Jack Daniel's user avatar
2 votes
0 answers
232 views

ARIMA: How to understand performance of the model?

I am new to use of ARIMA model and after working on it for a couple of days and doing research - I'm not sure how to interpret the performance of my model... Here is what the ...
DGomonov's user avatar
  • 121
2 votes
0 answers
545 views

Multiple seasonality with ARIMA?

I know that ARIMA can't detect multiple seasonality, but it is possible to use fourier functions to add a second seasonality. I need to forecast gas consumption composed by a daily, weekly (week days-...
marcodena's user avatar
  • 1,667
1 vote
1 answer
110 views

Why so discrepancy between ARIMA and LSTM in time series forecasting?

I have this time series below, that I divided into train, val and test: Basically, I trained an ARIMA and an LSTM on those data, and results are completely different, in terms of prediction: ARIMA: ...
CasellaJr's user avatar
  • 219
1 vote
1 answer
59 views

Predict the first observations of a time series when order of the model is higher

Suppose you have you have a time series with 365 observations, one for each day of the year, and you split the first 183 rows in training set and the latest 182 in test set. Suppose you create an AR (...
CasellaJr's user avatar
  • 219
1 vote
1 answer
34 views

Why is my prediction using ARIMA better if I'm using less historic data?

I have a data set containing hourly electricity prices for since 1.01.19 until September. Since the process turned out to be (weakly) stationary, I applied an ARIMA model in Python in order to predict ...
Fabulini's user avatar
1 vote
1 answer
2k views

Categorical variable for Arima

Does Arima support the usage of categorical variable? Some ways to get it working can be using one-hot encoding to represent categorical variables, but I am not sure how good it is.
william007's user avatar
1 vote
1 answer
425 views

Why MA model order is from acf but not pacf

For MA model in Arima, why the order references acf, but not pacf? The emphasize is why not PACF. In https://towardsdatascience.com/significance-of-acf-and-pacf-plots-in-time-series-analysis-...
william007's user avatar
1 vote
0 answers
27 views

Does this ARIMA model take seasonality into account?

I'm writing a tutorial on traditional time series forecasting models. One key issue with ARIMA models is that they cannot model seasonal data. So, I wanted to get some seasonal data and show that the ...
codeananda's user avatar
1 vote
0 answers
66 views

How to compare different forecasting models over different time horizon?

Developed multiple Models with AR, ARIMA, VAR; LSTM , SARIMA. Now, the purpose is to find out which model performs best on a given use case with different time horizons. The time series data is ...
Mannheimer_Coder's user avatar
1 vote
0 answers
39 views

How can i find the accurcy for time series? [closed]

I have to work for the first time with time series and I have some question about this interesting field of machine learning. What I have to do: I should make a forecast for quantity for some special ...
JiJoik's user avatar
  • 47
1 vote
0 answers
264 views

auto_arima results summary (intercept?)

I ran auto_arima on my model from the library pmdarima and I'm trying to interpret the results printed to the console. I see two examples of similar parameters that yield different results: ARIMA(0,1,...
Oliver Foster's user avatar
1 vote
0 answers
13 views

Ljung-box test on weekly percentage of total quarter bookings

I have a data on the weekly percentage of the total quarter bookings. The data looks as follows (note: weekly percentages add up to 100 for each quarter) : (not real data) I used the Ljung-box test ...
Saqib Ali's user avatar
  • 111
1 vote
0 answers
99 views

Understanding lag plot ,ACF plot and auto-correlation plots

I have a data-frame of 2809 rows which is an unevenly spaced time-series ...
Devarshi Goswami's user avatar
1 vote
1 answer
101 views

How to measure/rate the effect of a exogenous covariate in a ARIMAX Model?

I have an ARIMA model, I'm trying to figure out how much an external variable (exogenous covariate) could improve the forecast, so I need to "synthesize" a rate that tell me the usefulness (or impact) ...
Raffaele Giannella's user avatar
1 vote
1 answer
2k views

Python: SARIMAX Model Fits too slow

I have a time series data with the date and temperature records of a city. Following are my observations from the time series ...
Subhawna's user avatar
0 votes
2 answers
63 views

How can we make forecasts from stationary data

I'm confused about the concept of stationarity. Most definitions require the mean and Variance to be constant 'over any interval'. This statement confuses me, if any interval should have the same mean ...
Aditya Prakash's user avatar
0 votes
1 answer
839 views

First Differencing to remove seasonality and trends

I am trying to remove seasonality and trends from my time series data. I found this post that said to use df_diff = df.diff().diff(12).dropna() (https://www.tobiolabode.com/blog/2020/12/30/how-to-...
user118151's user avatar
0 votes
2 answers
3k views

Time series forecast for small data set

I am new in data science so please accept my apology in advance if my question sounds stupid. I want to do a time series forecast of outage mins in the current regulatory year. The regulatory year ...
user2293224's user avatar
0 votes
1 answer
80 views

Remove Seasonality before applying SARIMA model on weekly data?

I am trying to predict average weekly stock prices for time series data. Steps I followed: I tested the data to check whether it was stationary or not using ADF ...
Kriti's user avatar
  • 38
0 votes
1 answer
204 views

Which dataset for multivariate time series forecasting

I'm trying to forecast Real estate Price , it's not a prédiction. But a forecast Like the Price of a an appartement in 2023 or 2024, i'm asking about how should be my dataset ? Can I use a dataset ...
Djakarta_zero's user avatar
0 votes
1 answer
78 views

How to handle multi time series data for 10K + items

There are 50 shops and each shop have 30000 items. Goal is to forecast the sale of item based on shop. Forecase the item_cnt_day, for this i dont see this as multi ...
Shan Khan's user avatar
  • 123
0 votes
1 answer
39 views

What are more advanced techniques than ARIMA?

For timeseries predication cases, what other techniques are available in statistics or machine/deep learning other than MA (moving average), ARMA, and ARIMA?
Sandeep Bhutani's user avatar
0 votes
1 answer
27 views

How to pass time series data to SARIMA, ARIMA, SARIMAX, etc

I am trying to predict stock price of a company, the data is non stationary. Steps I followed - Analyze the raw data Determine whether the raw time series data is stationary or not using ADF and KPSS ...
Kriti's user avatar
  • 38
0 votes
0 answers
10 views

How to re-translate a forecast I wrote in R run on a dataset I downloaded from Tableau back into a SCRIPT_REAL function in Tableau

I want to add a SARIMA forecast of the next two days onto each line in the following Tableau graph: But Tableau only does Exponential Smoothing forecasts and if I create a moving average table ...
Marlen's user avatar
  • 157
0 votes
1 answer
32 views

Seasonal ARIMA?

Greatly enjoy exploring data in Orange Data Mining! I have daily average temperature data for several years. I can plot the periodogram, and do a seasonal decompose. Is there a way to forecast the ...
Gamer 007's user avatar
0 votes
0 answers
21 views

Covariance of forecasts from Python/statsmodels SARIMAXResults object

I have a SARIMAX model fitted at daily frequency using statsmodels.tsa.statepsace.sarimax. It is a "full" SARIMAX model in the sense that it has AR, MA, ...
Jamie Ballingall's user avatar
0 votes
0 answers
24 views

Time series forecasting: Youtube Views

I have some monthly data for 200~ videos from a youtube channel. I can see how many views each video got each month. Videos were released consistently each week and there is no missing data. Usually a ...
E.M.K.'s user avatar
  • 1
0 votes
0 answers
21 views

Is it normal for a SARIMA model to produce no residuals?

I'm working on my first time series project where I am required to produce predictions for financial data. The raw data is below: Clearly, there is a seasonality and downward trend, I used the ...
dzartovs's user avatar
0 votes
0 answers
13 views

Consumption rate on a small dataset with variability

I am looking to find the consumption rate, or how fast I am consuming energy so that I can later predict when my energy will reach a certain threshold. My dataset is fairly small and looking to see ...
Lynn's user avatar
  • 101
0 votes
0 answers
24 views

Model for predicting temperature data of fridge

I set up a sensor which measures temperature data every 3 seconds. I collected the data for 3 days and have 60.000 rows in my csv export. Now I would like to forecast the next few days. When looking ...
Julia's user avatar
  • 1
0 votes
0 answers
24 views

Reformulation of ARIMA for an ML context

Is the following approach to reformulate the ARIMA model for $\varepsilon_{t}$ correct? I want to minimize $\sum{\varepsilon^{2}_{t}}$ but I only have a time series $y_t$ and the two are coupled such ...
Michael Paris's user avatar
0 votes
0 answers
98 views

How to make ARIMA model out of sample forecasts with exog Fourier terms using weekly data? (Python)

I'm a bit confused on how to make out-of-sample predictions if I have Fourier terms included in my ARIMA model. I am using Fourier terms to model annual seasonality as per the advice given in ...
McGez's user avatar
  • 1
0 votes
0 answers
11 views

Which data to use to plot ACF/PACF while determining the ARIMA parameters?

I am confused about how to plot ACF/PACF. I do STL decomposition to time series data and then take the residuals and plot ACF/PACF to determine the ARIMA parameters. Most examples, however, take the ...
Gloksinya's user avatar
  • 121
0 votes
2 answers
35 views

How should a dataset looks like for Time series forecasting

What should a dataset look like for time series forecasting? Can I do time series forecasting with a dataset that contains apartments from ad sites obtained with: web scraping from 2018 to 2021 13 ...
Djakarta_zero's user avatar
0 votes
1 answer
197 views

Applicability of ARIMA model on non stationary data

I have a time series dataset that does not have the stationary property. The dataset is monotonically increasing or sometimes showing no change over periods of time. Can I apply the ARIMA model to ...
Jd_mahmud's user avatar
0 votes
1 answer
617 views

How to revert np.log(data) and data.diff()?

I have used np.log(data) and then applied data.diff() to transform my data in timeseries model. I have the predictions. How do I ...
Sandhya Indurkar's user avatar
0 votes
0 answers
24 views

Best approach for univariate time series predictions?

I have a univariate time series. where I'm trying to predict a current value of a variable based on the previous 10 values of the same variable. I tried three approaches: 1- linear regression where I ...
the phoenix's user avatar
0 votes
0 answers
31 views

ARIMA d Parameter and Explicit Differencing

Can I use only d parameter for ARIMA instead of applying differencing to data before training and applying inverse transform to forecasts in order to get them into original scale? Do libraries like ...
tkarahan's user avatar
  • 422