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.)
References:
http://www.stat.psu.edu/~bgl/center/tr/TR993.ps
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.