Combine p values using the inverse t method
invt(p, k, data = NULL, subset = NULL, na.action = na.fail)
# S3 method for invt
print(x, ...)A vector of significance values
A vector of degrees of freedom to use, see details
Optional data frame containing variables
Optional vector of logicals to specify a subset of the \(p\)-values
A function indicating what should happen when data contains NAs
An object of class ‘invt’
Other arguments to be passed through
An object of class ‘invt’ and ‘metap’,
a list with entries
Value of z
Associated p-value
The input vector with the illegal values removed
Defined as $$\frac{\sum_{i=1}^n t_{k_i}(p_i)}% {\sqrt{\sum_{i=1}^n \frac{k_i}{k_i - 2}}}% > z(\alpha)% $$
If k is a single value it is used for all the p
of which there are n.
If any value of \(k_i\le2\) then the corresponding \(p_i\)
is not included.
The values of \(p_i\) should be such that \(0<p_i\le 1\) and a warning is given if that is not true. An warning is given if, possibly as a result of removing illegal values, fewer than two values remain and the return values are set to NA.
The plot method for class ‘metap’ calls plotp on the valid \(p\)-values.
becker94metap
See also plotp
# NOT RUN {
data(beckerp)
invt(beckerp, 50)
# }
Run the code above in your browser using DataLab