Questions tagged [forecasting]

Prediction of the future events. It is a special case of [prediction], in the context of [time-series].

Filter by
Sorted by
Tagged with
0
votes
1answer
34 views

Modeling non-linear (short) time series and cross-validate them

beginner data scientist here. Time series analysis is a completly new area for me, so please correct me if i write something that makes no sense. I have many multivariante short time series, between ...
1
vote
0answers
24 views
+100

Predicting walking routes using PyTorch

I'm working on a project that uses sensors to monitor a persons location. These devices simply record the current GPS coordinates and ping them back to a server (the coordinates will then be converted ...
0
votes
0answers
18 views

how to calculate safety stock from output of ARIMA model?

I have built an arima model using monthly sales as input suppose the output from ARIMA model is : How do we calculate safety stock for different lead times lead times (in days)?? ...
1
vote
1answer
28 views

multivariate time series: selecting a predictive model

I have a time series dataset that looks like this ...
1
vote
0answers
22 views

How to get quantiles/probabilities of time series forecasts?

my problem is as follows : I am creating demand forecasts for some goods with different methods (ARIMA, ETS,..) The issue is that I would like to forecast the probabilities of those forecasts since ...
3
votes
2answers
224 views

Deep Learning based time series forecasting

According to the paper "Statistical and Machine Learning forecasting methods: Concerns and ways forward", it looks like the recent DNN-based approach has weaker predictive power in extrapolation, i.e. ...
2
votes
0answers
16 views

Seasonal ARIMA- non stationarity after differencing and seasonal differencing

I am working with a seasonal time series, which is initially stationary. After many attempts, the best model that fits the data is an ARIMA(0,1,4)(0,1,1)[12]. However, checking for the stationarity of ...
0
votes
0answers
13 views

Forecasting time point not value

I have a simple question. when we want to forecast a time series, we always focus on the value of series in future. But could we forecast time point of spesific value? For example I would like to ...
0
votes
0answers
15 views

Predictive model fusion informed via observed values

Suppose I have some quantity I want to forecast, like the traffic at a particular intersection or the sales volume at a particular store. I have three sources of data to make use of: Broad-scale ...
0
votes
0answers
12 views

How to Encode Dummy Variables into a Neural Network

I am currently creating a neural network(LSTM) for electrical demand forecasting and I want to include dummy variables to tell the model to treat weekdays differently from weekends, treat working ...
0
votes
0answers
10 views

dimensionality reduction using SVD for forecasting with machine learning

I'm using a LSTM model to forecast time series data. My dataset has far too many variables and I would like to perform dimensionality reduction. My LSTM model works on a rolling window of 500. I ...
0
votes
0answers
6 views

Single Variate Fixed Period Lagged Regression

I found a relationship that seems strong, but I'm not finding corroboration of it in research papers, so, am I missing something obvious? I have data (for simplicity of explanation) ...
0
votes
1answer
39 views

How can I quantify the impact of the lag between two events that each occurred twice?

There's a question about the impact of holding sales close to one another. Last year, Sale A was held four weeks before Sale B. This year, Sale A was held three weeks before Sale B. How would I go ...
2
votes
1answer
31 views

How to predict weekly or monthly sales from daily time series model?

I've been given daily data and I've trained a SARIMAX time series model in Python so that I can predict daily data if given daily input. However, I need to forecast on a monthly or weekly level, ...
1
vote
1answer
24 views

Training ARIMA based on overlapping hourly weather forecasts

I am working with hourly water level data and I plan to forecast each day the next two weeks (on an hourly base meaning 14*24 = 336 forecasts each day). My regressor is an hourly weather forecast. ...
1
vote
1answer
21 views

Median-based Versus Average-based forecast? Which is better?

Hi Cross Validated Community, When generating forecasts (e.g., product-customer time series data), should we choose an average-based forecast or median-based forecast? I recently read a very nice ...
0
votes
1answer
48 views

Why is the forecast of my ARMA(4,4)-GARCH(1,1) model a straight line? [closed]

