Plotting a simulated forecast?!
이전 댓글 표시
Hey,
I am pretty new to Matlab and therefore, I am still struggling with some basic stuff. Anyway, I am working on a forecast of a FTS, and want to plot the simulated forecast. Actually, I'd like to combine the forecasted data with the original dataset.
Here's my forecast and simulation function. How can I plot them? the dataset is called "price".
% Forecasting
horizon = 100
[sigmaForecast,meanForecast,sigmaTotal,meanRMSE] = ...
garchpred(coeff,price,horizon);
% Monte Carlo Simulation
nPaths = 100;
[eSim,sSim,ySim] = garchsim(coeff,horizon,nPaths, ...
[],[],[],eFit,sFit,price);
Many thanks Patrick
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Monte-Carlo에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!