Learn R Programming

metafor (version 1.7-0)

print.rma.uni: Print and Summary Methods for rma Objects

Description

Print and summary methods for objects of class "rma.uni", "rma.mh", "rma.peto", and "rma.glmm".

Usage

## S3 method for class 'rma.uni':
print(x, digits=x$digits, showfit=FALSE, signif.legend=TRUE, \dots)
## S3 method for class 'rma.mh':
print(x, digits=x$digits, showfit=FALSE, \dots)
## S3 method for class 'rma.peto':
print(x, digits=x$digits, showfit=FALSE, \dots)
## S3 method for class 'rma.glmm':
print(x, digits=x$digits, showfit=FALSE, signif.legend=TRUE, \dots)
## S3 method for class 'rma':
summary(object, digits=object$digits, showfit=TRUE, signif.legend=TRUE, \dots)
## S3 method for class 'summary.rma':
print(x, digits=x$digits, showfit=TRUE, signif.legend=TRUE, \dots)

Arguments

x
an object of class "rma.uni", "rma.mh", "rma.peto", "rma.glmm", or "summary.rma" (for print).
object
an object of class "rma" (for summary).
digits
integer specifying the number of decimal places to which the printed results should be rounded (the default is to take the value from the object).
showfit
logical indicating whether the fit statistics and information criteria should be printed (default is FALSE for print and TRUE for summary).
signif.legend
logical indicating whether the legend for the significance stars should be printed.
...
other arguments.

Value

  • The print functions do not return an object. The summary function returns the object passed to it (with additional class "summary.rma").

Details

The output includes:
  • the log likelihood, deviance, AIC, and BIC value (when settingshowfit=TRUEor by default forsummary).
  • the amount of (residual) heterogeneity in the random/mixed-effects model (i.e., the estimate of$\tau^2$and its square root). Suppressed for fixed-effects models. The (asymptotic) standard error of the estimate of$\tau^2$is also provided (where possible).
  • the$I^2$statistic estimates (in percent) how much of the total variability in the effect size estimates (which is composed of heterogeneity and sampling variability) can be attributed to heterogeneity among the true effects. Only supplied when fitting a random-effects model.
  • the$H^2$statistic is the ratio of the total amount of variability in the observed outcomes to the amount of sampling variability. Only supplied when fitting a random-effects model.
  • the amount of study-level variability (only for objects of class"rma.glmm"and when using a model that models study level differences as a random effect).
  • the results of the test for (residual) heterogeneity. This is the usual Q-test for heterogeneity when not including moderators in the model and the QE-test for residual heterogeneity when moderators are included. For objects of class"rma.glmm", the results from a likelihood ratio test are provided.
  • the results of the omnibus (Wald-type) test of the coefficients in the model (the indices of the coefficients tested are also indicated). Suppressed if the model includes only one coefficient (e.g., only an intercept, like in the fixed- and random-effects model).
  • a table with the estimated coefficients, corresponding standard errors, test statistics, p-values, and confidence interval bounds.
When analyzing odds ratios using the Mantel-Haenszel method, the Cochran-Mantel-Haenszel test and Tarone's test for heterogeneity are also provided.

References

Viechtbauer, W. (2010). Conducting meta-analyses in R with the metafor package. Journal of Statistical Software, 36(3), 1--48. http://www.jstatsoft.org/v36/i03/.

See Also

rma.uni, rma.mh, rma.peto, rma.glmm