| influence.brma | R Documentation |
Computes DFFITS, Cook's distance, COVRATIO, and other influence diagnostics for a fitted brma object.
## S3 method for class 'brma'
influence(model, ...)
model |
a fitted brma object. |
... |
additional arguments (currently ignored). |
An object of class "infl.brma", which corresponds to the
structure of metafor::influence objects. It is a list containing:
inf |
A data frame with columns: |
dfbs |
A data frame with DFBETAS values for the model coefficients. |
Undefined determinant- or variance-standardized diagnostics are reported as
NaN and printed with an explanatory note.
dffits.brma, cooks.distance.brma,
covratio.brma, dfbetas.brma, hatvalues.brma
## Not run:
if (requireNamespace("metadat", quietly = TRUE)) {
data(dat.lehmann2018, package = "metadat")
fit <- brma(
yi = yi,
vi = vi,
data = dat.lehmann2018,
measure = "SMD",
seed = 1,
silent = TRUE
)
fit <- add_loo(fit)
inf <- influence(fit)
print(inf)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.