Probability density function for the chi-squared distribution.
Uses intrinsic exp and gamma function.
where = degrees of freedom (df
) and is the gamma function.
Impure wrapper function for f_dst_chi2_pdf_core
.
Handles optional arguments and invalid values for arguments.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | x |
sample position |
||
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 |
resulting PDF value