Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

I am trying to generate an ARIMA process with statsmodels. I tried already different combinations but nothing works. There is also nothing in the documentation that could solve my problem. The ...
Hillbilly Joe's user avatar
0 votes
0 answers
49 views

I'm trying to analyse acf/pacf plots of industrial production index, using first and seasonal differences to correctly identify SARIMA parameters. Data are stored in "zoo" time-series object ...
walkman_w902's user avatar
0 votes
0 answers
19 views

For a project I am using a sales dataset available here https://www.kaggle.com/datasets/adsamardeep/retail-sales to make an ARIMA model to predict seasonal sales of their top 5 items. I am currently ...
trog12's user avatar
  • 31
1 vote
0 answers
60 views

Let's simulate a MA(1) process using numpy import numpy as np # Simulation parameters n = 20 # Number of observations theta_1 = 0.7 # MA(1) coefficient sigma = 1.0 # Standard deviation of white ...
Nicolas Tanzi's user avatar
0 votes
0 answers
35 views

Question for Expert Forum: I am working on a Regime-Switching Monte Carlo Simulation for EURIBOR interest rates, where I Estimate separate ARIMA models for three identified regimes (Hiking, Cutting, ...
Ioannis Kapsokolis's user avatar
1 vote
1 answer
43 views

I’m using BigQuery ML to train an ARIMA_PLUS model for forecasting CPU usage. The model trains successfully, but when I run ML.EVALUATE, all result values are NULL. Model Training Query CREATE OR ...
Haidar Rasyid's user avatar
1 vote
1 answer
57 views

I'm trying to replicate a Stata ARIMA analysis in statsmodels. This analysis used static predictions from its ARIMA (1,0,4) model with four exogenous regressors. I've replicated the model – both Stata ...
AustinC's user avatar
  • 846
0 votes
0 answers
41 views

Suppose I have an ARIMA(p,d,q), d>0 that I estimate using statsmodels. (See ARIMA class here.) For in-sample forecasts for t >= d, I get exactly what I expect, namely the Y(t) uses exactly the ...
rkatzwer's user avatar
0 votes
0 answers
45 views

I am trying to model a time series. I am not certain if my approach is correct and that's why I am posting a question here. May be someone could point out the mistake I am doing. Can someone propose a ...
cph_sto's user avatar
  • 7,707
1 vote
1 answer
87 views

Accuracy is returning NA for ACF1. I believe it is because there needs to be a fitted line for the test data in order to derive residuals needed for the computation. Please confirm/advise. ETA: or ...
John K's user avatar
  • 41
0 votes
1 answer
69 views

What's the purpose of HORIZON in bqml CREATE_MODEL statement for ARIMA_PLUS? The resulting model doesn't have any forecast and I think CREATE_MODEL will fit the model based on all data points, without ...
djoVanCooper's user avatar
0 votes
0 answers
33 views

I am trying to learn ARIMA and so far I am working on this dataset Huge Stock Market Dataset i used intel stocks as you can see from the code, I was able to make it work with LSTM and that went smooth,...
Youssef ARRASSEN's user avatar
0 votes
0 answers
32 views

I have trouble forecasting an arima model with a dummy variable, script is as follows: #Time series #361 months quotation of the dollar -peso exchange rate. 1994-2024: usd.ts=ts(arima_dollar1, start=...
Ivan Alejandro Vacio Hernandez's user avatar
1 vote
1 answer
63 views

I'm encountering an issue while using the auto_arima function from the pmdarima library to train an ARIMA model on my weekly time series data. The data is structured with an ISO 8601 week-year format (...
pandoradox23's user avatar
0 votes
0 answers
93 views

I am trying to create an ARIMA model to predict road traffic for a single node using the PEMS08 dataset preprocessed for ASTGCN. I used the statsmodels library together with the auto_arima function of ...
Vincenzo Pallini's user avatar
-1 votes
1 answer
84 views

I computed AR's models to predict the value of BTC. In order to make the data stationary i have transformed it : yt=log(BTS_t) dyt = yt-yt-1 I take the difference of logarithms (interpretable as the ...
Constantin Marguier's user avatar
1 vote
0 answers
60 views

I want to forecast the series with trend and seasonal components using ARIMA model. But is that posible that I use the seasonally adjusted data for ARIMA model to gain the forecast data, then add the ...
Emma's user avatar
  • 11
0 votes
1 answer
62 views

I observe some weird behavior with R's arima function. Maybe I am also missing something, thus I am asking for help. If we want to compare two ARIMA models, let's say ARIMA(1,0,0) and ARIMA(2,0,0) ...
Louki's user avatar
  • 219
0 votes
1 answer
68 views

Construct a graph of the value of the Russian ruble against the Egyptian pound based on data at the end of trading. Select the best ARIMA model, predict further exchange rate values ​​based on it, ...
Faded Deer's user avatar
0 votes
1 answer
58 views

I have a df, I need to learn how to create arima models. I try with auto_arima to search for coefficients p,q,d - I get the following. Data: df = df.sort_index() df = df.asfreq('h') df_c4 = df[df....
vjeka's user avatar
  • 1
1 vote
1 answer
103 views

I can't fit an ARMA-GARCH model with specific MA lags not estimated in time series data. For example I run the following code: library(fGarch) fitgi <- garchFit(~ arma(0,4)+ garch(1,1), data = gi, ...
Vasileios Var's user avatar
0 votes
1 answer
69 views

I am using auto.arima function as the backbone to forecast stock price, with example below: First off I have the parameters set up and download price data, with Walmart(WMT) being used as an example. ...
Bubbles's user avatar
  • 569
5 votes
1 answer
2k views

I am trying to import pmdarima, but it gives the error ValueError: numpy.dtype size changed, which may indicate binary incompatibility. Expected 96 from the C header, got 88 from PyObject I ...
Eyram's user avatar
  • 41
0 votes
0 answers
96 views

I am working on a cash flow forecasting project using Python and the pmdarima library for SARIMA model predictions. I’m able to generate predictions for each column and print them, but when I try to ...
João Gabriel Ferraz Mosqueira's user avatar
0 votes
0 answers
57 views

I am trying to model a time series with two hexogenous series, however when I try to test the model on the test partition the result is this message. Warning message: In forecast.forecast_ARIMA(model, ...
José Luis Reyes Reyes's user avatar
0 votes
1 answer
56 views

I want to extract the seasonality from my sarima model. My dataset is in the format of this: ds: dates y: metric This is weekly data I have done the following: ts_data <- ts(for_seasonality$y, ...
Nick Knauer's user avatar
  • 4,253
0 votes
0 answers
191 views

I am currently trying to train a VARIMA model on multivariate time series data about 5 different kinds of sensor measurements of a cooling system. The data is of cyclical nature so the exact same ...
Max Bömer's user avatar
0 votes
1 answer
133 views

Here's the code using statsmodels.tsa.arima.model.Arima model to predict the store sales from statsmodels.tsa.arima.model import ARIMA from datetime import datetime # fit model model = ARIMA(ts, ...
Jammy Wang's user avatar
1 vote
1 answer
400 views

I'm using ARIMA from statsmodels for time series analysis. Now I stumbled across the following site In this example an ARIMA(3,1,0) model was built with the following result thru ARIMA.fit(): ...
stschn's user avatar
  • 147
0 votes
1 answer
276 views

I'm encountering an error when trying to predict using a fitted forecaster object. I've followed this SarimaxForecaster tutorial and I don't get any error. However my dataset in hourly and when I try ...
The Rookie's user avatar
0 votes
0 answers
64 views

Q: What is the tidy / tidyverts / fable way of selecting many exogenous regressors from a data.frame for use in model fitting, esp., with ARIMA()?  I set up a minimal working example below. You can ...
lowndrul's user avatar
  • 3,855
0 votes
1 answer
133 views

Q: In the context of forecasting many series with exogenous regressors in the R tidyverts/fable framework, is there a way to tell fable::ARIMA(y~x1+x2+...) to fail over to running its routine for ...
lowndrul's user avatar
  • 3,855
1 vote
1 answer
134 views

I did an extensive search for time series data using auto.arima() function in R. Since it is taking a long time to find the optimal model, I want to save the model obtained from auto.arima() and plug ...
Mehmet Yildirim's user avatar
1 vote
0 answers
18 views

I have a tsibble made of a date column (the index, with monthly frequency), a geo column (the key, representing some European states), and a value column (the variable I need to forecast). I am ...
umbe1987's user avatar
  • 3,698
0 votes
1 answer
174 views

I am having trouble in applying a SARIMA model to my data set in Python - I am using store sales data of a department store and want to forecast the next year split into quarters. The data has ...
James Stanton's user avatar
6 votes
2 answers
218 views

I'm trying to build a SARIMA (Seasonal Autoregressive Integrated Moving Average) model for forecasting PM10 concentrations based on five years of data. However, when I set the seasonal parameter m to ...
Divyansh Sharma's user avatar
1 vote
1 answer
45 views

I have written two blocks of R-code. I believe that they should both do exactly the same thing - except that one uses a for-loop approach and one uses the sapply function. However, they produce ...
ma25613's user avatar
  • 13
0 votes
2 answers
85 views

I am trying to follow a tutorial whereby an ARIMA time series analysis using differenced data is being done: The following is the python code: def difference(dataset): diff = list() for i in ...
Stop War's user avatar
  • 574
1 vote
1 answer
49 views

I am just trying to build an arima model using the arima() function and want to get some summary stats like AIC and RMSE using the summary() function. But the summary function is giving me some ...
ap_2706's user avatar
  • 13
0 votes
1 answer
88 views

Ahoy, As an example, I have multiple time series of temperature. These times series are of different lengths (1-8 days), and generally from non-overlapping date:time, but the interval between data ...
user23594227's user avatar
0 votes
1 answer
32 views

I'm struggling to find mention of the 'u' parameter that is returned by the statsmodels ARIMA.fit method in the following ARMAX model parameter estimation example: import pandas as pd from statsmodels....
Bill's user avatar
  • 11.8k
1 vote
2 answers
220 views

In Python, when you train LSTM model you can train the model on part of the data. Then at inference you can give it whatever input you like for example 10 recent timesteps that is not part of the ...
Travelling Salesman's user avatar
0 votes
1 answer
177 views

I've a time series with few entries (not enough to ML) and I need to forecast some (more than one) future entries in an iOS app. I tested in Python with statsmodels ARIMA model and works fine but I ...
quaternionboy's user avatar
0 votes
1 answer
305 views

I am trying to fit a AR(2) with intercept model to a timeseries. However, the intercept calibrated really confuses me. The value is 14.0695 which is extremely huge. And also, in-sample 1 step ahead ...
James's user avatar
  • 1
4 votes
1 answer
429 views

I run an ARIMA model in R on the data with missing values. It is financial data, so the missings are either days on public holiday or weekends, so not completely at random. I am still thinking which ...
Anya Pilipentseva's user avatar
0 votes
0 answers
44 views

I ru both codes below python and get similar errors model_fit.plot_predict(dynamic=False) plt.show() Error:AttributeError: 'function' object has no attribute 'plot_predict' plot_predict(model_fit, ...
Kelb's user avatar
  • 1
-3 votes
1 answer
209 views

I am trying to create an ARIMA model to predict stock market values (experimenting with this, not going to step on it to use it real life) and export it in PNG format for all the 512 stocks i have in ...
Vasileios G's user avatar
2 votes
1 answer
57 views

I have time series of Covid-19 death cases which is only weekdays without weekend. I created it in R as .zoo object. But since some packages work better with time series I created it as .xts object as ...
nadeem's user avatar
  • 21
0 votes
1 answer
1k views

I am trying to train some machine learning models to predict the price action for 4 chosen stocks from a list of NASDAQ-100 stocks. I am very new to Python, so I've run into a few issues I have not ...
custardbun's user avatar
1 vote
1 answer
195 views

I'm trying to use the auto_arima method in the pmdarima package to automatically find the optimal d, p, q of the ARIMA model. I hope that p and q start from 1 instead of 0, and the maximum is 3. You ...
ah bon's user avatar
  • 10.1k

1
2 3 4 5
24