So I'm trying to fit the returns of apple stocks into a ARMA(4,4)-GARCH(1,1) model using ugarchSpec and ugarchFit. ...
2
votes
1answer
44 views

How to interpret straight line as forecasting

I would like to make some short term forecasting using an AR(I)MA model. having the following daily time series, which is for the raw data: It seems to be like a white noise, based on the acf and ...
0
votes
0answers
20 views

Convert prediction for differenced Time Series ARIMA(1,0,1) and ARIMA (1,1,1)

I am working on a Time Series model, and the series appeared to be non-stationary (presence of trend). I tried 2 ways: 1) put original data into ARIMA(1,1,1) 2) manually difference first order ...
1
vote
0answers
22 views

How to Choose Error Distribution For Time-Series Model

I am modelling a set of time-series, and understand various models (ARIMA, AR, GARCH) allow for the inclusion of non-Gaussian error distributions. I am aware that, after fitting a time-series model, ...
0
votes
1answer
18 views

How to Recursively Predict a Time Series Using Neural Networks

I am currently using neural networks to forecast an electrical demand time series. I am trying to create a forecast for the following day given previous observations at half hourly intervals. My ...
4
votes
3answers
94 views

Is it a valid claim, that by differencing a time series, it loses its memory, and as a result its predictive power?

Marcos Lopez de Prado seems to be a well known and renowned machine learning expert in the field of finance. I am very far from his level, as have not yet finished my PhD in economics, and only have ...
0
votes
1answer
38 views

Forecasting high-frequency electricity data with multiple seasonalities

