Skip to contents

Simulate data as in Clarke, Romano & Wolf (2019) to simulate family wise error rates (FWERs)

Usage

fwer_sim(rho, N, s, B, G = 20)

Arguments

rho

The correlation between the outcome variables

N

The number of observations

s

The number of dependent variables

B

The number of bootstrap draws e

G

The number of clusters. If NULL, no clustering.

Value

A 'data.frame' containing unadjusted p-values & p-values adjusted using the methods by Holm and Romano & Wolf (2005), with the following columns