weightLine: Function to plot estimated weight functions
Description
This function faclitiates plotting of estimated weight functions according to the method in Dear and Begg (1992) or
its non-increasing version described in Rufibach (2010).Usage
weightLine(p, w, col0, lwd0, lty0 = 1, type = c("pval", "empirical")[1])
Arguments
col0
Color of line that is drawn.
type
Should weights be drawn versus original $p$-values (type == "pval"
) or versus the empirical distribution of the
$p$-values (type === "empirical"
).
References
Dear, K.B.G. and Begg, C.B. (1992).
An Approach for Assessing Publication Bias Prior to Performing a Meta-Analysis.
Statist. Sci., 7(2), 237--245.Rufibach, K. (2011).
Selection Models with Monotone Weight Functions in Meta-Analysis.
Biom. J., 53(4), 689--704.
Examples
Run this code# This function is used in the help file for the function DearBegg().
Run the code above in your browser using DataLab