logitp: Combine p values using the logit method

View source: R/logitp.R

logitpR Documentation

Combine p values using the logit method

Description

Combine \mjseqnp values using logit method\loadmathjax

Usage

logitp(p, log.p = FALSE)
## S3 method for class 'logitp'
print(x, ...)

Arguments

p \sigvec
log.p \logp
x

An object of class ‘logitp

...

Other arguments to be passed through

Details

Defined as \mjdeqnt = - \frac\sum_i=1^k \log\fracp_i1 - p_iC t = - sum log(p / (1 - p)) / C where \mjdeqnC = \sqrt\frack \pi^2 (5 k + 2)3(5 k + 4)C = sqrt((k pi^2 (5 k + 2)) / (3(5 k + 4))) and \mjseqnk is the number of studies.

\ltlt

two

\plotmethod

Value

An object of class ‘logitp’ and ‘metap’, a list with entries

t

Value of Student's \mjseqnt

df

Associated degrees of freedom

p

Associated \mjseqnp-value

validp

The input vector with illegal values removed

Author(s)

Michael Dewey

References

\insertRef

becker94metap

See Also

See also plotp

Examples

data(dat.metap)
teachexpect <- dat.metap$teachexpect
logitp(teachexpect) # t = 2.763, df = 99, p = 0.0034, from Becker
beckerp <- dat.metap$beckerp
logitp(beckerp) # t = 1.62, df = 29, NS, from Becker
validity <- dat.metap$validity$p
logitp(validity) # t = 9.521, df = 104, p = 3.89 * 10^{-16}
all.equal(exp(logitp(validity, log.p = TRUE)$p), logitp(validity)$p)

metap documentation built on Sept. 11, 2024, 6:53 p.m.