# HG changeset patch # User Julien Bect # Date 1381173036 -7200 # Node ID a53a97faf61a6bb797fdebc3d1c9ef90301b75ba # Parent c3aadd228c3713dfddbadebf98eb9d149c2a6034 skewness.m: Fix comment * scripts/statistics/base/skewness.m: Fix comment diff -r c3aadd228c37 -r a53a97faf61a scripts/statistics/base/skewness.m --- a/scripts/statistics/base/skewness.m Mon Oct 07 13:01:25 2013 -0700 +++ b/scripts/statistics/base/skewness.m Mon Oct 07 21:10:36 2013 +0200 @@ -117,7 +117,7 @@ y(idx) ./= (n * s(idx) .^ 3); y(! idx) = NaN; - ## Apply bias correction to the third central sample moment + ## Apply bias correction to the second and third central sample moment if (flag == 0) if (n > 2) y *= sqrt (n * (n - 1)) / (n - 2); @@ -165,4 +165,3 @@ %!error skewness (1, [], 1.5) %!error skewness (1, [], 0) %!error skewness (1, [], 3) -