Learn R Programming

tswge (version 2.1.0)

aic5.wge: Return top 5 AIC, AICC, or BIC picks

Description

You may select either AIC, AICC, or BIC to use model identification. Given a range of values for p and q, the program returns the top 5 candidate models.

Usage

aic5.wge(x, p = 0:5, q = 0:2, type = "aic")

Value

A list of p,q, and selected criterion for the top 5 models

Arguments

x

Realization to model

p

Range of AR orders to be considered

q

Range of MA orders to be considered

type

Either 'aic' (default, 'aicc', or 'bic')

Author

Wayne Woodward

References

"Applied Time Series Analysis with R, 2nd edition" by Woodward, Gray, and Elliott

Examples

Run this code
data(fig3.18a)
          aic5.wge(fig3.18a,p=0:5,q=0:2)

Run the code above in your browser using DataLab