hotelling.test: Hotelling's T2 Test

Description Usage Arguments Value References See Also Examples

View source: R/hotelling.test.R

Description

Tests multivariate differences between two samples with Hotelling's T2 Test

Usage

1
hotelling.test(matx, maty)

Arguments

matx

First sample (matrix with observations as lines and variables as columns)

maty

Second sample (matrix with observations as lines and variables as columns)

Value

Returns a list containing the stat and the p-value

References

Hotelling, H. (1931). "The generalization of Student's ratio." Annals of Mathematical Statistics 2. (3): 360 378

See Also

difftable,sri.test

Examples

1
2
3
A=matrix(rnorm(13.15),13,15)
B=matrix(rnorm(13.15),13,15)
hotelling.test(A,B)

multifluo documentation built on May 2, 2019, 1:07 p.m.