MOMENT4
Name
moment4
Purpose (one Line)
Compute various statistical moments of the data.
Description
This routine computes the average, average deviation, standard
deviation, variance, skew and kurtosis of the input data. The various
output quantities are always returned as floating point scalars.
The statistics are compute with no regard for the dimensionality of
the input data.
Category
Statistics
Calling Sequence
moment4,data,avg,avgdev,stddev,var,skew,kurt
Inputs
data - Input data to be analyzed.
Optional Input Parameters
None.
Keyword Parameters
None.
Outputs
avg - Sample mean.
avgdev - Average deviation of the data from the mean.
stddev - Standard deviation of the data from the mean.
var - Variance of the data from the mean.
skew - Skewness, third statistical moment.
kurt - Kurtosis, fourth statistical moment.
Common Blocks
None.
Side Effects
None.
Restrictions
None.
Procedure
Modification History
Written by Marc W. Buie, Lowell Observatory, 1992 Jan 20
1997/09/06, MWB, changed name from moment to avoid name conflict.
2000/11/2, MWB, modified to use the IDL system function moment. This
routine really does nothing more than rewrap the IDL function.