fsml_quantile Interface

public interface fsml_quantile

Computes the quantile value for a given dataset (array). Uses Hyndman & Fan (1996) type 7 percentile definition:

where , and .

Calls

interface~~fsml_quantile~~CallsGraph interface~fsml_quantile fsml_quantile proc~f_sts_quantile f_sts_quantile interface~fsml_quantile->proc~f_sts_quantile proc~f_sts_quantile_core f_sts_quantile_core proc~f_sts_quantile->proc~f_sts_quantile_core proc~f_utl_assign_nan f_utl_assign_nan proc~f_sts_quantile->proc~f_utl_assign_nan proc~s_err_print s_err_print proc~f_sts_quantile->proc~s_err_print proc~s_utl_sort s_utl_sort proc~f_sts_quantile_core->proc~s_utl_sort proc~s_utl_sort->proc~f_utl_assign_nan

Module Procedures

public impure function f_sts_quantile(x, p) result(q)

Impure wrapper for f_sts_quantile_core.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: x(:)

data vector (assumed size array)

real(kind=wp), intent(in) :: p

desired percentile

Return Value real(kind=wp)

quantile value