The attached patch adds the calculation of the skewness, the kurtosis, and the
standard errors of mean, stddev, skewness, and kurtosis to the stats command.
It also changes the calculation formula for the variance to the "corrected two-pass
algorithm", since according to the Numerical Recipes (3rd ed.) the formula used before
"can magnify the roundoff error by large factor and is generally unjustifiable in terms
of computing speed".
Log in to post a comment.