Title: | Combination of Independent P-Values |
---|---|
Description: | Provides access to six fundamental statistics that can be used for the purpose of combination p-values. All methods used can referenced here: Heard & Rubin-Delanchy (2017) <arXiv:1707.06897>. |
Authors: | Breya McGlown [cre, aut] |
Maintainer: | Breya McGlown <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.1.4 |
Built: | 2024-12-25 06:32:32 UTC |
Source: | CRAN |
#' Input is the test statistic of the previous method selected and it returns the combined p-value
CombinedPValueMethod(x, name)
CombinedPValueMethod(x, name)
x |
#' test statistic of method used (i.e., Tippett, Stouffer, etc.) |
name |
# name of method using |
Combined P-value
Output <- SumOfPs(0.1,0.3,.7) Final <- TippettMethod(Output) Combined <- CombinedPValueMethod(Final,"Tippett")
Output <- SumOfPs(0.1,0.3,.7) Final <- TippettMethod(Output) Combined <- CombinedPValueMethod(Final,"Tippett")
#' Combination p-value method that uses Edgington statistic Summation i=1 to n pi where p equals p-value
EdMethod(x)
EdMethod(x)
x |
#' SumOfPs |
Combined P-value
Output <- SumOfPs(0.1,0.3,.7) Final <- EdMethod(Output)
Output <- SumOfPs(0.1,0.3,.7) Final <- EdMethod(Output)
#' Combination p-value method that uses Fishers statistic Summation i=1 to n log of pi where p equals p-value
FishersMethod(x)
FishersMethod(x)
x |
#' SumOfPs |
Combined P-value
Output <- SumOfPs(0.1,0.3,.7) Final <- FishersMethod(Output)
Output <- SumOfPs(0.1,0.3,.7) Final <- FishersMethod(Output)
#' Combination p-value method that uses George statistic Summation i=1 to n log(pi/(1-pi)) where p equals p-value
GeorgeMethod(x)
GeorgeMethod(x)
x |
#' SumOfPs |
Combined P-value
Output <- SumOfPs(0.1,0.3,.7) Final <- GeorgeMethod(Output)
Output <- SumOfPs(0.1,0.3,.7) Final <- GeorgeMethod(Output)
#' Combination p-value method that uses Pearson statistic -Summation i= 1 to n log(1-pi) where p equals p value
PearsonsMethod(x)
PearsonsMethod(x)
x |
#' InfinitePs |
Combined P-value
Output <- SumOfPs(0.1,0.3,.7) Final <- PearsonsMethod(Output)
Output <- SumOfPs(0.1,0.3,.7) Final <- PearsonsMethod(Output)
#' Combination p-value method that uses Stouffer statistic Summation i=1 to n inverse CDF of N(0,1)(pi) where p equals p-value
StoufferMethod(x)
StoufferMethod(x)
x |
#' SumOfPs |
Combined P-value
Output <- SumOfPs(0.1,0.3,.7) Final <- StoufferMethod(Output)
Output <- SumOfPs(0.1,0.3,.7) Final <- StoufferMethod(Output)
Converts a list of p-values into a list, n= 2,3,...,k
SumOfPs(x, ...)
SumOfPs(x, ...)
x |
#' Input n p-values n = 2,3,...,k |
... |
#list of p values |
List of p-values
Output <- SumOfPs(0.1,0.3,.7)
Output <- SumOfPs(0.1,0.3,.7)
#' Combination p-value method that uses Tippett statistic min(p1,...,pn), n= 2,3,...,k where p equals p-value
TippettMethod(x)
TippettMethod(x)
x |
#' SumOfPs |
Combined P-value
Output <- SumOfPs(0.1,0.3,.7) Final <- TippettMethod(Output)
Output <- SumOfPs(0.1,0.3,.7) Final <- TippettMethod(Output)