medTest.SBMH {MultiMed}R Documentation

Test for multiple mediators which uses the Bogomolov and Heller approach

Description

Implements Heller/Sampson method of testing multiple biological mediators simultaneously, controlling either FWER or FDR.

Usage

medTest.SBMH(pEM,pMY,MCP.type="FWER",t1=0.05,t2=0.05,lambda=0)

Arguments

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.

Details

See Heller/Sampson paper for a more in-depth description of this method.

Value

m x 1 matrix of either p-values (if MCP.type = "FWER") or q-values (if MCP.type = "FDR").

Author(s)

Ruth Heller, Joshua N. Sampson


[Package MultiMed version 2.2.0 Index]