powered by
Bsper function tests whether a correlation matrix is equal to the identity matrix or not.
Bsper
Bsper(data)
a data frame.
a list with 4 elements:
The value of Test Statistic
The Chi-Square statistic's degree of freedom
p value
Correlation matrix
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.
H0:R is equal to I
H1:R is not equal to I.
Tatlidil, H. (1996). Uygulamali Cok Degiskenli Istatistiksel Yontemler. Cem Web.
# NOT RUN { data(iris) results <- Bsper(data=iris[,1:4]) summary(results) # }
Run the code above in your browser using DataLab