Extracts the log-likelihood or AIC from a gremlin model fit.
1 2 3 4 5 6 7
An object of
A numeric value for the penalty per parameter. Default is 2, as in classic AIC.
A logical indicating whether to penalize according to the number
of fixed effect parameters. Since only models fit by REML can be compared,
these must always be the same and so become a constant. Hence, the default
npar.gremlin returns an object with attributes
n.bndry which give additional information about the parameters
estimated and contributing to the overall
df of the model.
returns the total number of parameters (No. fixed effects + No. (co)variance
comonents) minus the number of parameters constrained to a certain value. Thus,
n.fxd represents the number of parameters that can vary and, as a
consequence, affect the log-likelihood.
n.bndry reports the number of parameters that were
restrained to stay inside the boundaries of allowable parameter space (e.g.,
a variance that was not allowed to be negative).
numeric values for the log-likelihood, the number of
parameters estimated by the model (sum of fixed effects and random effect
(co)variance components), and Akaike's Information Criterion.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.