lancaster {metapro} | R Documentation |
Lancaster
Description
P-value combination based on Lancaster's procedure
Usage
lancaster(p, weight, is.onetail = TRUE, eff.sign)
Arguments
p |
A numeric vector of p-values |
weight |
A numeric vector of weights (e.g., samples sizes) |
is.onetail |
Logical. If set TRUE, p-values are combined without considering the direction of effect, and vice versa. Default: TRUE. |
eff.sign |
A vector of signs of effect sizes (1 or -1). It works when is.onetail = FALSE |
Value
p : Combined p-value
overall.eff.direction : The direction of combined effects.
References
Becker BJ (1994). “Combining significance levels.” In Cooper H, Hedges LV (eds.), A handbook of research synthesis, 215–230. Russell Sage, New York.
Lancaster HO (1949). “Combination of probabilities arising from data in discrete distributions.” Biometrika, 36, 370–382.
Examples
lancaster(p=c(0.01,0.2,0.8), weight=c(20,50,10), is.onetail=FALSE, eff.sign=c(1,1,1))
[Package metapro version 1.5.11 Index]