View source: R/argumentChecks.R
parameter_checks | R Documentation |
parameter_checks
checks dimension, restrictions, and stationarity of the given parameter
of a GMAR, StMAR, or G-StMAR model. Throws an error if any check fails. Does NOT consider the identifiability
condition!
parameter_checks(
p,
M,
params,
model = c("GMAR", "StMAR", "G-StMAR"),
restricted = FALSE,
constraints = NULL
)
p |
a positive integer specifying the autoregressive order of the model. |
M |
|
params |
a real valued parameter vector specifying the model.
Symbol |
model |
is "GMAR", "StMAR", or "G-StMAR" model considered? In the G-StMAR model, the first |
restricted |
a logical argument stating whether the AR coefficients |
constraints |
specifies linear constraints imposed to each regime's autoregressive parameters separately.
The symbol |
Throws an informative error if any check fails. Does not return anything.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.