BootPR (version 1.0)

ARorder: AR model order selection

Description

AR model selection using AIC, BIC, HQ

Usage

ARorder(x, pmax, type)

Value

ARorder

AR orders selected by AIC, BIC and HQ

Criteria

the values of AIC, BIC and HQ

Arguments

x

a time series data set

pmax

the maximum AR order

type

"const" for the AR model with intercept only, "const+trend" for the AR model with intercept and trend

Author

Jae H. Kim

Examples

Run this code
data(IPdata)
ARorder(IPdata,pmax=12,type="const+trend")

Run the code above in your browser using DataLab