Salar Cafe Statistics, ANOVA Assumptions and Equal Variance Testing
Hartley’s F Max Test: Formula, SPSS Output, Python, R and Excel Homogeneity of Variance Guide
Hartley’s F Max Test is a homogeneity of variance test that compares the largest sample variance with the smallest sample variance across independent groups. This Salar Cafe guide explains the Hartley Fmax formula, null and alternative hypotheses, verified SPSS output interpretation, Python charts, R validation charts, Excel formulas, Monte Carlo reference distribution, APA reporting and related assumption checks for direct WordPress publishing.
Google AdSense top placement reserved here
Quick Answer: Hartley’s F Max Test Result
The worked example uses G3 final grade as the dependent variable and studytime as the grouping variable. Hartley’s F Max Test compares the largest group variance with the smallest group variance. In this analysis, the largest G3 variance is approximately 10.5179, the smallest G3 variance is approximately 6.2605, and the observed Hartley statistic is approximately Fmax = 1.6800.
The Monte Carlo reference distribution gives an approximate p-value around .10. Because this value is greater than .05, the analysis fails to reject the null hypothesis of equal variances. In simple reporting language, the studytime groups do not show strong evidence of unequal G3 variances.
Final interpretation: Hartley’s F Max Test does not indicate a statistically significant violation of the homogeneity of variance assumption for G3 across studytime groups. The largest variance is higher than the smallest variance, but the ratio is not extreme enough in the Monte Carlo reference analysis to reject equal variances at the .05 level.
Important note: Hartley’s F Max Test is sensitive to non-normality and works best when group sizes are equal or similar. It should be interpreted with visual diagnostics such as box plot interpretation, histogram interpretation, Q-Q plot normality check, and robust alternatives such as Levene’s test and Brown-Forsythe test.
Table of Contents
- What Is Hartley’s F Max Test?
- Hartley’s F Max Test Formula
- Null and Alternative Hypotheses
- Dataset and Variables Used
- Verified SPSS Output Interpretation
- Python Chart-by-Chart Interpretation
- R Chart-by-Chart Validation
- SPSS, Python, R and Excel Workflows
- SPSS Syntax, Python Code, R Code and Excel Formulas
- APA Reporting Wording
- Common Mistakes
- When to Use Hartley’s F Max Test
- Downloads and Resources
- Related Internal Links
- FAQs
What Is Hartley’s F Max Test?
Hartley’s F Max Test, also called the Hartley Fmax test, is a statistical method for checking whether several independent groups have similar variances. It is mainly used as a homogeneity of variance check before analysis of variance or other group-comparison procedures.
The test statistic is easy to understand. First, calculate the sample variance inside each group. Second, find the largest group variance and the smallest group variance. Third, divide the largest variance by the smallest variance. If all group variances are similar, the ratio will be close to 1. If one group has much larger spread than another, the ratio becomes larger.
Hartley’s F Max Test is useful because it is simple, transparent and easy to explain to students. However, it is also sensitive to non-normal data. Therefore, it should be used with normality tools such as the D’Agostino-Pearson test, Cramer-von Mises test, Kolmogorov-Smirnov test, Lilliefors test, Ryan-Joiner test, Q-Q plot normality check, and P-P plot normality check.
Practical meaning: Hartley’s F Max Test answers this question: “Is the largest group variance too large compared with the smallest group variance?” It does not compare means, proportions or regression slopes. For mean or proportion analysis, use methods such as one-sample z test, one-proportion z test, or one-tailed t test when those methods match the research design.
Hartley’s F Max Test Formula
The Hartley’s F Max statistic is calculated as the largest sample variance divided by the smallest sample variance:
Fmax = largest sample variance / smallest sample varianceFmax = max(s²1, s²2, ..., s²k) / min(s²1, s²2, ..., s²k)
For the studytime example, the largest variance is approximately 10.5179 and the smallest variance is approximately 6.2605. Therefore:
Fmax = 10.5179 / 6.2605
Fmax ≈ 1.6800A value of 1.0000 would mean that the largest and smallest sample variances are identical. A value of 1.6800 means that the largest group variance is about 68% larger than the smallest group variance. The statistical decision depends on the number of groups, group sizes, normality context and reference distribution.
| Formula Element | Value in This Example | Explanation |
|---|---|---|
| Largest variance | 10.5179 | This is the numerator of the Hartley F Max statistic. |
| Smallest variance | 6.2605 | This is the denominator of the Hartley F Max statistic. |
| F Max statistic | 1.6800 | The largest variance is 1.68 times the smallest variance. |
| Monte Carlo p-value | Approximately .10 | The observed ratio is not extreme enough to reject equal variances at .05. |
Null and Alternative Hypotheses for Hartley’s F Max Test
Hartley’s F Max Test is a variance equality test, so the hypotheses are written in terms of group population variances. In this guide, the outcome variable is G3 and the grouping variable is studytime.
Null Hypothesis
H0: The population variances of G3 are equal across all studytime groups.
H0: σ²1 = σ²2 = σ²3 = σ²4Alternative Hypothesis
H1: At least one studytime group has a different population variance in G3.
H1: Not all σ² values are equalDecision in this example: Since the observed Hartley’s F Max statistic is approximately 1.6800 and the Monte Carlo p-value is approximately .10, we fail to reject the null hypothesis at α = .05. The studytime groups do not show strong evidence of unequal variances in G3.
If the homogeneity of variance assumption is violated, researchers may consider robust alternatives, adjusted methods, transformations such as reciprocal transformation, or variance-sensitive diagnostics such as coefficient of variation. For repeated-measures designs, variance-covariance assumptions are different and should be checked with methods such as Mauchly’s test of sphericity and Greenhouse-Geisser correction.
Dataset and Variables Used
The example uses a student performance style dataset. The dependent variable is G3, which represents the final grade score. The main grouping variable is studytime, which divides students into four independent categories. The purpose is to determine whether the spread of final grade scores is approximately equal across studytime groups.
| Element | Variable | Role in the Analysis | Interpretation |
|---|---|---|---|
| Dependent variable | G3 | Continuous outcome variable | Final grade score; the variance of this variable is compared across groups. |
| Main grouping variable | studytime | Independent categorical variable | Used to create groups for the Hartley’s F Max calculation. |
| Additional grouping checks | school, failures, address, famsize, sex, Pstatus | Screening variables | Used to show how F Max values can change across different grouping structures. |
| Distribution context | G3 distribution | Normality and shape check | Needed because Hartley’s F Max Test is sensitive to non-normality. |
Studytime Group Variance Summary
| Studytime Group | Approximate Variance of G3 | Relative Position | Meaning |
|---|---|---|---|
| 1 | 10.36 | High variance | G3 scores show relatively wide spread. |
| 2 | 10.52 | Largest variance | This group provides the numerator for F Max. |
| 3 | 6.26 | Smallest variance | This group provides the denominator for F Max. |
| 4 | 9.23 | Moderate-to-high variance | Spread is closer to groups 1 and 2 than to group 3. |
Before applying assumption tests, it is good practice to summarize the dataset using descriptive statistics, frequency distribution, five-number summary, cross-tabulation, and confidence interval reporting where relevant.
Google AdSense middle placement reserved here
Verified SPSS Output Interpretation
The verified SPSS output PDF for this guide is available here: Hartley’s F Max Test SPSS Output PDF. The SPSS workflow supports the same interpretation shown in Python and R: calculate G3 variance within each studytime group, find the largest and smallest variances, compute the F Max ratio, and evaluate whether the observed ratio is extreme.
| SPSS Output Item | Value / Finding | Interpretation |
|---|---|---|
| Outcome variable | G3 | The final grade variable is the measurement whose variance is compared. |
| Grouping variable | studytime | Four studytime categories are used as independent groups. |
| Largest group variance | Approximately 10.5179 | This value forms the numerator of the F Max statistic. |
| Smallest group variance | Approximately 6.2605 | This value forms the denominator of the F Max statistic. |
| Hartley’s F Max statistic | Approximately 1.6800 | The largest variance is about 1.68 times the smallest variance. |
| Monte Carlo p-value context | Approximately .10 | The observed ratio is not significant at .05. |
| Decision | Fail to reject H0 | The equal variance assumption is not rejected for G3 across studytime groups. |
SPSS reporting conclusion: Hartley’s F Max Test did not show a statistically significant violation of homogeneity of variance for G3 across studytime groups. The observed F Max was approximately 1.68, and the Monte Carlo p-value was approximately .10. Therefore, the analysis does not provide sufficient evidence to reject equal variances at the .05 level.
In a complete report, the SPSS output should be interpreted together with graphs and assumption diagnostics. If variance equality is a major concern, compare Hartley’s F Max Test with Levene’s test, Brown-Forsythe test, and Cochran’s C test. If the variance issue appears inside regression diagnostics rather than group comparison, see Goldfeld-Quandt test and Ramsey RESET test.
Python Chart-by-Chart Interpretation
The Python charts provide a complete visual explanation of Hartley’s F Max Test. They show group spread, direct variance comparison, smallest-versus-largest variance calculation, Monte Carlo reference distribution, group-size context, F Max values across groupings and normality context.
Python Chart 1: Group Spread Boxplots

