how to use arma to predict stock price

조회 수: 1 (최근 30일)
Xiang
Xiang 2014년 7월 1일
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!!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Conditional Mean Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by