Hyperbolic Secant Distribution.Distribution Function Method
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.7
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.7
Overload List
Distribution | Evaluates the cumulative distribution function (CDF) of this distribution for the specified value. |
Distribution | Evaluates the cumulative distribution function (CDF) for the specified value. |
DistributionFunction(Double)
Evaluates the cumulative distribution function
(CDF) of this distribution for the specified value.
public override double DistributionFunction(
double x
)
Parameters
- x Double
- A real number.
Return Value
DoubleThe value of the cumulative distribution function for the specified value.
Remarks
The distribution function of a distribution, often also called the cumulative distribution function (CDF), gives the probability that a sample from the distribution will be less than or equal to the specified value.
The distribution function is the integral from -infinity to x of the . It is the complement of the SurvivorDistributionFunction(Double).
DistributionFunction(Double, Double, Double)
Evaluates the cumulative distribution function (CDF) for the specified value.
public static double DistributionFunction(
double x,
double location,
double scale
)
Parameters
- x Double
- A real number.
- location Double
- The location parameter of the distribution.
- scale Double
- The scale parameter of the distribution.
Return Value
DoubleThe probability that a random variable from this distribution is less than or equal to x.
Exceptions
Argument | scale is less than or equal to zero. |