Detailed interpretation
This boxplot shows the distribution of G3 inside each studytime group. The median, interquartile range, whiskers and possible outliers allow the reader to see whether one group appears more variable than another. Studytime group 3 appears tighter than several other groups, which explains why it becomes the smallest-variance group in the F Max calculation.
The chart also reminds us that Hartley’s F Max Test is a spread test, not a mean comparison test. If the research question is about average G3 scores rather than variance, a separate mean-comparison method is needed. The boxplot is still useful because variance assumptions often affect ANOVA-style interpretation.
Python Chart 2: Group Variance Comparison

Detailed interpretation
This chart displays the actual sample variances used for the test. Studytime group 2 has the largest variance at approximately 10.5179, while studytime group 3 has the smallest variance at approximately 6.2605. Groups 1 and 4 fall between these values.
Hartley’s F Max Test uses only the largest and smallest variance in its statistic. Therefore, the most important comparison is group 2 versus group 3. The other group variances help explain the overall spread pattern but do not directly define the numerator or denominator of the F Max statistic.
Python Chart 3: Smallest vs Largest Variance

Detailed interpretation
This chart reduces the test to its core calculation. The smallest variance is approximately 6.2605, and the largest variance is approximately 10.5179. Dividing the largest variance by the smallest variance gives Fmax ≈ 1.6800.
A ratio of 1.68 indicates that the largest observed group variance is meaningfully larger than the smallest observed group variance. However, the practical size of the ratio is not the full statistical decision. The ratio must be compared with a reference distribution or critical value.
Python Chart 4: Monte Carlo Reference Distribution

