Homogeneity of Variance > Hartley’s Test / Fmax
What is The Fmax Test?
The Fmax test (also called Hartley’s Fmax) is a test for homogeneity of variance. In other words, the spread (variance) of your data should be similar across groups or levels. Compared to Levene’s test, Hartley’s test is fairly simple to figure out by hand.
An assumption of the Fmax test is that there are an equal number of participants in each group.
Example question: Run Hartley’s Fmax test for two conditions X and Y. Each condition (level) has 10 participants with variances of X = 12 and Y = 4.
Step 1: Find the variances for each group/level/condition. If you’re running an ANOVA test, the s2 values (i.e. the variances) will be shown in the output. Otherwise, you can calculate by hand (or use our variance and standard deviation calculator).
For this example, our variances are 12 and 4.
Step 2: Divide the larger variance by the smaller variance to find the Fmax ratio:
Note: If the ratio is close to 1, you can stop here, as your data shows homogeneity of variance.
In this example, we have 12/4 = 3. This ratio isn’t close to 1, so go to the next step.
Step 3: Look up the number of levels and the degrees of freedom (number of items in each level minus 1) in the Fmax table.
For 9 degrees of freedom (n – 1 = 10 – 1 = 9) and a k of 2 (k is the number of levels/groups), the table shows an Fmax value of 4.04.
Step 4: Compare your calculated value from Step 2 to the table value from Step 3.
- If your calculated value from Step 2 is smaller than the table value, the variance is homogeneous.
- If your calculated value from Step 2 is larger than the table value, the variance is not homogeneous.
Our calculated value of 3 is smaller than the table value of 4.04, so our variance is homogeneous.
Degrees of freedom: Subtract 1 from your sample size to find the degrees of freedom. For example, if you have 10 items in your sample, then df = 10 – 1 = 9.
k: is the number of levels/groups or conditions.
K (Number of levels/groups/treatments)
Need help with a homework or test question? With Chegg Study, you can get step-by-step solutions to your questions from an expert in the field. If you'd rather get 1:1 study help, Chegg Tutors offers 30 minutes of free tutoring to new users, so you can try them out before committing to a subscription.
If you prefer an online interactive environment to learn R and statistics, this free R Tutorial by Datacamp is a great way to get started. If you're are somewhat comfortable with R and are interested in going deeper into Statistics, try this Statistics with R track.
Comments? Need to post a correction? Please post a comment on our Facebook page.