Simulate_Power2: Study the power of unconditional and conditional Bonferroni...

Description Usage Arguments Value Examples

Description

Used in the Supplementary Material. Works like Simulate_Power, but evaluaties only the Bonferroni and FGS rules in order to save time.

Usage

1
Simulate_Power2(nsim, ncp0, ncp1,sigma0, sigma1,n0,n1,lambda,alpha)

Arguments

nsim

Number of simulations

ncp0

Noncentrality parameter of test statistic of true hypotheses, greater or equal to 0

ncp1

Noncentrality parameter of test statistic of false hypotheses, greater or equal to 0

sigma0

Standard error of test statistic of true hypotheses, greater or equal to 0

sigma1

Standard error of test statistic of false hypotheses, greater or equal to 0

n0

Number of true hypotheses

n1

Number of false hypotheses

lambda

Conditionalization threshold, between 0 and 1

alpha

Nominal significance level

Value

List with rejection rates of these multiple testing procedures: Bonferroni, FGS, Conditional Bonferroni, Conditional FGS

Examples

1
Simulate_Power2(100, 2, 2, 1, 1,15,5,0.5,0.05)

JulesEllis/jjjsimulations documentation built on May 8, 2019, 12:58 a.m.