Detailed interpretation
The Monte Carlo reference distribution shows what F Max values can occur when the null hypothesis of equal population variances is true. The observed value is approximately 1.6800. The simulated 95% critical value is higher than the observed statistic, and the approximate p-value is about .105.
This means the observed statistic is not unusually large under the equal-variance assumption. A ratio at least this large can occur with reasonable frequency due to sampling variation.
Python Chart 5: Group Size and Variance

Detailed interpretation
Hartley’s F Max Test performs best when group sizes are equal or similar. This chart compares each studytime group’s sample size with its variance. It helps identify whether a small group may be producing an unstable variance estimate.
The group-size context matters because unequal sample sizes can make simple variance-ratio interpretation less reliable. In this example, the largest variance is not produced only by the smallest group, which makes the result easier to interpret, but the imbalance still deserves caution.
Python Chart 6: Hartley’s F Max Across Groupings

Detailed interpretation
This chart expands the analysis beyond studytime and shows how F Max values change when G3 is grouped by variables such as school, failures, address, famsize, sex and Pstatus. A higher F Max value indicates a larger difference between the largest and smallest group variance for that grouping structure.
This is useful as a screening view. Variance assumptions are tied to the specific grouping or model being analyzed. A variable that looks acceptable for one grouping can show a stronger variance pattern under another grouping.
Python Chart 7: Normality Context Distribution

