Performs the regression test and calculates skewness for detecting and quantifying publication bias.
Usage
metapb(y, s2, model)
Arguments
y
a numeric vector indicating the observed effect sizes in the collected studies; they are assumed to be normally distributed.
s2
a numeric vector indicating the within-study variances.
model
a characher string specifying the fixed-effect ("FE") or random-effects ("RE") model. If not specified, this function uses the $Q$ statistic to test for heterogeneity: if the $p$-value is smaller than 0.05, model is
Value
This function returns a list containing measures of publication bias, their 95% confidence intervals, and $p$-values.
References
Egger M, Smith GD, Schneider M, and Minder C (1997). "Bias in meta-analysis detected by a simple, graphical test." BMJ, 315(7109), 629--634.