Matlab 8 时间序列01 ARMA

m = ar(x,2) ar模型
predict(m,x) 预测函数

res = x - xhat

h = lbqtest(res)

 

模型检测
xhat = forecast(m,x,3) yf = forecast(sys,PastData,K) 预测 所识别的时间序列模型的输出sysK步骤进入未来使用过去的测量数据,PastData
res = resid(x,m)  计算残差向量
   
   
   
   
   
posted @ 2019-03-24 20:20  27315  阅读(516)  评论(0编辑  收藏  举报