libsim
Versione 7.1.9
|
Compute the average of the random variable provided, taking into account missing data. Continua...
Compute the average of the random variable provided, taking into account missing data.
The result is of type REAL or DOUBLE PRECISION according to the type of sample.
REAL or DOUBLE PRECISION FUNCTION stat_average()
sample(:) | REAL,INTENT(in) or DOUBLE PRECISION,INTENT(in) the variable to be averaged |
mask(:) | LOGICAL,OPTIONAL,INTENT(in) additional mask to be and'ed with missing values |
nomiss | LOGICAL,OPTIONAL,INTENT(in) if provided and .TRUE. it disables all the checks for missing data and empty sample and enables the use of a fast algorithm |
Definizione alla linea 39 del file simple_stat.f90.