summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2015-06-26 18:19:42 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2015-06-27 16:04:07 +0100
commit17ed69fbb817bff6f76d3e3beffc2fd30abdf187 (patch)
treed9ca02643a3b56e3a01f89753a0c44d6740963c4 /lib
parentda123adeae70863c967e14035f272b89371a5fd5 (diff)
stats: Add a note about the standard deviation derived from unbiased variance
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/igt_stats.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/igt_stats.c b/lib/igt_stats.c
index 12cabba0..bd055503 100644
--- a/lib/igt_stats.c
+++ b/lib/igt_stats.c
@@ -121,6 +121,11 @@ bool igt_stats_is_population(igt_stats_t *stats)
* [Bessel's correction](https://en.wikipedia.org/wiki/Bessel%27s_correction)
* to the variance.
*
+ * Note that even if we manage to have an unbiased variance by multiplying
+ * a sample variance by the Bessel's correction, n/(n - 1), the standard
+ * deviation derived from the unbiased variance isn't itself unbiased.
+ * Statisticians talk about a "corrected" standard deviation.
+ *
* When giving #true to this function, the data set in @stats is considered a
* full population. It's considered a sample of a bigger population otherwise.
*