Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
[SerializableAttribute] public class ARAutoUnivariate |
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class ARAutoUnivariate |
Visual C++ |
---|
[SerializableAttribute] public ref class ARAutoUnivariate |
Remarks
ARAutoUnivariate automatically selects the order of the AR model that best fits the data and then computes the AR coefficients. The algorithm used in ARAutoUnivariate is derived from the work of Akaike, H., et. al (1979) and Kitagawa and Akaike (1978). This code was adapted from the UNIMAR procedure published as part of the TIMSAC-78 Library.
The best fit AR model is determined by successively fitting AR models
with autoregressive
coefficients. For each model, Akaike's Information Criterion (AIC) is
calculated based on the formula





The best fit model is the model with minimum AIC. If the number of parameters in this model selected by ARAutoUnivariate is equal to the highest order autoregressive model fitted, i.e., p=maxlag, then a model with smaller AIC might exist for larger values of maxlag. In this case, increasing maxlag to explore AR models with additional autoregressive parameters might be warranted.
Property EstimationMethod can be used to specify the method used to calculate the AR coeficients. If EstimationMethod is set to MethodOfMoments, estimates of the autoregressive coefficients for the model with minimum AIC are calculated using method of moments as described in the ARMA class. If LeastSquares is specified, the coefficients are determined by the method of least squares applied in the form described by Kitagawa and Akaike (1978). If MaximumLikelihood is specified, the coefficients are estimated using maximum likelihood as described in the ARMAMaxLikelihood class.