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) 预测 所识别的时间序列模型的输出sys,K步骤进入未来使用过去的测量数据,PastData。 res = resid(x,m) 计算残差向量