Question #28401give me an exampe to perform levene's test. i have school project that make an app for QUEST algorithm. after do chi square or anova f test, sometimes i have to do levene's test. if you don't mind help me with an example Solution. Levene's test is used to test if samples have equal variances. Equal variances across samples is called homogeneity of variance. Suppose that your big sample is divided into "small" samples . Leven's test tests whether r.v.s inside small groups possess the same variance. Statistic of the test is
here , is the mean of the i-th group. Respectively, are the group means of , is the mean of the all , are respectively the size of the big and small samples. After calculating this statistics you should compare it with (take for instance) quantile of Fisher distribution with and degrees of freedom. If , then the null hypothesis is rejected, that is the variance inside the small samples differs. Otherwise, we accept the null hypothesis.