[R] Multistep forecasting with neural networks

2011-03-30 Thread Sara Szeremeta
HI! Would anybody suggest what function/package/method can I use to obtain forecasts for horizons longer than 1 period ahead? I want to do multistep forecasts with multilayer feedforward networks. I have tried several packages, but it turned out that the functions yield only one-step forecasts.

Re: [R] graph lines don;t appear

2011-03-16 Thread Sara Szeremeta
ara pln <- read.table(file="PLN.txt", header=TRUE, dec=",") #colClasess=c("Date", NA, NA) FORplot <- ts(pln[,1], end=c(2011,8), freq=52) plot(FORplot, type="l", lwd="1", ylab="EUR/PLN", xlab=NULL, xlim=c(1993, 2011), ylim = c(2, 5), pane

Re: [R] graph lines don;t appear

2011-03-16 Thread Sara Szeremeta
Thanks a lot!! It helped! 2011/3/15 Sara Szeremeta > Hi > > I am trying to plot two simple graphs with a grid in background. The axis > and grid appears in correct position, but the actual data are not there > Can somebody provide me a hint what is missing? > >

[R] graph lines don;t appear

2011-03-15 Thread Sara Szeremeta
Hi I am trying to plot two simple graphs with a grid in background. The axis and grid appears in correct position, but the actual data are not there Can somebody provide me a hint what is missing? The code is: pln <- read.table(file="PLN.txt", header=TRUE, dec=",") par(mfrow=c(1,2)) plot(

Re: [R] neural networks with RSNNS

2011-02-28 Thread Sara Szeremeta
utsTest=49, of inputsTrain=targetsTrain=342) cheers Sara 2011/2/27 Sara Szeremeta > To provide more details: > > 1) the package I use is the RSNNS (as stated in the topic) > > 2) for input data to be split I fed in ts() object.. maybe this is a wrong > move. > Does a

Re: [R] neural networks with RSNNS

2011-02-27 Thread Sara Szeremeta
[,1], inter[,2], ratio=0.10)$inputsTrain and so on for targets and test data. The train() function uses those values: nn <- train(inputsTrain, targetsTrain,...) I would greatly appreciate your help. 2011/2/25 Sara Szeremeta > Hello All! > > I am training to train a NN with functio

[R] neural networks with RSNNS

2011-02-25 Thread Sara Szeremeta
Hello All! I am training to train a NN with function train() after splitting data with the function splitForTrainingAndTest(). The split is ok (checked it), but when I get a try on training I get this message: Error in UseMethod("train") : no applicable method for 'train' applied to an object

[R] forecasting with L-STAR

2011-01-21 Thread Sara Szeremeta
Is it possible to make forecasts with L-STAR model (or alternatively E-STAR) ? Although function for LSTAR exists I did not find an indication of forecasting possibilities in the documentation. [[alternative HTML version deleted]] __ R-help@r-pr

[R] time series' year not recognized

2010-04-22 Thread Sara Szeremeta
I am working with time series and I have encountered a problem with R not recognizing a series properly. I can do the tests and fitting, but when I want to decompose the series I got a message: d<-decompose(data) Error in decompose(dane) : time series has no or less than 2 periods Maybe I have ma