fsml_chi2_ppf Interface

public interface fsml_chi2_ppf

Percent point function/quantile function for the chi-squared distribution. Uses the bisection method for numerical inversion of the CDF.

Calls

interface~~fsml_chi2_ppf~~CallsGraph interface~fsml_chi2_ppf fsml_chi2_ppf proc~f_dst_chi2_ppf f_dst_chi2_ppf interface~fsml_chi2_ppf->proc~f_dst_chi2_ppf proc~f_dst_chi2_ppf_core f_dst_chi2_ppf_core proc~f_dst_chi2_ppf->proc~f_dst_chi2_ppf_core proc~s_err_print s_err_print proc~f_dst_chi2_ppf->proc~s_err_print proc~s_err_warn s_err_warn proc~f_dst_chi2_ppf->proc~s_err_warn proc~f_dst_chi2_cdf_core f_dst_chi2_cdf_core proc~f_dst_chi2_ppf_core->proc~f_dst_chi2_cdf_core proc~f_utl_r2c f_utl_r2c proc~s_err_print->proc~f_utl_r2c proc~f_dst_gammai_core f_dst_gammai_core proc~f_dst_chi2_cdf_core->proc~f_dst_gammai_core

Module Procedures

public impure function f_dst_chi2_ppf(p, df, loc, scale) result(x)

Impure wrapper function for f_dst_chi2_ppf_core. Handles optional arguments and invalid values for arguments.

Arguments

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

probability between 0.0 and 1.0

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

degrees of freedom

real(kind=wp), intent(in), optional :: loc

location parameter

real(kind=wp), intent(in), optional :: scale

scale parameter

Return Value real(kind=wp)

sample position