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

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일

0 개 추천

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

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?

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

질문:

2013년 12월 2일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by