Ind2Variates: Independence of k Sets of Varieties

Description Usage Arguments Value Author(s) References Examples

Description

When the matrices of covaraince and correlation have been partitioned according with the population matrix it is recommended to use the Wilk's test but since is quite complicated there is an approximation to a Chi-square Morrison(2005).

Usage

1

Arguments

S

a positive define matrix which contains the whole variances and covariances

n

the total number of observations cover by the S matrix

Value

S11

a positive define matrix related which contains the variances and covariances of the first group

S22

a positive define matrix related which contains the variances and covariances of the second group

ChiSquareStatistic

the value of the Chi Square Statistic

DegreeOfFreedom

total normal of degrees of freedom of the Chi Square Statistic

pValue

the p value of the Chi square statistic

Author(s)

Jesus Gonzalez <jmgonzalezf@unal.edu.co>, Andres Palacios <anfpalacioscl@unal.edu.co>, Campo Elias Pardo <cepardot@unal.edu.co>

References

Morrison, D. F. (2005), Multivariate statistical methods, Series in Probabilty and Statistics, 4 edn, McGraw-Hill, New York.

Examples

1
2
3
4
5
6
7
8
S <- matrix(c(1, 0.45, -0.19, 0.43,
              0.45, 1, -0.02, 0.62,
              -0.19, -0.02, 1, -0.29,
              0.43, 0.62, -0.29, 1),
            nrow = 4, byrow = TRUE)
n <- 933

Ind2Variates(S = S, n = n)

andresfpc/AMUN documentation built on May 12, 2019, 3:36 a.m.