Mercurial > hg > octave-nkf
changeset 17590:a53a97faf61a
skewness.m: Fix comment
* scripts/statistics/base/skewness.m: Fix comment
author | Julien Bect <julien.bect@supelec.fr> |
---|---|
date | Mon, 07 Oct 2013 21:10:36 +0200 |
parents | c3aadd228c37 |
children | 7c479b7d3aab |
files | scripts/statistics/base/skewness.m |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/statistics/base/skewness.m +++ b/scripts/statistics/base/skewness.m @@ -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 <DIM must be an integer> skewness (1, [], 1.5) %!error <DIM must be .* a valid dimension> skewness (1, [], 0) %!error <DIM must be .* a valid dimension> skewness (1, [], 3) -