form="marxss"
in a MARSS() function call specifies a MAR-1 model with eXogenous variables model. This is a MARSS(1) model of the form:
[object Object],[object Object],[object Object]
Note, marxss is a model form. A model form is defined by a collection of form functions discussed in marssMODEL
. These functions are not exported to the user, but are called by MARSS() using the argument form
.marssMLE
. See print.marssMLE
for a discussion of the various output available for marssMLE
objects (coefficients, residuals, Kalman filter and smoother output, imputed values for missing data, etc.). See MARSSsimulate
for simulating from marssMLE
objects. MARSSboot
for bootstrapping, MARSSaic
for calculation of various AIC related model selection metrics, and MARSSparamCIs
for calculation of confidence intervals and bias.MARSS(y,
inits=NULL,
model=NULL,
miss.value=as.numeric(NA),
method = "kem",
form = "marxss",
fit=TRUE,
silent = FALSE,
control = NULL,
MCbounds = NULL,
fun.kf = "MARSSkfas",
...)
MARSS:::alldefaults$BFGS
form="marxss"
are 1) the arguments common to all forms: "data", "inits", "MCbounds", "control", "method", "form", "fit", "silent", "fun.kf" (see MARSS
for information on these arguments) and 2) the argument "model" which is a list describing the MARXSS model (the model list is described below).
See the Quick Start guide (RShowDoc("Quick_Start",package="MARSS")
) or the User Guide (RShowDoc("UserGuide",package="MARSS")
) for examples.
The argument model
must be a list. The elements in the list specify the structure for the B, u, C, c, Q, Z, a, D, d, R, x0, and V0 in the MARXSS model (above). The list elements can have the following values:
Z
B
U
, x0
A
Q
R
V0
D
and C
d
and c
tinitx
marssMODEL
MARSS.dfa
#See the MARSS man page for examples
?MARSS
#and the Quick Examples chapter in the User Guide
RShowDoc("UserGuide",package="MARSS")
Run the code above in your browser using DataLab