rm.hotel: Repeated measures ANOVA (univariate data) using Hotelling's...

View source: R/means_tests.R

Repeated measures ANOVA (univariate data) using Hotelling's T2 testR Documentation

Repeated measures ANOVA (univariate data) using Hotelling's T^2 test

Description

Repeated measures ANOVA (univariate data) using Hotelling's T^2 test.

Usage

rm.hotel(x, a = 0.05)

Arguments

x

A numerical matrix with the repeated measurements. Each column contains the values of the repeated measurements.

a

The level of significance, default value is equal to 0.05.

Details

This is a multivariate test for the equality of means of repeated measurements.

Value

A list including:

m

The mean vector.

result

A vector with the test statistic value, it's associated p-value, the numerator and denominator degrees of freedom and the critical value.

Author(s)

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

See Also

sp.logiregs, pc.sel

Examples

x <- as.matrix(iris[, 1:4]) ## assume they are repeated measurements
rm.hotel(x)

Rfast2 documentation built on Aug. 8, 2023, 1:11 a.m.