Displaying 20 results from an estimated 3000 matches similar to: "Help with R package forecast"
2012 Sep 15
1
Error when using Bagplot function
Hi, I am using the bagplot function within the aplpack package and often get
this error:
Error in chull(pg[, 1], pg[, 2]) :
NA/NaN/Inf in foreign function call (arg 2)
Here's an example of data for which this happens:
bagplot(c(-4.66, -2.62, -3.65 ,-3.07 ,-4.91, -4.56 ,-3.79, -3.10, -3.01),
c(2.14, -7.18, -0.15 , 2.67, -2.49, -0.89 , 0.96 , 0.59, -4.59))
Can anyone help?
--
2009 Sep 22
2
Rcmdr package dependencies
Dear r-devel members,
My Rcmdr package "depends" on several other packages (tcltk, grDevices,
utils, and car) and "suggests" a number of others (abind, aplpack,
colorspace, effects, foreign, grid, Hmisc, lattice, leaps, lmtest, MASS,
mgcv, multcomp, nlme, nnet, relimp, rgl, and RODBC). The reason for the
distinction is that I don't want all of these packages to load when
2008 Jul 24
0
unable to load a library
hello all,
i'm running R-2.6.1 on solaris 10 (x86). I added the package aplpack
without problems, but when i try to use it, i got errors:
> library(aplpack)
Loading required package: tcltk
Error in namespaceExport(ns, exports) :
undefined exports :addTclPath, as.tclObj, is.tclObj, is.tkwin,
tclfile.dir, tclfile.tail
In addition: Warning message:
S3 methods '$.tclvar',
2013 Jan 17
2
error installing KEGGSOAP
Hi, I am new to bioconductor, trying to install KEGGSOAP package, but got warnings() when installing and error message when trying to load the package, can anyone suggest what went wrong?
many thanks
John
> source("http://bioconductor.org/biocLite.R")
Bioconductor version 2.11 (BiocInstaller 1.8.3), ?biocLite for help
> biocLite("KEGGSOAP")
BioC_mirror:
2007 Dec 18
9
Scatterplot Showing All Points
Hello all,
I'm trying to graph a scatterplot of a large (5,000 x,y coordinates) of data
with the caveat that many of the data points overlap with each other (share the
same x AND y coordinates). In using the usual "plot" command,
> plot(education, xlab="etc", ylab="etc")
it seems that the overlap of points is not shown in the graph. Namely, there
are
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
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
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
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
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 =
2005 Jun 14
1
using forecast() in dse2 with an ARMA model having a trend component
(My apologies if this is a repeated posting. I couldn't find any trace
of my previous attempt in the archive.)
I'm having trouble with forecast() in the dse2 package. It works fine
for me on a model without a trend, but gives me NaN output for the
forecast values when using a model with a trend. An example:
# Set inputs and outputs for the ARMA model fit and test periods
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
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,
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
2017 Oct 06
1
Formatting the dates generated by the forecast function
Dear friend, hope you are doing great,
I have the following code:
> myTseriesData <- ts(data[,2], start=c(2000,01), end=c(2017,9),
frequency=12)
> myTseriesModel <- auto.arima(myTseriesData, d=1, D=1)
> myTseriesForecast <- forecast(myTseriesModel, h=12)
> # I want to be able to format the dates generated by the forecast function
is there a way to change the format of the
2012 May 12
1
access the se of a forecast
Hi everybody,
I am currently trying to forecast some double seasonal time series by using
the function dshw. I want to access the standard errors to build the
confident interval for my forecast. I am using to following code :
fit<-dshw(eem,period1=7,period2=48,h=48)
then by using summary(fit), I see that my se are contained in the vector :
$s20
but when I call fit$s20, I get NULL.
I
2007 Jan 19
1
help with ets function in forecast package
I have been trying to use the ets function in the forecast package on a
daily time series (ts2 is a ts object with frequency =7). However when I run
the following code I get an error related to etsmodel. I have looked at ets
and I can see that there is a call to the function etsmodel, but I cant seem
to find info on the ets function anywhere. Does anyone know anything about
the etsmodel function?
2012 Apr 28
2
"Modified Diebold-Mariano Test" with forecast package
Hi
I tried to calculate modified Diebold-Mariano Test in R . I have already
find a "forecast" package to calculate the
Diebold-Mariano Test.
Please let me know how to obtain " Modified Diebold-Mariano Test" ?
Regards,
Serdar
--
View this message in context: http://r.789695.n4.nabble.com/Modified-Diebold-Mariano-Test-with-forecast-package-tp4594648p4594648.html
Sent from
2005 Dec 14
1
Kalman Filter Forecast using 'SSPIR'
Dear R Users,
I am new to state-space modeling. I am using SSPIR
package for Kalman Filter. I have a data set containing one dependent
variable and 7 independent variables with 250 data points. I want to use
Kalman Filter for forecast the future values of the dependent variable
using a multiple regression framework. I have used ssm function to
produce the state space (SS)
2012 May 01
1
Forecast Package for 2.15.0
Anyone else having problems installing this package? Any ideas for fixing?
Thanks,
Jess
--
View this message in context: http://r.789695.n4.nabble.com/Forecast-Package-for-2-15-0-tp4601328.html
Sent from the R help mailing list archive at Nabble.com.