Defines the interface for a probability distribution function.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(distribution), | intent(in) | :: | this |
The distribution object. |
||
| real(kind=real64), | intent(in) | :: | x |
The value at which to evaluate the function. |
The value of the function.
Computes the value of a distribution property.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(distribution), | intent(in) | :: | this |
The distribution object. |
The property value.
Recenters the distribution about the supplied value.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(distribution), | intent(inout) | :: | this |
The distribution object. |
||
| real(kind=real64), | intent(in) | :: | x |
The value about which to recenter. |
Defines an interface for a multivariate probability distribution function.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(multivariate_distribution), | intent(in) | :: | this |
The distribution object. |
||
| real(kind=real64), | intent(in), | dimension(:) | :: | x |
The values at which to evaluate the function. |
The value of the function.
Defines a binomial distribution. The binomial distribution describes the probability p of getting k successes in n independent trials.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=int32), | public | :: | n |
The number of independent trials. |
|||
| real(kind=real64), | public | :: | p |
The success probability for each trial. This parameter must exist on the set [0, 1]. |
| procedure , public :: cdf => bd_cdf Function | |
| procedure , public :: defined_range => bd_range Function | |
| procedure , public :: mean => bd_mean Function | |
| procedure , public :: median => bd_median Function | |
| procedure , public :: mode => bd_mode Function | |
| procedure , public :: pdf => bd_pdf Function | |
| procedure , public :: recenter => bd_recenter Subroutine | |
| procedure , public :: standardized_variable => dist_std_var Function | |
| procedure , public :: variance => bd_variance Function |
Defines a Chi-squared distribution.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=int32), | public | :: | dof |
The number of degrees of freedom. |
| procedure , public :: cdf => cs_cdf Function | |
| procedure , public :: defined_range => cs_range Function | |
| procedure , public :: mean => cs_mean Function | |
| procedure , public :: median => cs_median Function | |
| procedure , public :: mode => cs_mode Function | |
| procedure , public :: pdf => cs_pdf Function | |
| procedure , public :: recenter => cs_recenter Subroutine | |
| procedure , public :: standardized_variable => dist_std_var Function | |
| procedure , public :: variance => cs_variance Function |
Defines a probability distribution.
| procedure (distribution_function) , public , pass :: cdf | |
| procedure , public :: defined_range => dist_defined_range Function | |
| procedure (distribution_property) , public , pass :: mean | |
| procedure (distribution_property) , public , pass :: median | |
| procedure (distribution_property) , public , pass :: mode | |
| procedure (distribution_function) , public , pass :: pdf | |
| procedure (distribution_recenter) , public , pass :: recenter | |
| procedure , public :: standardized_variable => dist_std_var Function | |
| procedure (distribution_property) , public , pass :: variance |
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. |
| procedure , public :: cdf => fd_cdf Function | |
| procedure , public :: defined_range => fd_range Function | |
| procedure , public :: mean => fd_mean Function | |
| procedure , public :: median => fd_median Function | |
| procedure , public :: mode => fd_mode Function | |
| procedure , public :: pdf => fd_pdf Function | |
| procedure , public :: recenter => fd_recenter Subroutine | |
| procedure , public :: standardized_variable => dist_std_var Function | |
| procedure , public :: variance => fd_variance Function |
Defines a normal distribution.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=real64), | public | :: | mean_value |
The mean value of the distribution. |
|||
| real(kind=real64), | public | :: | standard_deviation |
The standard deviation of the distribution. |
| procedure , public :: cdf => lnd_cdf Function | |
| procedure , public :: defined_range => lnd_range Function | |
| procedure , public :: mean => lnd_mean Function | |
| procedure , public :: median => lnd_median Function | |
| procedure , public :: mode => lnd_mode Function | |
| procedure , public :: pdf => lnd_pdf Function | |
| procedure , public :: recenter => lnd_recenter Subroutine | |
| procedure , public :: standardized_variable => dist_std_var Function | |
| procedure , public :: variance => lnd_variance Function |
Defines a multivariate probability distribution.
| procedure (multivariate_distribution_function) , public , pass :: pdf | Computes the probability density function. |
Defines a multivariate normal (Gaussian) distribution.
| procedure , public :: get_cholesky_factored_matrix => mvnd_get_cholesky Function | |
| procedure , public :: get_covariance => mvnd_get_covariance Function | |
| procedure , public :: get_means => mvnd_get_means Function | |
| procedure , public :: initialize => mvnd_init Subroutine | |
| procedure , public :: pdf => mvnd_pdf Function | |
| procedure , public :: set_means => mvnd_update_mean Subroutine |
Defines a normal distribution.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=real64), | public | :: | mean_value |
The mean value of the distribution. |
|||
| real(kind=real64), | public | :: | standard_deviation |
The standard deviation of the distribution. |
| procedure , public :: cdf => nd_cdf Function | |
| procedure , public :: defined_range => dist_defined_range Function | |
| procedure , public :: mean => nd_mean Function | |
| procedure , public :: median => nd_median Function | |
| procedure , public :: mode => nd_mode Function | |
| procedure , public :: pdf => nd_pdf Function | |
| procedure , public :: recenter => nd_recenter Subroutine | |
| procedure , public :: standardize => nd_standardize Subroutine | |
| procedure , public :: standardized_variable => dist_std_var Function | |
| procedure , public :: variance => nd_variance Function |
Defines a Poisson distribution.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=real64), | public | :: | occrence_rate |
The rate of occurrences. |
| procedure , public :: cdf => pd_cdf Function | |
| procedure , public :: defined_range => pd_range Function | |
| procedure , public :: mean => pd_mean Function | |
| procedure , public :: median => pd_median Function | |
| procedure , public :: mode => pd_mode Function | |
| procedure , public :: pdf => pd_pdf Function | |
| procedure , public :: recenter => pd_recenter Subroutine | |
| procedure , public :: standardized_variable => dist_std_var Function | |
| procedure , public :: variance => pd_variance Function |
Defines Student's T-Distribution.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=real64), | public | :: | dof |
The number of degrees of freedom. |
| procedure , public :: cdf => td_cdf Function | |
| procedure , public :: defined_range => dist_defined_range Function | |
| procedure , public :: mean => td_mean Function | |
| procedure , public :: median => td_median Function | |
| procedure , public :: mode => td_mode Function | |
| procedure , public :: pdf => td_pdf Function | |
| procedure , public :: recenter => td_recenter Subroutine | |
| procedure , public :: standardized_variable => dist_std_var Function | |
| procedure , public :: variance => td_variance Function |