14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

156 Performing Oneway <strong>Analysis</strong> Chapter 5<br />

Unequal Variances<br />

Unequal Variances<br />

When the variances across groups are not equal, the usual analysis of variance assumptions are not satisfied<br />

<strong>and</strong> the ANOVA F test is not valid. JMP provides four tests for equality of group variances <strong>and</strong> an ANOVA<br />

that is valid when the group sample variances are unequal. The concept behind the first three tests of equal<br />

variances is to perform an analysis of variance on a new response variable constructed to measure the spread<br />

in each group. The fourth test is Bartlett’s test, which is similar to the likelihood-ratio test under normal<br />

distributions.<br />

Note: Another method to test for unequal variances is ANOMV. See “<strong>Analysis</strong> of Means Methods” on<br />

page 144.<br />

Table 5.17 Descriptions of Tests for Equal Variances<br />

O’Brien<br />

Brown-Forsythe<br />

Levene<br />

Bartlett<br />

Constructs a dependent variable so that the group means of the new variable<br />

equal the group sample variances of the original response. An ANOVA on the<br />

O’Brien variable is actually an ANOVA on the group sample variances (O’Brien<br />

1979, Olejnik, <strong>and</strong> Algina 1987).<br />

Shows the F test from an ANOVA where the response is the absolute value of the<br />

difference of each observation <strong>and</strong> the group median (Brown <strong>and</strong> Forsythe<br />

1974a).<br />

Shows the F test from an ANOVA where the response is the absolute value of the<br />

difference of each observation <strong>and</strong> the group mean (Levene 1960). The spread is<br />

measured as z ij<br />

= y ij<br />

– y i (as opposed to the <strong>SAS</strong> default z<br />

ij<br />

2 = ( y ij<br />

– y i ) 2 ).<br />

Compares the weighted arithmetic average of the sample variances to the<br />

weighted geometric average of the sample variances. The geometric average is<br />

always less than or equal to the arithmetic average with equality holding only<br />

when all sample variances are equal. The more variation there is among the group<br />

variances, the more these two averages differ. A function of these two averages is<br />

created, which approximates a χ 2 -distribution (or, in fact, an F distribution under<br />

a certain formulation). Large values correspond to large values of the arithmetic<br />

or geometric ratio, <strong>and</strong> therefore to widely varying group variances. Dividing the<br />

Bartlett Chi-square test statistic by the degrees of freedom gives the F value shown<br />

in the table. Bartlett’s test is not very robust to violations of the normality<br />

assumption (Bartlett <strong>and</strong> Kendall 1946).<br />

If there are only two groups tested, then a st<strong>and</strong>ard F test for unequal variances is also performed. The F test<br />

is the ratio of the larger to the smaller variance estimate. The p-value from the F distribution is doubled to<br />

make it a two-sided test.<br />

Note: If you have specified a Block column, then the variance tests are performed on data after it has been<br />

adjusted for the Block means.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!