libsim
Versione7.2.3
|
Compute a set of percentiles for a random variable. Continua...
Compute a set of percentiles for a random variable.
The result is a 1-d array of the same size as the array of percentile values provided. Percentiles are computed by linear interpolation. The result is of type REAL or DOUBLE PRECISION according to the type of sample.
REAL or DOUBLE PRECISION FUNCTION stat_percentile()
sample(:) | REAL,INTENT(in) or DOUBLE PRECISION,INTENT(in) the variable for which percentiles have to be computed |
perc_vals(:) | REAL,INTENT(in) or DOUBLE PRECISION,INTENT(in) the percentiles values to be computed, between 0. and 100. |
mask(:) | LOGICAL,OPTIONAL,INTENT(in) additional mask to be and'ed with missing values |
Definizione alla linea 121 del file simple_stat.f90.