Effacer les filtres
Effacer les filtres

how to use arma to predict stock price

1 vue (au cours des 30 derniers jours)
Xiang
Xiang le 1 Juil 2014
I have a time serie (stock price), t=t1 t2 ...... t100. I suppose it's an arma(2,0). I tried ; P=iddata(t); m=armax(P,[2 0]); p=predict(m,P,1); data=get(p); but the data I got is just the same as t, it's NOT prediction,It is repeating. I am using Matlab 2010b, there is no function 'forecast' in my matlab,just predict.Could anyone tell me how to do the FORWARD PREDICTION? thanks!!

Réponses (0)

Catégories

En savoir plus sur Model Predictive Control Toolbox dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by