Defines an F-distribution.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=real64), | public | :: | d1 |
The measure of degrees of freedom for the first data set. |
|||
real(kind=real64), | public | :: | d2 |
The measure of degrees of freedom for the second data set. |
Computes the cumulative distribution function.
The CDF for a F distribution is given as F(x)=Id1x/(d1x+d2)(d12,d22).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(f_distribution), | intent(in) | :: | this |
The f_distribution object. |
||
real(kind=real64), | intent(in) | :: | x |
The value at which to evaluate the function. |
The value of the function.
Gets the defined range for the distribution.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(f_distribution), | intent(in) | :: | this |
The f_distribution object. |
The defined range of the probability distributions [0, infinity). As using a value of infinity may cause issue, this routine returns huge(0.0d0) instead.
Computes the mean of the distribution.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(f_distribution), | intent(in) | :: | this |
The f_distribution object. |
The mean.
Computes the median of the distribution.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(f_distribution), | intent(in) | :: | this |
The f_distribution object. |
The median.
Computes the mode of the distribution.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(f_distribution), | intent(in) | :: | this |
The f_distribution object. |
The mode.
Computes the probability density function.
The PDF for a F distribution is given as f(x)=√(d1x)d1dd22(d1x+d2)d1+d21xβ(d12,d22).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(f_distribution), | intent(in) | :: | this |
The f_distribution object. |
||
real(kind=real64), | intent(in) | :: | x |
The value at which to evaluate the function. |
The value of the function.
Recenters the distribution about the supplied value.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(f_distribution), | intent(inout) | :: | this |
The f_distribution object. |
||
real(kind=real64), | intent(in) | :: | x |
The value about which to recenter. |
Computes the standardized variable for the distribution.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(distribution), | intent(in) | :: | this |
The distribution object. |
||
real(kind=real64), | intent(in) | :: | x |
The value of interest. |
The result.
Computes the variance of the distribution.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(f_distribution), | intent(in) | :: | this |
The f_distribution object. |
The variance.