Clear Filters
Clear Filters

how to use arma to predict stock price

1 view (last 30 days)
Xiang
Xiang on 1 Jul 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!!

Answers (0)

Categories

Find more on Model Predictive Control Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!