| glance.spmodel {spmodel} | R Documentation |
Glance at a fitted model object
Description
Returns a row of model
summaries from a fitted model object. Glance returns the same number of columns for all models
and estimation methods. If a particular summary is undefined for a model
or estimation method (e.g., likelihood statistics for estimation methods
"sv-wls" or "sv-cl" of splm() objects), NA is returned for that summary.
Usage
## S3 method for class 'splm'
glance(x, ...)
## S3 method for class 'spautor'
glance(x, ...)
## S3 method for class 'spglm'
glance(x, ...)
## S3 method for class 'spgautor'
glance(x, ...)
Arguments
x |
A fitted model object from |
... |
Other arguments. Not used (needed for generic consistency). |
Value
A single-row tibble with columns
-
nThe sample size. -
pThe number of fixed effects. -
nparThe number of estimated covariance parameters. -
valueThe optimized value of the fitting function. -
AICThe AIC. -
AICcThe AICc. -
BICThe BIC. -
logLikThe log-likelihood. -
devianceThe deviance. -
pseudo.r.squaredThe pseudo r-squared.
See Also
AIC.spmodel() AICc() BIC.spmodel() logLik.spmodel() deviance.spmodel() pseudoR2() tidy.spmodel() augment.spmodel()
Examples
spmod <- splm(z ~ water + tarp,
data = caribou,
spcov_type = "exponential", xcoord = x, ycoord = y
)
glance(spmod)