for a school project I need to forecast high-frequency data using different methods of my choice. Data: I have hourly data on day-ahead electricity prices and a few other variables (hourly power ...
4
votes
1answer
46 views

Do out-of-sample fitting methods solve the problem of over-fitting?

Suppose we have a regression model, and we want to fit this to training data, and then make predictions on test data. There is a well-known danger that out-of-sample predictions will be poor, due to "...
1
vote
2answers
50 views

Trend & Seasonality Determination in Time Series without looking at Graph [duplicate]

Most of the articles I have read describe determining Trends and Seasonal (TS) effects through rolling your eyes on Graphs. Graph is a nice visual representation, but I am looking a way in either ...
1
vote
2answers
58 views

Understanding MASE Value

I've looked through many of the other posts concerning the Mean Absolute Scaled Error (MASE) forecast metric and haven't been able to sort out my problem just yet. I'm working with some weather ...
0
votes
0answers
34 views

Big Mart Sales Prediction Problem

I hope that some of you are familiar with Big Mart sales prediction data that was provided by Analytics Vidhya as a contest. The problem statement of on the website is as follows: The data ...
0
votes
0answers
13 views

Why naive (prediction) forecasting is called random walk?

Why naive (prediction) forecasting is called a random walk? Naive prediction is to use the last value as a forecast. (It's clear that the best prediction for a random walk is a naive one.)
0
votes
0answers
18 views

Why are my neural network predictions so wrong when I add another variable

I have created a neural network in order to predict the following hours electrical demand depending on the previous sixty observations. However I know that temperature affects the load at a given hour ...
2
votes
1answer
56 views

What methods are available for forecasting with a sample of the data

In predictive analytics, specifically forecasting, what methods are available for getting the same predictive accuracy with $n$ (a sample of the data) which would be achievable with $N$ (all of the ...
2
votes
1answer
62 views

Why aren't my variables correlated?

I am currently doing a project on Load forecasting and it is known that in my country the temperature effects the load. I have hourly readings of Load and Temperature from the period between 01-...
2
votes
2answers
30 views

Forecasting a Step-Like Time Series

I have an interesting time series dataset. I have monthly data and I would like to forecast the next 12 months of data points. I know the dates at which the dependent variable 'may' change up or ...
1
vote
1answer
24 views

Including regressors to improve forecasts on white noise

I am conducting some time series forecasts using quite limited data, 13 years annually. Basically, I am trying to forecast companies emission totals using historical values. The historical data ...
2
votes
1answer
32 views

ARIMA for daily data over 5 years - forecast package

I have a question to auto.arima and seasonality. I have to analyze 39 single datasets which are prices of futures or equities. There are missing data which I replace with na.approx. Then I calculate ...
1
vote
1answer
33 views

Predicting n'th percentile [closed]

When we use prediction, we can only say levels. For example: We have 500 sample data for our walking range. And let's say 90 percentile is 16.0 km and 10th percentile is 0.78 km. Well, can only say ...
0
votes
1answer
19 views

Combinef in the R HTS package- net aggregation

When using the combinef function in Rob Hyndman's very useful hts library (soon to be in incorporated in the new fable library/tidyverts framework) is it possible to have subtraction at any level? ...
0
votes
1answer
15 views

Are conditional mean in an AR(1)-GARCH(1,1) equal for different GARCH(1,1) processes of the same data?

I have created a Markov-Switching GARCH model, where the volatility is defined to be switching between two different GARCH(1,1) processes. The data is assumed to have zero mean, where the data is ...
0
votes
0answers
9 views

How to forecast the future values ( test data) by making use of the fitted ARIMA model [duplicate]

I am tried as follows But problem is all the fitted values are 39 Data : Test and Train data
0
votes
0answers
16 views

How do i Remove Differencing applied to a time Series, ARIMA model?

Am trying to forecast using time series method called ARIMA. I have followed steps to build a time series model displayed in the code below. My challenge is on (Merging Actual and Forecast in One ...
0
votes
1answer
14 views

When to use Normalized Root-Mean-Squared Error vs Spearman Correlation?

I am doing some Machine Learning experiments with Azure and the graphs that it gives me are measured in Spearman Correlation vs Iteration Number (part of the machine learning) However I was just in ...
0
votes
1answer
24 views

Variance of Mean Response at the Mean of the Data

My question concerns the variance of the mean response as outlined in this short article or in this Wikipedia entry. Basically, the variance of the mean response is given by $$\text{Var} \left(\hat{\...
0
votes
0answers
15 views

Multiple & multi-step time series forecast training data with RNN

I have read a lot of discussion on how to do cross-validation on time series data (e.g. walk forward) but I failed to understand how to properly prepare the training data for multiple time series ...
0
votes
1answer
36 views

Fit and Predict Arima in R [closed]

I am trying to fit a Arima model in R with an independent variable (ARIMAX). The model fit data contains both positive and negative numbers. The issue is that after fitting the model, the predict ...
0
votes
0answers
35 views

Multiple Time series Forecasting Using LSTM in python

Assume I have a m dimensional input feature vector and I would like to perform multiple steps time series forecasting. I have about 500 files which each one is has 100 observations for example ...
0
votes
1answer
16 views

How does the sliding window work?

I am not sure how the "Sliding window" method work. Let's assume I have a dataset of number of logins by hour. a) A window of 24hours to predict the next 24h? b) A window of 24h to predict the next ...
0
votes
0answers
12 views

Forecasting Process with Limited Historical Data and High Variance

I have a general inquiry regarding a project I am working on. I cannot reveal too much, but I would like to gauge the community here and hopefully be pointed towards the right direction in terms of ...
1
vote
2answers
55 views

When forecasting, is it better to remove the outliers or just to transform them?

I am forecasting the number of logins. I have a dataset with the number of logins for each hour. First, I use LOF (local outlier factor) to find the outliers and then I remove them. Second, I use ...
0
votes
0answers
29 views

Grouped Time Series Forecast when some of the nodes breakdown

I am attempting to do a grouped time series forecast in R using an ARIMA method at the base nodes. However at such a granular level, a few of nodes do not have enough data and so the auto.arima ...
0
votes
0answers
13 views

Decompose Time Serie [migrated]

I have a time series which represents the amount of a certain product sold throughout the year 2018. I am trying to decompose the time series but I get the following error ...
0
votes
0answers
22 views

Estimating probability density for forecasts

I've used a handful of algorithms for forecasting future values in a time series. But sometimes what I'm really interested in is not the predicted value, but the probability that some future will be ...