Learn R Programming

MVTests (version 1.1)

Mpaired: Multivariate Paired Test

Description

Mpaired function computes the value of test statistic based on Hotelling T Square approach in multivariate paired data sets.

Usage

Mpaired(T1, T2)

Arguments

T1

The first treatment data.

T2

The second treatment data.

Value

a list with 7 elements:

HT2

The value of Hotelling T^2 Test Statistic

F

The value of F Statistic

df

The F statistic's degree of freedom

p.value

p value

Descriptive1

The descriptive statistics of the first treatment

Descriptive2

The descriptive statistics of the second treatment

Descriptive.Difference

The descriptive statistics of the differences

Details

This function computes one sample Hotelling T^2 statistics for paired data sets.

References

Rencher, A. C. (2003). Methods of multivariate analysis (Vol. 492). John Wiley & Sons.

Examples

Run this code
# NOT RUN {
data(Coated)
X<-Coated[,2:3]; Y<-Coated[,4:5]
result <- Mpaired(T1=X,T2=Y)
summary(result)
# }

Run the code above in your browser using DataLab