Detailed interpretation
This chart shows the distribution of G3 with a normality context overlay. Hartley’s F Max Test assumes that the data inside groups are reasonably normal. The distribution is broadly centered, but it is not perfectly normal, so the variance test should be interpreted with caution.
The chart should be read together with formal and visual normality checks. Salar Cafe recommends combining the histogram with Q-Q plots, P-P plots, and normality tests when writing a full assumption report.
Google AdSense in-content placement reserved here
R Chart-by-Chart Validation
The R charts validate the same conclusion using a separate workflow. This is important for reproducibility because the SPSS, Python and R interpretations all point to the same practical result: the observed F Max is approximately 1.68, and the equal-variance assumption is not rejected at the .05 level.
R Chart 1: Group Spread Boxplots

Detailed interpretation
The R boxplot confirms the same spread pattern shown in Python. Studytime group 3 appears more compact, while other studytime groups show wider spread. This supports the variance ranking used in the F Max calculation.
R Chart 2: Group Variance Comparison

Detailed interpretation
This R chart confirms that studytime group 2 has the largest G3 variance and studytime group 3 has the smallest G3 variance. The same max/min pair drives the Hartley statistic in both Python and R.
R Chart 3: Smallest vs Largest Variance

Detailed interpretation
The chart isolates the two group variances that define the Hartley’s F Max statistic. It confirms that the maximum variance divided by the minimum variance gives an observed ratio close to 1.68.
R Chart 4: Monte Carlo Reference Distribution

Detailed interpretation
The R Monte Carlo chart compares the observed F Max statistic with simulated F Max values under the equal-variance assumption. The observed statistic is below the simulated 95% critical value, and the approximate p-value is around .10.
Small differences between Python and R simulation values can occur because Monte Carlo estimates depend on random simulation. The substantive conclusion remains unchanged.
R Chart 5: Group Size and Variance

Detailed interpretation
This chart validates that studytime groups are not perfectly equal in size. Unequal sample sizes make it important to interpret Hartley’s F Max Test carefully and preferably alongside robust variance tests.
R Chart 6: Hartley’s F Max Across Groupings

Detailed interpretation
The R screening chart confirms that F Max changes across grouping variables. This is important because variance assumptions are model-specific. The grouping variable used in the main analysis should be the one checked for homogeneity.
R Chart 7: Normality Context Distribution

