arima object failed to initialize.

Mdl = arima(2,0,0)
Mdl =
ARIMA(2,0,0) Model:
--------------------
Distribution: Name = 'Gaussian'
P: 2
D: 0
Q: 0
Constant: NaN
AR: {NaN NaN} at Lags [1 2]
SAR: {}
MA: {}
SMA: {}
Variance: NaN
>> Mdl.AR = {0.8,-0.4}
Index exceeds matrix dimensions.
>> Mdl.Distribution = 't'
Index exceeds matrix dimensions.
>> Mdl.Distribution = struct('Name','t','DoF',8)
Index exceeds matrix dimensions.
>> Mdl.Beta=[0.2 4]
Index exceeds matrix dimensions.

1 Comment

When I test in my R2016a installation, all of the commands you show work fine.
Which release are you using?

Sign in to comment.

Answers (1)

Hang Qian
Hang Qian on 19 Aug 2016
The properties of the ARIMA object can be reset by users. These codes should work. If not, the function might be corrupted. For example, some internal functions are overloaded by user-supplied functions. Check the files on your MATLAB path. The worst case is to reinstall the software.

Categories

Tags

Asked:

Hai
on 23 Jun 2016

Answered:

on 19 Aug 2016

Community Treasure Hunt

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

Start Hunting!