BoxM | R Documentation |

`BoxM`

function tests whether the covariance matrices of independent
samples are equal or not.

```
BoxM(data, group)
```

`data` |
a data frame. |

`group` |
grouping vector. |

This function computes Box-M test statistic for the covariance matrices of independent samples. The hypotheses are defined as H0:The Covariance matrices are homogeneous and H1:The Covariance matrices are not homogeneous

a list with 3 elements:

`ChiSquare` |
The value of Test Statistic |

`df` |
The Chi-Square statistic's degree of freedom |

`p.value` |
p value |

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

Rencher, A. C. (2003). Methods of multivariate analysis (Vol. 492). John Wiley & Sons.

```
data(iris)
results <- BoxM(data=iris[,1:4],group=iris[,5])
summary(results)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.