Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: median - Function Up: mathematics - Module Previous: skew - Function


kurtosis - Function



Package utility
Module mathematics


Calculate the kurtosis of a set of numbers


Synopsis
kurtosis(dots, assumed_mean)


Description
This is a more convenient front end to moments. The kurtosis is the fourth moment.

You can tell it to assume a mean rather than calculating it if desired. NB: The assumed_mean argument must be explicitly indicated as in the example below ('assumed_mean=0', not just '0'); otherwise, the value specified will simply be included in the list of samples.



Arguments

dots   The numbers to perform statistics on
assumed_mean   If numeric, assume the mean is this value rather than calculating it; if used, parameter name must be explicitly specified
    Allowed: numeric scalar
    Default: [=]


Returns
the kurtosis


Example
      - include "statistics.g"
      - kurtosis(1:100)
      -1.23606
      - kurtosis(1:100,assumed_mean=50)   # instead of 50.5
      -1.23535


See Also
moments



next up previous contents index
Next: median - Function Up: mathematics - Module Previous: skew - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15