Hostname: page-component-74656f9884-kv2lp Total loading time: 0 Render date: 2026-11-06T08:45:17.999Z Has data issue: false hasContentIssue false

Is p-value $<$ 0.05 enough? A study on the statistical evaluation of classifiers

Published online by Cambridge University Press:  27 November 2020

Nadine M. Neumann
Affiliation:
Instituto de Computação, Universidade Federal Fluminense, Niterói, RJ, Brazil e-mails: nadinemelloni@id.uff.br, plastino@ic.uff.br
Alexandre Plastino
Affiliation:
Instituto de Computação, Universidade Federal Fluminense, Niterói, RJ, Brazil e-mails: nadinemelloni@id.uff.br, plastino@ic.uff.br
Jony A. Pinto Junior
Affiliation:
Departamento de Estatística, Universidade Federal Fluminense, Niterói, RJ, Brazil e-mail: jarrais@id.uff.br
Alex A. Freitas
Affiliation:
School of Computing, University of Kent, Canterbury, Kent, UK e-mail: a.a.freitas@kent.ac.uk
Rights & Permissions [Opens in a new window]

Abstract

Statistical significance analysis, based on hypothesis tests, is a common approach for comparing classifiers. However, many studies oversimplify this analysis by simply checking the condition p-value < 0.05, ignoring important concepts such as the effect size and the statistical power of the test. This problem is so worrying that the American Statistical Association has taken a strong stand on the subject, noting that although the p-value is a useful statistical measure, it has been abusively used and misinterpreted. This work highlights problems caused by the misuse of hypothesis tests and shows how the effect size and the power of the test can provide important information for better decision-making. To investigate these issues, we perform empirical studies with different classifiers and 50 datasets, using the Student’s t-test and the Wilcoxon test to compare classifiers. The results show that an isolated p-value analysis can lead to wrong conclusions and that the evaluation of the effect size and the power of the test contributes to a more principled decision-making.

Information

Type
Research Article
Copyright
© The Author(s), 2020. Published by Cambridge University Press
Figure 0

Table 1 Values for the interpretation of Cohen’s d measure of effect size

Figure 1

Table 2 Values for the interpretation of the measure r of effect size

Figure 2

Table 3 Accuracy (%) obtained in each cross-validation fold for each classifier

Figure 3

Figure 1 Curves for the power of the test with several n (sample size) values

Figure 4

Table 4 Percentage of applied t-tests in which the p-value fell with the increase in sample size (from 10 to 20, from 10 to 30 and from 20 to 30)

Figure 5

Table 5 Percentages of results where the conclusion changed as the sample size increased, when using the t-test

Figure 6

Figure 2 Representation of the p-values for t-tests applied to samples sized 10, 20 and 30, and the respective values of effect size—the cases in the shadowed areas represent the special cases

Figure 7

Table 6 Percentage of datasets with no statistical significance in the t-test and with a medium effect size, and percentage of datasets with statistical significance and small effect size, for each pair of classifiers, per sample size

Figure 8

Table 7 Power of the t-test, p-value and effect size, when comparing SVM’s and 1-NN’s accuracies in the ‘Contraceptive Method Choice’ dataset

Figure 9

Figure 3 Boxplots for the power of the t-test, per group and sample size

Figure 10

Table 8 Percentage of applied Wilcoxon tests in which the p-value fell with the increase in sample size (from 10 to 20, from 10 to 30 and from 20 to 30)

Figure 11

Table 9 Percentages of results where the conclusion changed as the sample size increased, using Wilcoxon test

Figure 12

Figure 4 Representation of the p-values for Wilcoxon tests applied to samples sized 10, 20 and 30, and the respective values of effect size—the cases in the shadowed areas represent the special cases

Figure 13

Table 10 Percentage of datasets with no statistical significance in the Wilcoxon test and with a medium effect size, and percentage of datasets with statistical significance and small effect size, for each pair of classifiers, per sample size

Figure 14

Table 11 Power of the Wilcoxon test, p-value and effect size, when comparing SVM’s and 1-NN’s accuracies in the ‘Contraceptive Method Choice’ dataset

Figure 15

Figure 5 Boxplots for the power of the Wilcoxon test, per group and sample size

Figure 16

Table 12 A 2 × 2 matrix summarizing the main findings of the paper