Learn R Programming

gmwm (version 2.0.0)

order_AR1s: Order AR1s by size of phi.

Description

Changes the order of AR1s in a string by size.

Usage

order_AR1s(theta, desc, objdesc)

Arguments

theta
A vec with dimensions N x 1 that contains user-supplied initial values for parameters
desc
A vector indicating the models that should be considered.
objdesc
A field containing a list of parameters (e.g. AR(1) = c(1,1), ARMA(p,q) = c(p,q,1))

Value

A vec that has AR1s shown in descending parameter value.