Statistics::MBoxTest Function

double MBoxTest(TMtx *X1, TMtx *X2, double &Signif, THypothesisResult &hRes, int &df1, int &df2, const double Alpha = 0.05);

M-Box test for equal covariances.

#NameTypeDescription
1X1TMtx *First matrix. The number of columns for X1 and X2 must be equal, otherwise an exception is raised.
2X2TMtx *Second matrix. The number of columns for X1 and X2 must be equal, otherwise an exception is raised.
3Signifdouble &(Significance level) returns the probability of observing the given result
4hResTHypothesisResult &Returns the result of the null hypothesis.
5df1int &Nominator degrees of freedom.
6df2int &Denominator degrees of freedom.
7Alpha = 0.05const doubleDefines the desired significance level.
Remarks:

Performs M-Box test for equal covariances. In this case the null hypothesis is that X1 and X2 covariances are equal and the alternative hypothesis is that X1 and X2 covariances are not equal.

See Also: Statistics::HotellingT2One
Declared in Dew::Stats::Units::Statistics · Dew.Stats/Units.Statistics.h · Cross-compiler