eq.hotT2: Hotelling T2

Description Usage Arguments References Examples

View source: R/eq.hotT2.R

Description

This function does the one sample Hotelling T2 analog for equivalence tests, determining if a sample's set of means on repeated measures are practically equivalent, given some pre-specified interval in the metric of Mahalanobis distance. The null hypothesis of nonequality among the means of the responses is rejected if the T2 statistic is less than the critical value.

Usage

1
2
3
4
eq.hotT2(data, repeated, ei, alpha = 0.05)

## S3 method for class 'eq.hotT2'
print(x, ...)

Arguments

data

a data.frame object

repeated

a character vector containing the names of the repeated measures variables

ei

equivalence interval, in the metric of Mahalanobis distance

alpha

alpha/significance level

x

object of class eq.hotT2

...

additional arguments

References

Wellek, S. (2010). Testing statistical hypotheses of equivalence and noninferiority. CRC Press.

Examples

1
2
dat <- simRepDat()
eq.hotT2(data=dat, repeated=c('repA', 'repB', 'repC'), ei=0.25)

cribbie/equivalencetests documentation built on May 14, 2019, 11:33 a.m.