# Questions tagged [forecasting]

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

1,146 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
259 views

### Variance on Extreme Seasonal Time Series

I'm trying to come up with a decent method for forecasting a unique seasonal time series that is involving multiple periods of seasonality: Weekly, Monthly, Quarterly and I am stuck because I have ...
138 views

### Sequential semi-automatic model selection of time series forecasting

I have a number of univariate time series that I would like to incorporate in a production system. I have daily data from a month and I would like to forecast every day the corresponding values for ...
47 views

### Forecasting an individual based on a representative group

I’m trying to forecast demand for an individual based on historical data of many individuals, but I’m having trouble finding examples of this. For example: I want to forecast the demand for a single ...
1k views

### Issue when building VAR model using Python

Building on my Question here which involved predicting the closing price of a stock given the previous days closing price, opening price, high price, low price and the number of articles associated ...
901 views

### tbats with weekly, monthly and yearly seasonality not working

I am trying to predict values based on a dataset which may contain weekly, monthly and yearly seasonal data. To simplify things I am assuming that all months have four weeks (28 days) and the year has ...
526 views

### Does “level” in exponential smoothing stand for the “mean”?

In triple exponential smoothing it is said that there are estimates for 3 components: level, trend and seasonal. Does "level" here stand for "mean"? In single exponential smoothing is only the level ...
286 views

### How to create sklearn random forest model identical to R randomForest?

In R I usually define Random Forest as follows (an example): ...
155 views

### Prediction intervals for levels using a VAR model in second differences

Given a VAR model for the second differences of a vector time series, $\Delta^2 y$, how to obtain the one-step-ahead (and possibly $h$-step-ahead) prediction intervals for the series in levels, $y$? ...
929 views

### Time series data prediction with neural network model

I would like to predict stocks of a company for 6 months. I would like to use neural networks for this prediction. Can anyone suggest how many hidden layers and hidden nodes to be used? I have ...
315 views

### Confidence interval for sum of forecasts

