Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Errors when defining 'X' variable in ARIMAX specification in matlab

조회 수: 2 (최근 30일)
Robert
Robert 2013년 12월 2일
마감: MATLAB Answer Bot 2021년 8월 20일
I am running the following code:
mdl1 = arima(1,1,1);
Model1 = estimate(mdl1,drate);
Model2 = estimate(mdl1,drate,'X',dcpi)
I get results with Model1, but with Model2 keeps returning this error:
Argument 'X' did not match any valid parameter of the parser.
I'm fairly new to Matlab, but am trying to use the manuals on the website to no avail. Any ideas why I'm getting this error? Thanks!

답변 (1개)

Wayne King
Wayne King 2013년 12월 2일
편집: Wayne King 2013년 12월 2일
What version of MATLAB are you using? That optional input was added in R2013a.
If you are using R2013a or newer, please tell us the structure of dcpi. Is it a matrix of predictor data?
  댓글 수: 1
Robert
Robert 2013년 12월 2일
Ah. Interesting. The version of Matlab I am using is R2012b. And yes, dcpi is a vector of the differenced inflation index series. Is there any code specification I can use in R2012b to specify an ARIMAX model?

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by