arima object failed to initialize.

2 次查看(过去 30 天)
Hai
Hai 2016-6-23
回答: Hang Qian 2016-8-19
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 个评论
Walter Roberson
Walter Roberson 2016-6-23
When I test in my R2016a installation, all of the commands you show work fine.
Which release are you using?

请先登录,再进行评论。

回答(1 个)

Hang Qian
Hang Qian 2016-8-19
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.

类别

Help CenterFile Exchange 中查找有关 Conditional Mean Models 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by