CCG_TMN3x

Forms the n-trimmed mean of the given set of ordered data. This variant does not process variances

Description:

The routine forms the trimmed mean of the given dataset. The IGNORE upper and lower ordered values are removed from consideration. Then the remaining values are added and averaged. The values not rejected are indicated by setting the flags in array used.

Invocation

CALL CCG1_TMN3x( IGNORE, EL, ORDDAT, USED, TMEAN, STATUS )

Arguments

EL = INTEGER (Given)
The number of entries in ORDDAT.
IGNORE = INTEGER (Given)
The number of values to ignore from the upper and lower orders.
ORDDAT( EL ) = ? (Given)
The set of ordered data for which a trimmed mean is required.
USED( EL ) = LOGICAL (Returned)
Flags showing which values have not been rejected.
TMEAN = DOUBLE PRECISION (Returned)
The trimmed mean.
STATUS = INTEGER (Given and Returned)
The global status.

Notes: