Bsper: Bartlett's Sphericity Test

View source: R/Bsper.R

BsperR Documentation

Bartlett's Sphericity Test

Description

Bsper function tests whether a correlation matrix is equal to the identity matrix or not.

Usage

Bsper(data)

Arguments

data

a data frame.

Details

This function computes Bartlett's test statistic for Sphericity Test. The hypotheses are H0:R is equal to I and H1:R is not equal to I.

Value

a list with 4 elements:

ChiSquare

The value of Test Statistic

df

The Chi-Square statistic's degree of freedom

p.value

p value

R

Correlation matrix

Author(s)

Hasan BULUT <hasan.bulut@omu.edu.tr>

References

Tatlidil, H. (1996). Uygulamali Cok Degiskenli Istatistiksel Yontemler. Cem Web.

Examples

data(iris) 
results <- Bsper(data=iris[,1:4])
summary(results)

MVTests documentation built on Nov. 3, 2023, 5:11 p.m.

Related to Bsper in MVTests...