Changes the order of AR1s in a string by size.
order_AR1s(theta, desc, objdesc)
A vec
with dimensions N x 1 that contains user-supplied initial values for parameters
A vector<string>
indicating the models that should be considered.
A field<vec>
containing a list of parameters (e.g. AR(1) = c(1,1), ARMA(p,q) = c(p,q,1))
A vec
that has AR1s shown in descending parameter value.