medTest.SBMH {MultiMed} | R Documentation |
Implements Heller/Sampson method of testing multiple biological mediators simultaneously, controlling either FWER or FDR.
medTest.SBMH(pEM,pMY,MCP.type="FWER",t1=0.05,t2=0.05,lambda=0)
pEM |
Vector of size m (where m = number of mediators). Entries are the p-values for the E,M_j relationship. |
pMY |
Vector of size m (where m = number of mediators). Entries are the p-values for the M_j,Y|E relationship. |
MCP.type |
Multiple comparison procedure - either "FWER" or "FDR". |
t1 |
Threshold for determining the cutoff to be one of the top S_1 E/M_j relationships. |
t2 |
Threshold for determining the cutoff to be one of the top S_2 M_j/Y relationships. |
lambda |
Threshold for estimating the proportion of false positives. |
See Heller/Sampson paper for a more in-depth description of this method.
m x 1 matrix of either p-values (if MCP.type = "FWER") or q-values (if MCP.type = "FDR").
Ruth Heller, Joshua N. Sampson