Get statistic associated with estimates
Returns the statistic (t, z
, ...) for model
estimates. In most cases, this is the related column from
coef(summary())
.
get_statistic(x, ...) ## Default S3 method: get_statistic(x, column_index = 3, verbose = TRUE, ...) ## S3 method for class 'glmmTMB' get_statistic( x, component = c("all", "conditional", "zi", "zero_inflated", "dispersion"), ... ) ## S3 method for class 'clm2' get_statistic(x, component = c("all", "conditional", "scale"), ...) ## S3 method for class 'betamfx' get_statistic( x, component = c("all", "conditional", "precision", "marginal"), ... ) ## S3 method for class 'logitmfx' get_statistic(x, component = c("all", "conditional", "marginal"), ...) ## S3 method for class 'mjoint' get_statistic(x, component = c("all", "conditional", "survival"), ...) ## S3 method for class 'emmGrid' get_statistic(x, ci = 0.95, adjust = "none", merge_parameters = FALSE, ...) ## S3 method for class 'gee' get_statistic(x, robust = FALSE, ...) ## S3 method for class 'betareg' get_statistic(x, component = c("all", "conditional", "precision"), ...) ## S3 method for class 'DirichletRegModel' get_statistic(x, component = c("all", "conditional", "precision"), ...)
x |
A model. |
... |
Currently not used. |
column_index |
For model objects that have no defined |
verbose |
Toggle messages and warnings. |
component |
Should all parameters, parameters for the conditional model,
or for the zero-inflated part of the model be returned? Applies to models
with zero-inflated component. |
ci |
Confidence Interval (CI) level. Default to 0.95 (95%). Currently
only applies to objects of class |
adjust |
Character value naming the method used to adjust p-values or
confidence intervals. See |
merge_parameters |
Logical, if |
robust |
Logical, if |
A data frame with the model's parameter names and the related test statistic.
data(mtcars) m <- lm(mpg ~ wt + cyl + vs, data = mtcars) get_statistic(m)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.