powered by
Mpaired function computes the value of test statistic based on Hotelling T Square approach in multivariate paired data sets.
Mpaired
Mpaired(T1, T2)
The first treatment data.
The second treatment data.
a list with 7 elements:
The value of Hotelling T^2 Test Statistic
The value of F Statistic
The F statistic's degree of freedom
p value
The descriptive statistics of the first treatment
The descriptive statistics of the second treatment
The descriptive statistics of the differences
This function computes one sample Hotelling T^2 statistics for paired data sets.
Rencher, A. C. (2003). Methods of multivariate analysis (Vol. 492). John Wiley & Sons.
# 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