View source: R/model_selection.R
select_arima | R Documentation |
This function performs model fitting and calculates the model selection criteria to be plotted or used in best_model
function.
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)
xt |
A |
p.min |
An |
p.max |
An |
d |
An |
q.min |
An |
q.max |
An |
include.mean |
A |
plot |
A |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.