フィルターのクリア

Forecasting with an AR(8) model

2 ビュー (過去 30 日間)
Panty
Panty 2014 年 7 月 9 日
コメント済み: Shashank Prasanna 2014 年 7 月 14 日
Hi, I am totally newly in Matlab and I have a question.
I have a time series and I want to apply an AR(8) model to forecast the next 12 observations.
I dont think that I could understand/follow the Mathworks instructions.
Any help??
Thank you!
  7 件のコメント
Panty
Panty 2014 年 7 月 10 日
By the way, do I need the 'System Identification Toolbox' for my case ???
I have the student version of Matlab&Simulink R2013a.
Panty
Panty 2014 年 7 月 11 日
Guys.. Could you please help me??? I tried to wrote the script for what I wanted but I got some errors. Probably is wrong. I wrote the following: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[rows,columns]=size(NEW_ROUTPUTQVQ196520014)
for column=1:columns
InSampleData=NEW_ROUTPUTQVQ196520014(1:end,column)
for periods_ahead = 1:12
Mdl=arima(2,0,0);
EstMdl = estimate(Mdl,InSampleData);
[Yhat] = forecast(m1,1);
Yhat=NEW_ROUTPUTQVQ196520014(end+1,column);
InSampleData=NEW_ROUTPUTQVQ196520014(1:end,column);
end;
end; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I am repeating these time-series forecating for all the columns of my dataset. I got the following error:
Error in End_of_sample_AR8_model (line 7) Mdl=arima(2,0,0);
Any help please??????
Much appreciated!!

サインインしてコメントする。

採用された回答

Shashank Prasanna
Shashank Prasanna 2014 年 7 月 9 日
Have you seen the doc already? If you haven't here's the link to ARIMA models:
You can estimate your AR coefficients from data and then use the model to forecast. Give it a try and if you have specific question let us know.
  6 件のコメント
Panty
Panty 2014 年 7 月 14 日
Could you please check here??
I am repeating my issue with more details.. Can you please have a look?
Many thanks.
Shashank Prasanna
Shashank Prasanna 2014 年 7 月 14 日
What is your question? What is the issue you are facing?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePreprocess Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by