#----------- Prediction par GARCH --------------------
YenISVolatility=predict(YenGarchIS)
YenISVolatility=predict(Yenfit)
PredictYenIS=ts(data = YenISVolatility, start = 1991, frequency = 6048)
#----define the Garch result in the form of a time series
YenIS=ts(data = YenInSample, start = 1991, frequency = 6048)
par(mfrow=c(1,1))
plot(YenIS,col="grey",main="Evolustion of YenISVolatility")
lines(PredictYenIS[,1],col="red")
lines(PredictYenIS[,2],col="red")