For each random variable distribution, the module includes four corresponding functions (if well-defined).
E.g., for gaussian
distribution, there are four functions as follows:
gaussian_P
: calculates CDF of the distribution, i.e., P(X <= x);gaussian_Q
: calculates tail distribution Q (X > x), i.e., 1 - P (X <= x);gaussian_Pinv
: the inverse function of P, also a.k.a percentile function;gaussian_Qinv
: the inverse function of Q.
Please refer to GSL documentation for details.
Continuous random variables
val flat_P : float -> float -> float -> float
val flat_Q : float -> float -> float -> float
val flat_Pinv : float -> float -> float -> float
val flat_Qinv : float -> float -> float -> float
val gaussian_P : float -> float -> float
val gaussian_Q : float -> float -> float
val gaussian_Pinv : float -> float -> float
val gaussian_Qinv : float -> float -> float
val exponential_P : float -> float -> float
val exponential_Q : float -> float -> float
val exponential_Pinv : float -> float -> float
val exponential_Qinv : float -> float -> float
val laplace_P : float -> float -> float
val laplace_Q : float -> float -> float
val laplace_Pinv : float -> float -> float
val laplace_Qinv : float -> float -> float
val exppow_P : float -> float -> float -> float
val exppow_Q : float -> float -> float -> float
val cauchy_P : float -> float -> float
val cauchy_Q : float -> float -> float
val cauchy_Pinv : float -> float -> float
val cauchy_Qinv : float -> float -> float
val rayleigh_P : float -> float -> float
val rayleigh_Q : float -> float -> float
val rayleigh_Pinv : float -> float -> float
val rayleigh_Qinv : float -> float -> float
val gamma_P : float -> float -> float -> float
val gamma_Q : float -> float -> float -> float
val gamma_Pinv : float -> float -> float -> float
val gamma_Qinv : float -> float -> float -> float
val lognormal_P : float -> float -> float -> float
val lognormal_Q : float -> float -> float -> float
val lognormal_Pinv : float -> float -> float -> float
val lognormal_Qinv : float -> float -> float -> float
val chisq_P : float -> float -> float
val chisq_Q : float -> float -> float
val chisq_Pinv : float -> float -> float
val chisq_Qinv : float -> float -> float
val fdist_P : float -> float -> float -> float
val fdist_Q : float -> float -> float -> float
val fdist_Pinv : float -> float -> float -> float
val fdist_Qinv : float -> float -> float -> float
val tdist_P : float -> float -> float
val tdist_Q : float -> float -> float
val tdist_Pinv : float -> float -> float
val tdist_Qinv : float -> float -> float
val beta_P : float -> float -> float -> float
val beta_Q : float -> float -> float -> float
val beta_Pinv : float -> float -> float -> float
val beta_Qinv : float -> float -> float -> float
val logistic_P : float -> float -> float
val logistic_Q : float -> float -> float
val logistic_Pinv : float -> float -> float
val logistic_Qinv : float -> float -> float
val pareto_P : float -> float -> float -> float
val pareto_Q : float -> float -> float -> float
val pareto_Pinv : float -> float -> float -> float
val pareto_Qinv : float -> float -> float -> float
val weibull_P : float -> float -> float -> float
val weibull_Q : float -> float -> float -> float
val weibull_Pinv : float -> float -> float -> float
val weibull_Qinv : float -> float -> float -> float
val gumbel1_P : float -> float -> float -> float
val gumbel1_Q : float -> float -> float -> float
val gumbel1_Pinv : float -> float -> float -> float
val gumbel1_Qinv : float -> float -> float -> float
val gumbel2_P : float -> float -> float -> float
val gumbel2_Q : float -> float -> float -> float
val gumbel2_Pinv : float -> float -> float -> float
val gumbel2_Qinv : float -> float -> float -> float
Discrete random variables
val poisson_P : int -> float -> float
val poisson_Q : int -> float -> float
val binomial_P : int -> float -> int -> float
val binomial_Q : int -> float -> int -> float
val negative_binomial_P : int -> float -> float -> float
val negative_binomial_Q : int -> float -> float -> float
val pascal_P : int -> float -> int -> float
val pascal_Q : int -> float -> int -> float
val geometric_P : int -> float -> float
val geometric_Q : int -> float -> float
val hypergeometric_P : int -> int -> int -> int -> float
val hypergeometric_Q : int -> int -> int -> int -> float