Detailed interpretation
The R normality context chart confirms that G3 is not perfectly normal. Because Hartley’s F Max Test is sensitive to non-normality, this chart provides essential context for the final interpretation.
SPSS, Python, R and Excel Workflows
SPSS Workflow
- Open the cleaned dataset in SPSS.
- Confirm that G3 is numeric and studytime is categorical.
- Use descriptive procedures or aggregation to calculate variance of G3 within each studytime group.
- Identify the largest group variance and smallest group variance.
- Calculate F Max = largest variance / smallest variance.
- Interpret the statistic using a reference table, critical value or Monte Carlo simulation.
- Export the SPSS output PDF for reporting and documentation.
Python Workflow
- Load the dataset using pandas.
- Drop missing values for G3 and studytime.
- Calculate group count, mean, variance and standard deviation.
- Compute the F Max statistic.
- Simulate equal-variance data to build a Monte Carlo reference distribution.
- Create boxplots, variance charts, F Max calculation charts and normality context plots.
- Write the final decision using the observed statistic and p-value.
R Workflow
- Read the dataset with
read.csv(). - Convert studytime to a factor.
- Calculate group variances with
tapply()ordplyr. - Compute
max(variance) / min(variance). - Simulate a Monte Carlo reference distribution.
- Validate the Python and SPSS-style results with R charts.
Excel Workflow
- Place G3 values and studytime group labels in Excel.
- Separate or filter G3 values by studytime group.
- Use
VAR.S()to calculate sample variance for each group. - Use
MAX()andMIN()to find the largest and smallest variance. - Divide the largest variance by the smallest variance.
- Report the F Max statistic and interpret it with a critical value or simulation p-value.
SPSS Syntax, Python Code, R Code and Excel Formulas
SPSS Syntax for Hartley’s F Max Test
* Hartley's F Max Test workflow in SPSS.
* Dataset should include G3 and studytime.
SET PRINTBACK=OFF MPRINT=OFF.
DATASET ACTIVATE DataSet1.
TITLE "Hartley's F Max Test: G3 Variance by Studytime".
FREQUENCIES VARIABLES=studytime.
DESCRIPTIVES VARIABLES=G3
/STATISTICS=MEAN STDDEV VARIANCE MIN MAX.
AGGREGATE
/OUTFILE=* MODE=ADDVARIABLES
/BREAK=studytime
/group_n = N(G3)
/group_mean = MEAN(G3)
/group_sd = SD(G3)
/group_variance = VARIANCE(G3).
SORT CASES BY studytime.
REPORT FORMAT=LIST AUTOMATIC ALIGN(CENTER)
/VARIABLES=studytime group_n group_mean group_sd group_variance
/TITLE "Hartley's F Max Test: Group Variance Summary for G3 by Studytime".
* Manual F Max calculation:
* F Max = largest group_variance / smallest group_variance.
* Example:
* F Max = 10.5179 / 6.2605 = 1.6800.
OUTPUT EXPORT
/CONTENTS EXPORT=VISIBLE LAYERS=PRINTSETTING MODELVIEWS=PRINTSETTING
/PDF DOCUMENTFILE="Hartleys-F-Max-Test-SPSS-Output.pdf"
/EMBEDBOOKMARKS YES
/EMBEDFONTS YES.Python Code for Hartley’s F Max Test
import numpy as np
import pandas as pd
df = pd.read_csv("spss_ready_data.csv")
outcome = "G3"
group = "studytime"
data = df[[outcome, group]].dropna().copy()
summary = (
data.groupby(group)[outcome]
.agg(n="count", mean="mean", variance="var", sd="std")
.reset_index()
)
largest_variance = summary["variance"].max()
smallest_variance = summary["variance"].min()
largest_group = summary.loc[summary["variance"].idxmax(), group]
smallest_group = summary.loc[summary["variance"].idxmin(), group]
fmax = largest_variance / smallest_variance
print(summary)
print("Largest variance group:", largest_group, largest_variance)
print("Smallest variance group:", smallest_group, smallest_variance)
print("Hartley's F Max:", fmax)
# Monte Carlo reference distribution
rng = np.random.default_rng(12345)
group_sizes = summary["n"].to_numpy()
n_sims = 5000
sim_fmax = []
for _ in range(n_sims):
variances = []
for n in group_sizes:
simulated = rng.normal(loc=0, scale=1, size=int(n))
variances.append(np.var(simulated, ddof=1))
sim_fmax.append(max(variances) / min(variances))
sim_fmax = np.array(sim_fmax)
p_value = np.mean(sim_fmax >= fmax)
critical_95 = np.quantile(sim_fmax, 0.95)
print("Monte Carlo p-value:", p_value)
print("Simulated 95% critical value:", critical_95)
if p_value < 0.05:
print("Reject H0: evidence of unequal variances.")
else:
print("Fail to reject H0: no strong evidence of unequal variances.")R Code for Hartley's F Max Test
# Hartley's F Max Test in R
df <- read.csv("spss_ready_data.csv")
outcome <- "G3"
group <- "studytime"
data <- df[, c(outcome, group)]
data <- na.omit(data)
data[[group]] <- as.factor(data[[group]])
group_n <- tapply(data[[outcome]], data[[group]], length)
group_mean <- tapply(data[[outcome]], data[[group]], mean)
group_var <- tapply(data[[outcome]], data[[group]], var)
group_sd <- tapply(data[[outcome]], data[[group]], sd)
summary_table <- data.frame(
group = names(group_var),
n = as.numeric(group_n),
mean = as.numeric(group_mean),
variance = as.numeric(group_var),
sd = as.numeric(group_sd)
)
print(summary_table)
largest_variance <- max(summary_table$variance)
smallest_variance <- min(summary_table$variance)
fmax <- largest_variance / smallest_variance
cat("Largest variance:", largest_variance, "\n")
cat("Smallest variance:", smallest_variance, "\n")
cat("Hartley's F Max:", fmax, "\n")
set.seed(12345)
n_sims <- 5000
group_sizes <- summary_table$n
sim_fmax <- numeric(n_sims)
for (i in seq_len(n_sims)) {
variances <- sapply(group_sizes, function(n) var(rnorm(n, mean = 0, sd = 1)))
sim_fmax[i] <- max(variances) / min(variances)
}
p_value <- mean(sim_fmax >= fmax)
critical_95 <- quantile(sim_fmax, 0.95)
cat("Monte Carlo p-value:", p_value, "\n")
cat("Simulated 95% critical value:", critical_95, "\n")
if (p_value < 0.05) {
cat("Reject H0: evidence of unequal variances.\n")
} else {
cat("Fail to reject H0: no strong evidence of unequal variances.\n")
}Excel Formulas for Hartley's F Max Test
Assume G3 values for four studytime groups are arranged in B:E.
Variance for group 1:
=VAR.S(B2:B213)
Variance for group 2:
=VAR.S(C2:C306)
Variance for group 3:
=VAR.S(D2:D98)
Variance for group 4:
=VAR.S(E2:E36)
Largest variance:
=MAX(B10:E10)
Smallest variance:
=MIN(B10:E10)
Hartley's F Max:
=MAX(B10:E10)/MIN(B10:E10)
Interpretation:
If F Max is close to 1, group variances are similar.
If F Max is large, check a critical value, simulation p-value, Levene test or Brown-Forsythe test.APA Reporting Wording for Hartley's F Max Test
When reporting Hartley's F Max Test, include the outcome variable, grouping variable, largest variance, smallest variance, observed F Max statistic, reference method, p-value and decision. Avoid saying “the null hypothesis is accepted.” The correct phrase is “failed to reject the null hypothesis.”
APA-Style Report
Hartley's F Max Test was used to evaluate the homogeneity of variance assumption for G3 scores across four studytime groups. The largest group variance was approximately 10.5179 and the smallest group variance was approximately 6.2605, producing Fmax = 1.6800. A Monte Carlo reference distribution indicated that the observed statistic was not significant, p ≈ .10. Therefore, the null hypothesis of equal variances was not rejected, suggesting no strong evidence of unequal G3 variances across studytime groups.
Short Report Sentence
Hartley's F Max Test did not indicate a significant variance difference across studytime groups, Fmax = 1.68, p ≈ .10; therefore, the equal-variance assumption was retained for reporting purposes.
Decision Language
Because the p-value is greater than .05, use “fail to reject the null hypothesis”. This means the data do not provide strong evidence of unequal variances. It does not prove that the population variances are exactly equal.
Common Mistakes in Hartley's F Max Test Interpretation
| Mistake | Why It Is a Problem | Correct Practice |
|---|---|---|
| Using standard deviations instead of variances | Hartley's F Max Test is based on sample variances, not standard deviations. | Use variance values or square the standard deviations first. |
| Dividing smallest variance by largest variance | This reverses the formula and produces a value below 1. | Always divide largest variance by smallest variance. |
| Ignoring normality | Hartley's F Max is sensitive to non-normal distributions. | Use histograms, Q-Q plots, P-P plots and normality tests. |
| Using Hartley's F Max with severely unequal groups without caution | The traditional test works best when group sizes are equal or similar. | Report group sizes and consider Levene or Brown-Forsythe tests. |
| Using F Max as a mean comparison test | F Max compares variance, not group means. | Use ANOVA, t-tests or regression for mean differences. |
| Reporting only the p-value | The reader cannot see the size of the variance ratio. | Report largest variance, smallest variance, F Max and decision. |
When to Use Hartley's F Max Test
Use Hartley's F Max Test when you have a continuous outcome variable, several independent groups and a need to check whether the group variances are approximately equal. It is especially useful in teaching, introductory statistics, and transparent assumption checking because the formula is simple and easy to explain.
| Use Case | Why Hartley's F Max Helps | Better Alternative When |
|---|---|---|
| Pre-ANOVA variance screening | Shows whether the largest group variance is much bigger than the smallest. | Use Levene or Brown-Forsythe when normality is doubtful. |
| Teaching equal variance assumptions | The formula is direct and easy to calculate by hand or Excel. | Use simulation when critical tables are not available. |
| Comparing variance across several independent groups | Provides a single max/min variance ratio. | Use robust tests when group sizes are very unequal. |
| Screening multiple categorical grouping variables | Helps identify groupings with large variance differences. | Use model-specific diagnostics before final conclusions. |
For advanced applied work, connect Hartley's F Max Test with broader reporting tools such as effect size, central limit theorem, and clinical trial data analysis using R when the research context involves treatment groups, outcome variability or assumption-sensitive modeling.
Downloads and Resources for Hartley's F Max Test
Use the SPSS output PDF, Python charts and R validation charts below to support your WordPress post, classroom explanation, student assignment, research report or data-analysis service page.
Download SPSS Output PDF
Verified Hartley's F Max Test SPSS output for G3 variance by studytime.
Copy SPSS, Python, R and Excel Code
Use the code section to reproduce the Hartley Fmax workflow.
Python Monte Carlo Chart
Reference distribution for the observed Hartley's F Max statistic.
R Monte Carlo Validation Chart
Independent R validation of the simulation-based decision.
Google AdSense before FAQ placement reserved here
FAQs About Hartley's F Max Test
What is Hartley's F Max Test?
Hartley's F Max Test is a homogeneity of variance test that compares the largest sample variance with the smallest sample variance across independent groups.
What is the formula for Hartley's F Max Test?
The formula is Fmax = largest sample variance / smallest sample variance. In this example, Fmax = 10.5179 / 6.2605 ≈ 1.6800.
What are the null and alternative hypotheses?
The null hypothesis says all population variances are equal. The alternative hypothesis says at least one population variance is different.
How do I interpret Fmax = 1.68?
Fmax = 1.68 means the largest observed group variance is about 1.68 times the smallest observed group variance. In this analysis, the Monte Carlo p-value is about .10, so the result is not significant at .05.
Is Hartley's F Max Test the same as Levene's test?
No. Hartley's F Max Test uses the largest variance divided by the smallest variance. Levene's test uses deviations from group centers and is generally more robust to non-normality.
Can I use Hartley's F Max Test when group sizes are unequal?
You can calculate it, but interpretation should be cautious. Hartley's F Max Test works best when group sizes are equal or similar. With unequal group sizes, Levene's test or Brown-Forsythe test is often preferred.
Does Hartley's F Max Test check normality?
No. Hartley's F Max Test checks equality of variances, not normality. Because it is sensitive to non-normality, normality should be checked separately with histograms, Q-Q plots, P-P plots and formal tests.
What is the conclusion for this example?
The conclusion is to fail to reject the null hypothesis. The observed Hartley's F Max statistic is approximately 1.68 and the Monte Carlo p-value is approximately .10, so there is no strong evidence of unequal G3 variances across studytime groups at α = .05.
