"rma.uni"
, "rma.mh"
, and "rma.peto"
.## S3 method for class 'rma.uni':
baujat(x, xlim, ylim, xlab, ylab, cex, grid=TRUE, \ldots)
## S3 method for class 'rma.mh':
baujat(x, xlim, ylim, xlab, ylab, cex, grid=TRUE, \ldots)
## S3 method for class 'rma.peto':
baujat(x, xlim, ylim, xlab, ylab, cex, grid=TRUE, \ldots)
"rma.uni"
, "rma.mh"
, or "rma.peto"
.rma.uni
(using method="FE"
), rma.mh
, or rma.peto
functions and then passing the fitted model object to the baujat
function.
For models fitted with the rma.uni
function (which may involve moderators and/or may be random/mixed-effects models), the idea underlying this type of plot can be generalized as follows: The x-axis then corresponds to the squared Pearson residual of a study, while the y-axis corresponds to the standardized squared difference between the predicted/fitted value for the study with and without the study included in the model fitting. Therefore, for a fixed-effect with moderators model, the x-axis corresponds to the contribution of the study to the QE-test statistic for residual heterogeneity.
The points are labeled according to the slab
argument (see model fitting functions). If slab
was unspecified, then the numbers 1 through $k$ are used by default.rma.uni
, rma.mh
, rma.peto
, influence.rma.uni
, radial
### load data from Pignon et al. (2000)
dat <- get(data(dat.pignon2000))
### compute estimated log hazard ratios and sampling variances
dat$yi <- with(dat, OmE/V)
dat$vi <- with(dat, 1/V)
### meta-analysis based on all 65 trials
res <- rma(yi, vi, data=dat, method="FE", slab=id)
### create Baujat plot
baujat(res)
Run the code above in your browser using DataLab