Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

print.summary.copas

Print method for summary of Copas selection model


Description

Print method for objects of class summary.copas.

Usage

## S3 method for class 'summary.copas'
print(
  x,
  backtransf = x$backtransf,
  digits = gs("digits"),
  digits.pval = max(gs("digits.pval"), 2),
  digits.prop = gs("digits.prop"),
  scientific.pval = gs("scientific.pval"),
  big.mark = gs("big.mark"),
  header = TRUE,
  ...
)

Arguments

x

An object of class summary.copas.

backtransf

A logical indicating whether results should be back transformed in printouts and plots. If backtransf=TRUE (default), results for sm="OR" are printed as odds ratios rather than log odds ratio, for example.

digits

Minimal number of significant digits, see print.default.

digits.pval

Minimal number of significant digits for p-value of overall treatment effect, see print.default.

digits.prop

Minimal number of significant digits for proportions, see print.default.

scientific.pval

A logical specifying whether p-values should be printed in scientific notation, e.g., 1.2345e-01 instead of 0.12345.

big.mark

A character used as thousands separator.

header

A logical indicating whether information on title of meta-analysis, comparison and outcome should be printed at the beginning of the printout.

...

other arguments to the function will be ignored (this option included only to conform with R standards)

Details

This function prints a summary of a Copas analysis, performed using the function copas. It complements the graphical summary of the results, generated using plot.copas.

Specifically it prints a table where the:

first column corresponds to the x-axis in plots 3 & 4 from plot.copas;

second column corresponds to the treatment effect displayed in plot 3 from plot.copas;

third and fourth columns give the confidence intervals for this treatment effect,

fifth colum gives the p-value for an overall treatment effect,

sixth column gives the p-value for residual publication bias (the y-axis of plot 4 from plot.copas (see help(plot.copas) under plot 4 for a further explanation of this p-value))

seventh column gives an approximate estimate of the number of studies the model suggests remain unpublished if the probability of publishing the study with the largest SE is as in column 1.

Below this is displayed the results of the Copas analysis for the smallest degree of selection for which the p-value for evidence of residual selection bias exceeds sign.rsb (default: 0.1). This is simply extracted from the corresponding row in the table above.

Lastly, the usual random effects estimate (based on the DerSimonian-Laird method) and 95% confidence interval is printed.

Author(s)

James Carpenter James.Carpenter@lshtm.ac.uk, Guido Schwarzer sc@imbi.uni-freiburg.de

See Also

Examples

data(Fleiss1993bin, package = "meta")

# Perform meta analysis, effect measure is odds ratio (OR)
#
m1 <- metabin(d.asp, n.asp, d.plac, n.plac, data=Fleiss1993bin, sm="OR")

# Print summary of Copas analysis
#
summary(copas(m1), level=0.95)

metasens

Statistical Methods for Sensitivity Analysis in Meta-Analysis

v0.6-0
GPL (>= 2)
Authors
Guido Schwarzer [cre, aut] (<https://orcid.org/0000-0001-6214-9087>), James R. Carpenter [aut] (<https://orcid.org/0000-0003-3890-6206>), Gerta Rücker [aut] (<https://orcid.org/0000-0002-2192-2560>)
Initial release
2021-01-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.