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 commentaire

Walter Roberson
Walter Roberson le 23 Juin 2016
When I test in my R2016a installation, all of the commands you show work fine.
Which release are you using?

Connectez-vous pour commenter.

Réponses (1)

Hang Qian
Hang Qian le 19 Août 2016

0 votes

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.

Catégories

Tags

Question posée :

Hai
le 23 Juin 2016

Réponse apportée :

le 19 Août 2016

Community Treasure Hunt

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

Start Hunting!

Translated by