search for: forecasting

Displaying 20 results from an estimated 760 matches for "forecasting".

2013 Mar 15
2
Help finding first value in a BY group
I have a large Excel file with SKU numbers (stock keeping units) and forecasts which can be mimicked with the following: Period <- c(1, 2, 3, 1, 2, 3, 4, 1, 2) SKU <- c("A1","A1","A1","X4","X4","X4","X4","K2","K2") Forecast <- c(99, 103, 128, 63, 69, 72, 75, 207, 201) PeriodSKUForecast <-
2010 Dec 25
4
need help with data management
I have a data frame that reads client ID date transcations 323232 11/1/2010 22 323232 11/2/2010 0 323232 11/3/2010 missing 121212 11/10/2010 32 121212 11/11/2010 15 ................................. I want to order the rows by client ID and date and using a black-box forecasting method create the data fcst(client,date of forecast, date for which forecast applies). Assume that I have a function that given a time series x(1),x(2),....x(k) will generate f(i,j) where f(i,j) = forecast j days ahead, given data till date i. How can the forecast data be best stored and how wou...
2009 Aug 07
3
How do I plot a line followed by two forecast points?
Good day all, I'm trying to plot a continuous line plot, which is followed by two forecast points eg. one forecast point is 12 months out, and another 24 months out from the last date of the line plot. In my attempts so far, the second plot (the forecast points) is scaled against a new axis scale, thus the two plots are not directly comparable (I need the forecast points to be scaled
2008 Aug 12
1
arima forecast function
hi: I am trying to fit prediction intervals for an arima object. My search led me to the link: http://finzi.psych.upenn.edu/R/library/forecast/html/forecast.Arima.html which has the function "forecast", as I wanted. However, when I try to run it in R, I get the message: Error in plot(forecast(fit)) : could not find function "forecast" Even the example provided on the page
2006 Sep 02
0
New forecasting bundle of packages
v1.0 of the forecasting bundle of packages is now on CRAN and will propagate to mirrors shortly. The forecasting bundle of R packages provides new forecasting methods, and graphical tools for displaying and analysing forecasts. It comprises the following packages: * forecast: Functions and methods for forecastin...
2006 Sep 02
0
New forecasting bundle of packages
v1.0 of the forecasting bundle of packages is now on CRAN and will propagate to mirrors shortly. The forecasting bundle of R packages provides new forecasting methods, and graphical tools for displaying and analysing forecasts. It comprises the following packages: * forecast: Functions and methods for forecastin...
2008 Feb 28
2
EMM: how to make forecast using EMM methods?
Hi all, We followed some books and sample codes and did some EMM estimation, only to find it won't be able to generate forecast. This is because in the stochastic volatility models we are estimating, the volatilities are latent variables, and we want to forecast 1-step ahead or h-step ahead volatilities. So it is nice to have the system estimated, but we couldn't get it to forecast at
2009 Dec 16
1
R and Hierarchical Forecasting
Hello, does anyone know of any R routines capable of whats called Hierarchical Forecasting, reconciling the different hierarchies. Example: A top down forecast where the corporate forecast is created and then all the regions within the corporate entity are also forecasted, with the constraint they sum to the corporate forecast.
2008 Sep 22
1
Prediction errors from forecast()?
Hello, I am using forecast() in the forecast package to predict future values of an ARIMA model fit to a time series. I have read most of the documentation for the forecast package, but I can't figure out how to obtain the forecast variance for the predicted values. I tried using the argument "se.fit=TRUE," hoping this would work since forecast() calls predict(). Is there an easy
2012 Feb 29
2
How to extract numerical values from time series forecast
hi all. i'm busy with some time series data, starting from an earlier period until the current day. i have created a time series forecast taking into account the entire data from the earlier date up until 2007, using the "forecast" package for R. i am comparing this forecasted data to the actual/ observed data (which starts from the earlier date up until the current day). my
1998 Nov 19
1
list assignment
There appears to be a problem with name matching in list assignment: Version 0.63.0 (November 14, 1998) ... > r <- list() > r$forecast.cov.trend <- 1:12 > r$forecast.cov.zero <- 1:12 > r$forecast.cov <- 1:2 > length(r$forecast.cov) [1] 0 #should be 2 > But note that this works correctly: > r <- list() >
2012 Jan 18
1
forecasting a time series
...from the end point. Do I need to decompose the fit and write it out the long way? For example, Tomorrow = fit$coef[1]*Yesterday + fit$coef[2]*BeforeYesterday + etc or is there a function that I'm not finding? Thank you, Nicole -- View this message in context: http://r.789695.n4.nabble.com/forecasting-a-time-series-tp4308147p4308147.html Sent from the R help mailing list archive at Nabble.com.
2010 Mar 11
4
Forecast
sample report data that i want to forecast quarter quarter_index Revenue 2007 Q1 1 $3,856,799 2007 Q2 2 $4,243,328 2007 Q3 3 $4,930,369 2007 Q4 4 $5,443,579 2008 Q1 5 $5,164,830 2008 Q2 6 $5,104,413 2008 Q3 7
2009 Sep 09
1
Forecast - How to create variables with summary() results parameters
Hi, I would like to create variables in R containing parameters of summary(*Forecast Results*). Using the following code: library(forecast) data <- AirPassengers xets <- ets(data, model="ZZZ", damped=NULL) xfor <- forecast(xets,h=12, level=c(80,95)) summary(xfor) the output is: Forecast method: ETS(M,A,M) Model Information: ETS(M,A,M) Call: ets(y = data, model =
2007 Dec 04
1
Best forecasting methods with Time Series ?
...d not get satisfactory forecast() results, even sometimes catastrophic results which made me very disappointed. Note that, I basically use plot(forecast(auto.arima(invecTS), 24)) statement to construct model with arima, forecast 24 future values & plot the results. Could you suggest me better forecasting methods that I can apply in R ? Thanks, best regards.. Ozcan [[alternative HTML version deleted]]
2011 Nov 30
2
forecasting linear regression from lagged variable
...for the next prediction. I have enough "observed" values for case.total to forecast out as far as I need. I might be able to construct this using a loop, but I have a feeling it will be messy and slow. Any suggestions? -- View this message in context: http://r.789695.n4.nabble.com/forecasting-linear-regression-from-lagged-variable-tp4125091p4125091.html Sent from the R help mailing list archive at Nabble.com.
2009 Jan 23
1
forecasting error?
Hello everybody! I have an ARIMA model for a time series. This model was obtained through an auto.arima function. The resulting model is a ARIMA(2,1,4)(2,0,1)[12] with drift (my time series has monthly data). Then I perform a 12-step ahead forecast to the cited model... so far so good... but when I look the plot of my forecast I see that the result is really far from the behavior of my time
2010 Mar 19
1
Arima forecasting
Hello everyone, I'm doing some benchmark comparing Arima [1] and SVR on time series data. I'm using an out-of-sample one-step-ahead prediction from Arima using the "fitted" method [2]. Do someone know how to have a two-steps-ahead forecast timeseries from Arima? Thanks, Matteo Bertini [1] http://robjhyndman.com/software/forecast [2] AirPassengers example on page 5
2007 Jan 24
1
n step ahead forecasts
hello, I have a question about making n step ahead forecasts in cases where test and validation sets are availiable. For instance, I would like to make one step ahead forecasts on the WWWusage data so I hold out the last 10 observations as the validation set and fit an ARIMA model on the first 90 observations. I then use a for loop to sequentially add 9 of the holdout observations to make 1
2011 Jul 04
1
forecast: bias in sampling from seasonal Arima model?
Dear all, I stumbled upon what appears to be a troublesome issue when sampling from an ARIMA model (from Rob Hyndman's excellent 'forecast' package) that contains a seasonal AR component. Here's how to reproduce the issue. (I'm using R 2.9.2 with forecast 2.19; see sessionInfo() below). First some data: > x <- c( 0.132475, 0.143119, 0.108104, 0.247291, 0.029510,