glance | R Documentation |
This returns a data frame with brief summary information.
The coefficient of determination. This is the squared correlation between the fitted values and the original data points. This is simply a metric for the difference between the data points and the fitted values and should not be used for formal model comparison.
The sample variance (unbiased) of the data residuals (fitted minus data). This is another simple metric of the difference between the data and fitted values. This is different than the sigma returned by an arima()
call for example. That sigma would be akin to sqrt(Q)
in the MARSS parameters; 'akin' because MARSS models are multivariate and the sigma returned by arima()
is for a univariate model.
The number of estimated parameters. Denoted num.params
in a marssMLE
object.
The log-likelihood.
Akaike information criterion.
Akaike information criterion corrected for small sample size.
Non-parametric bootstrap Akaike information criterion if in the marssMLE
object.
Parametric bootstrap Akaike information criterion if in the marssMLE
object.
0 if converged according to the convergence criteria set. Note the default convergence criteria are high in order to speed up fitting. A number other than 0 means the model did not meet the convergence criteria.
0 if no errors. 1 if some type of error or warning returned.
## S3 method for class 'marssMLE'
glance(x, ...)
x |
A |
... |
Not used. |
dat <- t(harborSeal)
dat <- dat[c(2, 11, 12), ]
fit <- MARSS(dat, model = list(Z = factor(c("WA", "OR", "OR"))))
glance(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.