Bsper | R Documentation |
Bsper
function tests whether a correlation matrix is equal to
the identity matrix or not.
Bsper(data)
data |
a data frame. |
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.
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 |
Hasan BULUT <hasan.bulut@omu.edu.tr>
Tatlidil, H. (1996). Uygulamali Cok Degiskenli Istatistiksel Yontemler. Cem Web.
data(iris)
results <- Bsper(data=iris[,1:4])
summary(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.