I've got two time series, let's say X and Y. They are correlated. I can obtain forcast for X and for Y separatly (I'm using VAR model) and confidence intervals for them. Then I would like to make a ...
1k views

### R: Calculating prediction intervals (95%, seasonal naive and holt winters)

Could somebody explain to me the theory behind how R calculates the 95% prediction intervals for my 12 step ahead forecasts in (1) a seasonal naive model and (2) a Holt-Winters forecast. My code is ...
63 views

### Combining Forecasts: Best Information to Solicit from Forecasters?

Suppose Statistician $m=1$ produces a set of $h$-step-ahead point forecasts $\hat{x}_{t+h|t, 1}$ of $x_{t+h}$ where $x_{t+h} \in [0,1]$. Also, this point forecast could come with: a predictive ...
493 views

### auto.arima and DLM give different values for loglikelihood

I want to estimate an ARIMA model on my timeseries, then represent it in state space format, mainly because it will be more responsive to change in pattern. I used ...
4k views

### Constant in arima model whether to include or exclude?

I have a very basic question on including constant in Arima models. I'll illustrate this by an example. I have the following ACF and PACF of a weekly time series that is differenced at lag 1 (trend) ...
542 views

### Online time series forecasting with DLM

I have estimated a univariate time series model, consisting of a random walk and an AR component. Now the goal is to make forecast about a couple of steps ahead as new data comes in, in an online ...
146 views

### Predicting water levels based on rainfall stats

I am curious if R or any other open source code can deal with forecasting changes in water elevation based on a predicted/forecasted value of rain. I have a ton of data that shows water elevations (...
1k views

### How to forecast (extrapolate) within a (B-)Spline setting

Suppose I observe a random variable $Y$ for a co-variable $p\in\{70,90,100,...,170\}$. My goal is create a forecast of $\mathbb{E}(Y)$ for $p\in\{50,70,...,350\}$, i.e., a wider range of $p$ as ...
92 views

### Simple ways to forecast US GDP

Forecasting US GDP sure is hard, even the Fed's FRB/US gets it wrong. I am an undergrad doing a US GDP forecasting project, and was wondering if there were simpler ways to do so and produce decent ...
243 views

### How to extrapolate future probability density functions if you have a time series of them as input?

This is my current situation: I am given an observations vector $\textbf{X}$ of continuous variables with a time component $T$ (not equallly distanced). My supervisor approximates densities with ...
353 views

### Time Series using STS( Basic Structural Model)

I am using Basic Structs to forecast my time series. My forecast is exactly overlapping my data. I am sure no model can predict with 100% accuracy. I know I am missing something, can someone point me ...
145 views

### How to evaluate a Bayesian forecast?

Suppose that I have a predictive posterior, which is an attempt to predict some one-step ahead forecasted value $\hat{y}_{T+1}$. How do I assess if my posterior has done a good job or not? If we had ...
4k views

### Training/ Test Data with Time Series Model — Forecast with Training Model, or with Model based on Full Data?

Okay, I have a couple books on time series forecasting, but perhaps I need to read a couple more. Here's my question. You want to be able to validate a forecasting model. So you split the data into "...
530 views

### Forecast of spot electricity prices

I recently started a job in power trading. But due to a sudden change in employment I am required to work on econometric models to gauge the supply and demand side of national power markets. So ...
4k views

### auto.arima and Arima (forecast package)

I am facing a strange issue with the auto.arima() function. On a dataset named data, I run the following code ...
715 views

### Regression model for predicting life expectancy

I have average life expectancy at birth data for an 8 year period and I would like to use that 8 year period to predict the trend for average life expectancy for the next 5 years. I would then like to ...
275 views

### Why only full ARIMA models in auto.arima?

It seems that the auto.arima function in the "forecast" package in R only considers full ARIMA models. By "full" I mean that if an AR lag $k$ is included, AR lag $j$...
943 views

### Panel data forecasting from Arellano-Bond GMM estimation

I want to come up with predictions of final energy demand per capita (fe) for a panel of countries. Explanatory variables are GDP per capita (gdp) and population density (pop) -- all variables are ...
150 views

### Ensemble model performs better with worse performing consitutent models?

I have a forecast model I am developing that uses some very unreliable input data, missing data (due to sensors or comms failures) is the rule, not an exception. The quantity being forecast is a daily ...
991 views

### Forecasting call volumes over short intervals using R

I am trying to do a basic forecast of call volumes using the forecast library for R. I am not having too much trouble forecasting on a daily or monthly interval, however when I try to forecast on an ...
3k views

### Forecasting daily data with trend, yearly, day of the week, and moving holiday effects

I'm expanding a question I posed earlier because I think it was lacking detail. I'm attempting to forecast daily demand for a restaurant that sells take away food, primarily to office workers on ...
295 views

### are there any nonparametric forecasting methods?

Are there any good statistical non-parametric forecasting methods besides machine learning methods like neural networks/decision trees etc. for time series analysis ? If so, are there any R packages ...
926 views

### Overlap in time series training sets

I have a time series prediction problem where the aim is to forecast the average value of $y_t$ over the next $T$ periods, given all the information available up to point $t$. For example, I want to ...
207 views

### My prediction errors are correlated. Now what?

This is partly an R question and partly a stats question: I am trying to do batch forecasts using the auto.arima function from the forecast package. I have over 1000 items to forecast so doing it by ...
1k views

### Updating ARIMA model

My question is about updating the parameters of a regression with ARIMA errors model as new (monthly) data becomes available each month. Similar question were asked here before: Updating ARIMA ...
72 views

### Predict binary occupancy vector from history of vectors

I have a set of binary vectors where each vector represents one day of occupancy in a house and consists of 48 elements (each element for 30 minutes of the day). Each element can be 1 meaning that ...
76 views

### Forecast pricing data with lead times?

I have some "big data" containing event pricing information with 45 days of lead time quotes up to the day before the event. Thus, it's structured like so: -45 100.00 -44 120.00 ... -1 110.00 We ...
583 views

### Comparing non-nested models with out of sample likelihood

I recently read a paper in which the authors claim that in order to compare the forecasting performance of two non-nested models, models A and B, a valid procedure is to fit models A and B on the same ...
66 views

### Forecasting & social influence data/experiment - Seeking research strategies

In my experiment, individuals assign probabilities to the likelihood of future events, and update their forecasts as frequently as they like. Most questions stay open (receiving new forecasts) for ...
103 views

### Model from $\hat{Y}$s or model from residuals?

This is for modeling revenue by looking at historical data. I am trying to estimate a curve where $x$ = Fiscal Year Quarter and $Y$ = % of Revenue for lifetime of a bid(sale/opportunity/whatever ...
281 views

### Support vector machines and Granger causality

I was wondering if Granger causality would be an efficient tool for searching for relevant input data for an SVM system. For example if I want to forecast SP 500 returns, I could put in my input data ...
833 views

### Time Series Decomposition : Box Cox for Additive Decomp

Coming from basically no time series back ground, this is likely a simple question, but what is the relationship between "being able to" use an additive decomposition of a series into seasonal, trend ...