OneSampleHT2 | R Documentation |
OneSampleHT2
computes one sample Hotelling T^2 statistics and gives
confidence intervals
OneSampleHT2(data, mu0, alpha = 0.05)
data |
a data frame. |
mu0 |
mean vector that is used to test whether population mean parameter is equal to it. |
alpha |
Significance Level that will be used for confidence intervals.
|
This function computes one sample Hotelling T^2 statistics that is used to
test whether population mean vector is equal to a vector given by a user.
When H0
is rejected, this function computes confidence intervals
for all variables.
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 |
CI |
The lower and upper limits of confidence intervals obtained for all variables |
alpha |
The alpha value using in confidence intervals |
Descriptive |
Descriptive Statistics |
Hasan BULUT <hasan.bulut@omu.edu.tr>
Rencher, A. C. (2003). Methods of multivariate analysis (Vol. 492). John Wiley & Sons.
Tatlidil, H. (1996). Uygulamali Cok Degiskenli Istatistiksel Yontemler. Cem Web.
data(iris)
mean0<-c(6,3,1,0.25)
result <- OneSampleHT2(data=iris[1:50,-5],mu0=mean0,alpha=0.05)
summary(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.