GTukey: A generalized Tukey method for multiple pairwise comparisons...

Description Usage Arguments Value References Examples

Description

Given an ANOVA model with r levels, we are interested in testing the pairwise mean differences (1 vs 2,...; 2 vs 3,... etc). We consider a weighted multiple hypothesis testing problem, where we allow different tests to get unequal type I errors, and in the meantime, we want to control the overall type I errors (familywise error rate; FWER) at a pre-specified level.

Usage

1
GTukey(nr, alpha = 0.05, W = NULL)

Arguments

nr

the sample sizes for each factor level.

alpha

overall significance level

W

the relative type I errors assigned to each comparison.

Value

Bonf

critial values computed from Bonferroni correction

Tukey

Tukey HSD approximate value (common to all)

WT

weighted Tukey HSD critical values

FP

overall familywise type I errors

FPi

individual test type I errors

References

Ling,S., Johnson,C., Ellermann,J., Eberly,L. and Wu,B. (2019) A generalized Tukey method for weighted multiple pairwise comparisons in an ANOVA model.

Examples

1
GTukey(c(15,10,5), W=3:1)

baolinwu/IPAM documentation built on May 9, 2019, 2:21 a.m.