0
votes
0answers
25 views

Stock Closing price forecasting using ARIMA Model in R ( Entry level R programmer and Statistics learner)

I am an entry level R programmer and trying to learn statistics. i have downloaded the daily stock Adjusted Close price of one stock from sep 2011 to till date. As per my study plan, i have plotted ...
0
votes
1answer
20 views

Data with weekly and annually seasonality but the first day in time series is not the begining of a week

I know it might look naive but I have a very basic question. I have a three years of historic data which has weekly and annual seasonality. January first as my first data is on Wednesday so my time ...
3
votes
1answer
41 views

Difference between the forecast and simulate functions in the {forecast} package in R

I have been using the forecast package in R to make forecasts based on an ARIMA model and have noticed a difference in the output of the forecast and simulate functions when calculating confidence ...
0
votes
0answers
69 views

How to best make millions of forecasts using time series data?

I need to make roughly 50 million forecasts every night. The data is daily, hierarchical (~50 million base series), intermittent/sparse (for many of the time series, lots of days have 0's), and not ...
1
vote
1answer
35 views

No fitted ARIMA model

I wanted to fit an ARIMA model to a daily database for three years but auto.arima couldn't find a model and showed the following error: ...
2
votes
1answer
67 views

Forecasting a seasonal time series in R

Forecasting airline passengers seasonal time series using auto arima Hi, I am trying to model some airline data in an attempt to provide an accurate monthly forecast for June-December this year using ...
0
votes
0answers
12 views

what is the best prediction interval for a forecasting model with daily and annually seasonalitis?

If we have a data set which has daily and annually seasonality, is it reasonable to use the forecasting model for one year ahead? I mean, I want to have a 48 hours forecast for a logistic provider ...
0
votes
0answers
26 views

Creating auto arima for two following time series with two different non linear slopes

I'm trying to model (and predict) the following time series, which consist of two periods (enrollment period and non enrollment) as the following: I believe that this model should consist of two ...
0
votes
0answers
19 views

What does a fitted value mean in dshw forecasting package?

I have a double seasonal data. I wrote the following code to find the best fit model and find fitted values: orders <- read.csv("DataForR.csv", header = TRUE), NumOrders <- orders$Orders, ...
1
vote
1answer
36 views

Transforming a time series with a negative number

I have been given data to forecast however it has a negative figure within the data which then, when doing a log transformation to make the series stationary, the ARIMA script i have written won't ...
1
vote
0answers
26 views

ARIMAX model or ARDL?

I would like to study the impact the advertising of a product on its sales (weekly data for 5 years). As the final aim is to forecast what would be the impact on sales of a change in the advertising ...
1
vote
1answer
30 views

prediction of polls

Just as an example Scotland has poll to decide whether they need to be independent from UK or not. Here is BBC's summary of different polls: ...
0
votes
4answers
186 views

Forecast accuracy calculation

We are using STL (R implementation) for forecasting time series data. Every day we run daily forecasts. We would like to compare forecast values with real values and identify average deviation. For ...
2
votes
1answer
28 views

standard errors of the fitted values of a time series regression

I really want to understand how the math is working here. I am trying to get the standard error of the fitted values for a time series regression model.In the non-time series regression,I know I can ...
3
votes
3answers
55 views

Transforming time series to compensate for change in variance

I have a time series (shown below) that comes from a sensor whose calibration was changed in the middle of last year. As part of this change, the sensor's reading of the variance (or volatility) of ...
0
votes
0answers
49 views

Four tricky time series questions with a “seasonal twist”

A ski-hotel has the most guests in the third quarter in every year (check the data below after the four questions). Can you answer these four questions (every year has 4 values, the first is quarter ...
0
votes
0answers
28 views

Reproducing ARIMA error terms

When forecasting a moving average (MA) model using R's forecast, why does using residuals(fit) produce different results than ...
0
votes
0answers
21 views

Time series Data Analysis and Forecasting by country and time factor

cty year qtr tl Argentina 2009 Q4 3 Argentina 2010 Q1 2 Argentina 2010 Q2 7 Argentina 2010 Q3 7 Argentina 2010 Q4 10 Argentina 2011 Q1 7 Argentina 2011 Q2 7 Argentina 2011 Q3 1 Argentina 2011 ...
1
vote
0answers
18 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 ...
2
votes
2answers
86 views

Which forecasting method for load profiles

I'm new to this forum and I'm quite new to forecasting. Currently I'm trying to learn the basics about exponential smoothing, ARIMA etc. Now I want to forecast the total energy consumption of a rather ...
0
votes
0answers
27 views

Techniques to forecast discrete events in a time series?

I'm currently looking at time series data for patients who have been admitted to a hospital. The time series itself models risk probabilities, where high risks are marked by peaks. At various points ...
0
votes
0answers
18 views

What is the procedure to compare two different period time series

I am currently working on the task that I would like to compare two different period time series like Sales in 2012 vs Sales in 2013. Kindly suggest me any statistical procedure.
0
votes
0answers
20 views

Forecasting ar(p) for several counties

I have a data set of prices, these prices vary across time and across area. I have 18 areas with 32 time periods. What i want to do is forecast these prices, i have found that a AR(3) process fits ...
0
votes
0answers
22 views

Obtaining the Psi Weights of a seasonal ARIMA in R

I am trying to quantify the effect of a future random shocks on my seasonal ARIMA model. If I have understood the theory correctly, the easiest way is to express my seasonal ARIMA model in its "random ...
0
votes
1answer
65 views

Standard techniques for forecasting revenue growth of a company?

I was curious what sort of time series models were the standard for doing this type of analysis. I have weekly sales data for the company - I could cook up my own time series model but would like to ...
0
votes
0answers
20 views

training period selection forecast (error analysis)

I have been lately testing the best training period length to perform a forecast. I have tested it for various days of training period length, among them 60 days and 30 days. My methodology is quite ...
0
votes
0answers
24 views

Statistical Methods for Calculating Vending Machine Refill

Am looking into statics to help support a project I am undertaking. The project scope concerns intelligent replenishment / refill of vending machines. During an onsite service, a technician must ...
0
votes
0answers
52 views

Arima model - multi step forecast

The following code shows a forecast of the next 24 hours of my electricity prices with two exogenous variables. My problem is, that I don't know how to build a forecast for the next 3 days or more ...
0
votes
0answers
39 views

Forecasting time series with missing data and irregular intervals

I have a data set of medical drug stock levels at health centres and I want to forecast monthly consumption over the following 3-6 months. However about 30%-40% of the data is missing and some of the ...
0
votes
1answer
34 views

MAPE is high for daily sale prediction

I have daily sales data from 2011 to 2013. I have to do prediction for 2014.I have used arima and exponential method to predict the daily sale, but it is not giving the better result. MAPE is around ...
0
votes
0answers
44 views

Forecasting agricultural commodity prices with R

I would like to create a predictive model in order to forecast the price of an agricultural raw material. I got time series for the prices and the production of this raw material, and also for the ...
0
votes
1answer
46 views

Kalman filter transition matrix

Hi guys I am trying to writ e a code on python to correct forecast data using Kalman Filter. I am following the equations and recommendations in this link : ...
0
votes
1answer
69 views

How to forecast time-series bounded by [0,1], i.e., forecast relative frequencies?

I am working with time series values which are all in the closed interval [0, 1]; these values represent relative frequencies, i.e., empirical probabilities. I would like to create a model such that ...
1
vote
1answer
39 views

Combinef in R HTS package- constrain to keep forecasts positive?

When using the combinef function from Rob Hyndman's very useful hts package for forecasting hierarchical and grouped time series, there does not seem to be a way to constrain the optimally combined ...
3
votes
2answers
104 views

Avoid negative results in Holt Winters forecasting

I understood that Holt Winters forecasting may results in negative values due to trending. I did reduce trending component value, but still forecast values are negative territory. Our data set will ...
2
votes
3answers
81 views

Gaps in time series and time series validity

After doing some reading on CrossValidated, I understood that we can use "imputation" techniques to fill in the gaps (if they are random). But I am not clear on following questions: How many ...
3
votes
1answer
87 views

How do you create variables reflecting the lead and lag impact of holidays / calendar effects in a time-series analysis?

I am working on a time-series project in which I am forecasting the daily activity of something (let's call it 'Y') based on three years of historical data. I know that Y is affected by calendar ...
0
votes
0answers
22 views

linearity of a time series

I am currently trying to correct forecast data using Kalman filter (python). I do not know where to start. I wanted to know how can I do a test to Know if my time series is linear or non linear? Is ...
0
votes
1answer
91 views

How to dampen forecast to improve accuracy?

According to Armstrong there is ample empirical evidence that dampening trends in uncertain and complex long term forecasting helps improve accuracy/reduce forecasting errors. What I'm not able to ...
1
vote
1answer
100 views

What econometric model to forecast a seasonal commodity demand while incorporating exogenous Information?

I have a monthly commodity demand and try to forecast this series for the next 5 years. Here is a plot: Of course, the natural approach to forecast this seasonality would be some kind exponential ...
1
vote
1answer
70 views

Forecasting a time series with weights

I'd like to forecast (or predict) a time series with weights. The following works using the regular linear modelling techniques ...
6
votes
1answer
326 views

Detecting Outliers in Time Series (LS/AO/TC) using tsoutliers package in R. How to represent outliers in equation format?

Comments: Firstly I would like to say a big thank you to the author of the new tsoutliers package which implements Chen and Liu's time series outlier detection which was published in the Journal of ...
0
votes
0answers
44 views

temperature prediction algorithm

I found an interesting problem in a contest on temperature prediction: https://www.hackerrank.com/contests/expansion-challenge/challenges/temperature-predictions It is not about forecasting the ...
0
votes
0answers
76 views

Forecasting in R using forecast package

I'm trying to forecast hourly data for 30 days for a process. I have used the following code: ...
0
votes
1answer
43 views

Cluster analysis on time series samples

In the follow-up to this Ways to understand 2-dimensional time-series data I'm working on 2D time series data where two attributes are depth and temperature. When I plotted depth-vs-temp curve and ...
1
vote
2answers
80 views

Ways to understand 2-dimensional time-series data

I'm working on 2D time series data where two attributes are depth and temperature. When I plotted depth-vs-temp curve and saw its variation over time, the fluctuation occurs at few places only. I'm ...
0
votes
1answer
101 views

Machine-Learning algorithms for Forecasting

For work, I'm working on an app where you essentially forecast the failure rate of the overall machine through different factors such as the historical failure rates for the components used to build ...
1
vote
1answer
126 views

Need clarity on alpha, beta, gamma optimization in Triple Exponential Smoothing Forecast

I asked a variation of this question, but I want to be more direct. Take the exact same Triple Exponential Smoothing Model (Holt-Winters with a moving level, trend, and seasonal component)--- Would ...
2
votes
3answers
91 views

Forecasting: Different Model for 1 month, 2 month, 6 month forecasts?

I'm still trying to expand my statistics and forecasting technique knowledge. Right now I'm forecasting seasonal contact patterns, so the simplest model I can understand with seasonality is a ...