Perform Levene test with the null hypothesis that all input samples have equal variances.
Inputs are sample vectors: bartlett(x,y,z,...)
Outputs: (Xsq, pval)
Xsq – the Test statistic pval – significance level if null is rejected with this value of X(prob. that null is true but rejected with this p-value.)
Fligner, M.A. and Killeen, T.J. (1976). Distribution-free two-sample tests for scale. ‘Journal of the American Statistical Association.’ 71(353), 210-213.