select_arima {simts} | R Documentation |
Run Model Selection Criteria on ARIMA Models
Description
This function performs model fitting and calculates the model selection criteria to be plotted or used in best_model
function.
Usage
select_arima(
xt,
p.min = 0L,
p.max = 3L,
d = 0L,
q.min = 0L,
q.max = 3L,
include.mean = TRUE,
plot = TRUE
)
select_arma(
xt,
p.min = 0L,
p.max = 3L,
q.min = 0L,
q.max = 3L,
include.mean = TRUE,
plot = TRUE
)
select_ar(xt, p.min = 0L, p.max = 3L, include.mean = TRUE, plot = TRUE)
select_ma(xt, q.min = 0L, q.max = 3L, include.mean = TRUE, plot = TRUE)
Arguments
xt |
A |
p.min |
An |
p.max |
An |
d |
An |
q.min |
An |
q.max |
An |
include.mean |
A |
plot |
A |
Examples
xt = gen_arima(N=100, ar=0.3, d=1, ma=0.3)
x = select_arima(xt, d=1L)
xt = gen_ma1(100, 0.3, 1)
x = select_ma(xt, q.min=2L, q.max=5L)
best_model(x)
xt = gen_arma(10, c(.4,.5), c(.1), 1, 0)
x = select_arma(xt, p.min = 1L, p.max = 4L,
q.min = 1L, q.max = 3L)
[Package simts version 0.2.2 Index]