ANOVA F Score Calculator

Quantify class-wise signal strength for every numeric predictor. Review means, sums, p-values, and effect size. Build cleaner datasets with confident evidence driven feature ranking.

Enter Feature Values by Class

Paste one numeric feature across target classes. Separate values with commas, spaces, or new lines.

Leave unused classes empty.
Leave unused classes empty.
Leave unused classes empty.
Leave unused classes empty.
Leave unused classes empty.
Leave unused classes empty.

Example Data Table

Use this sample to test the calculator. It represents one numeric feature measured across three target classes.

Class Observations
Spam 7.2, 6.8, 7.5, 6.9, 7.1
Promotions 5.8, 5.9, 6.1, 6.0, 5.7
Personal 8.2, 8.0, 7.9, 8.4, 8.1

Formula Used

Grand Mean: \( \bar{x} = \frac{\sum x}{N} \)

Between Class Sum of Squares: \( SSB = \sum n_i(\bar{x_i} - \bar{x})^2 \)

Within Class Sum of Squares: \( SSW = \sum \sum (x_{ij} - \bar{x_i})^2 \)

Degrees of Freedom: \( df_{between} = k - 1 \), \( df_{within} = N - k \)

Mean Squares: \( MSB = \frac{SSB}{df_{between}} \), \( MSW = \frac{SSW}{df_{within}} \)

ANOVA F Score: \( F = \frac{MSB}{MSW} \)

Effect Size: \( \eta^2 = \frac{SSB}{SST} \)

In machine learning feature selection, a larger F score usually indicates stronger discrimination between classes for that numeric feature.

How to Use This Calculator

  1. Enter a feature name so the output stays organized.
  2. Choose the significance level, such as 0.05.
  3. Paste one class label and its numeric observations into each active class box.
  4. Use commas, spaces, or line breaks to separate numbers.
  5. Submit the form to calculate F score, p value, critical F, and effect size.
  6. Review the ANOVA table, class summary table, and Plotly graph.
  7. Download your results as CSV or PDF for reporting.
  8. For feature ranking, repeat the process for each numeric feature and compare F scores.

FAQs

1) What does the ANOVA F score show in machine learning?

It measures how strongly a numeric feature separates target classes. A larger F score means between-class differences are large relative to within-class variation.

2) When should I use this calculator?

Use it during filter-based feature selection for classification tasks, especially when you want quick evidence about whether class means differ for one numeric predictor.

3) Can I compare many features with this page?

Yes. Run one feature at a time, record each F score, and compare the results. Higher scores often point to more informative predictors.

4) What does the p value mean here?

The p value estimates how likely your observed class differences would appear if all class means were actually equal. Smaller values suggest stronger evidence.

5) Why does the calculator show critical F?

Critical F gives a threshold based on your significance level and degrees of freedom. When the computed F exceeds that threshold, class separation is statistically significant.

6) What is eta squared?

Eta squared is an effect size. It shows how much of the total feature variance is explained by class membership, helping you judge practical importance.

7) Are there assumptions behind one-way ANOVA?

Yes. Observations should be independent, groups should be approximately normal, and variances should be reasonably similar. Severe violations can weaken conclusions.

8) What if one class has only one observation?

The calculator can still process data if overall degrees of freedom remain valid, but very small groups reduce reliability. More observations usually produce better estimates.

Related Calculators

tf idf calculatorequal width binning calculatorz score normalization calculatorprincipal component calculatorz score outlier calculatormin max normalization calculatorbinary encoding calculatorone hot encoding calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.