dsnorm gives the density, psnorm gives the distribution
function, and rsnorm generates random deviates.
Arguments
x
vector of quantiles.
theta0
vector of means.
tau
vector of heterogeneity parameters.
sigma
vector of study standard deviations.
alpha
vector of thresholds for publication bias.
eta
vector of publication probabilities, normalized to sum to 1.
log
logical; If TRUE, probabilities are given as
log(p).
n
number of observations. If length(n) > 1, the length is taken
to be the number required.
Details
The effect size distribution for the publication selection model is not
normal, but has itself been selected for. These functions assume a
normal underlying effect size distribution and one-sided selection on the
effects.
References
Hedges, Larry V. "Modeling publication selection effects
in meta-analysis." Statistical Science (1992): 246-255.
Moss, Jonas and De Bin, Riccardo. "Modelling publication
bias and p-hacking" (2019) arXiv:1911.12445