wFisher: wFisher

View source: R/metapro.R

wFisherR Documentation

wFisher

Description

sample size-weighted Fisher's method

Usage

wFisher(p, weight = NULL, is.onetail = TRUE, eff.sign)

Arguments

p

A numeric vector of p-values

weight

A numeric vector of weight or sample size for each experiment

is.onetail

Logical. If set TRUE, p-values are combined without considering the direction of effects, and vice versa. Default: TRUE.

eff.sign

A vector of signs of effect sizes. 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.

Fisher RA (1925). Statistical methods for research workers. Oliver and Boyd, Edinburgh.

Examples

wFisher(p=c(0.01,0.2,0.8), weight = c(50,60,100),is.onetail=FALSE, eff.sign=c(1,1,1))

metapro documentation built on March 31, 2023, 6:35 p.m.