Displaying 2 results from an estimated 2 matches for "rmse3".
Did you mean:
rmse
2013 Sep 05
2
Pronósticos con modelos robusto de series de tiempo
Alguien me podría sugerir un paquete en R para generar pronóticos con modelos robusto de series de tiempo.
Saludos
Enrique RAMOS
[[alternative HTML version deleted]]
2013 Sep 05
0
Pronósticos con modelos robusto de series de tiempo
...m3<-nnetar(x,lambda=0) #neural networks
# Predictions
f1<-forecast(m1, h=h);
f2<-forecast(m2, h=h);
f3<-forecast(m3, h=h);
# Fit accuracy
rmse1 <- mean((x-f1$fitted)^2)/var(x);
rmse2 <- mean((x-f2$fitted)^2)/var(x);
fitted<-f3$fitted;#fitted[1:52]<-x[1:52];
rmse3 <-
mean((x[(frequency(x)+1):length(x)]-fitted[(frequency(x)+1):length(x)])^2)/var(x[(frequency(x)+1):length(x)]);
#lab<-data.frame("F","R2","R2a","RSS")
mat<-cbind(c(rmse1),c(rmse2),c(rmse3))
tab<-as.data.frame(mat)
dimnames(tab)[[1]]&...