bothsidesmodel.hotelling {msos} | R Documentation |
Test blocks of
are zero.
Description
Performs tests of the null hypothesis H0 : = 0, where
is a block submatrix of
as in Section 7.2.
Usage
bothsidesmodel.hotelling(x, y, z, rows, cols)
Arguments
x |
An |
y |
The |
z |
A |
rows |
The vector of rows to be tested. |
cols |
The vector of columns to be tested. |
Value
A list with the following components:
- Hotelling
A list with the components of the Lawley-Hotelling
test (7.22)
- T2
The
statistic (7.19).
- F
The
version (7.22) of the
statistic.
- df
The degrees of freedom for the
.
- pvalue
The
-value of the
.
- Wilks
A list with the components of the Wilks
test (7.37)
- lambda
The
statistic (7.35).
- Chisq
The
version (7.37) of the
statistic, using Bartlett's correction.
- df
The degrees of freedom for the
.
- pvalue
The p-value of the
.
See Also
bothsidesmodel
, bothsidesmodel.chisquare
,
bothsidesmodel.df
, bothsidesmodel.lrt
,
and bothsidesmodel.mle
.
Examples
# Finds the Hotelling values for example 7.3.1
data(mouths)
x <- cbind(1, mouths[, 5])
y <- mouths[, 1:4]
z <- cbind(c(1, 1, 1, 1), c(-3, -1, 1, 3), c(1, -1, -1, 1), c(-1, 3, -3, 1))
bothsidesmodel.hotelling(x, y, z, 1:2, 3:4)
[Package msos version 1.2.0 Index]