Probabilities.LogisticPDF Method

Overload List

#SignatureDescription
1procedure LogisticPDF(const X: TDenseMtxVec; m: Double; b: Double; const Res: TDenseMtxVec);Logistic PDF (vectorized).
2function LogisticPDF(x: Double; m: Double; b: Double): Double;Logistic probability density function (PDF).

Overload 1: procedure LogisticPDF(const X: TDenseMtxVec; m: Double; b: Double; const Res: TDenseMtxVec);

Logistic PDF (vectorized).

#NameDescription
1XDefines distribution domain, real vector or matrix.
2mDistribution location parameter, real value.
3bDistribution scale parameter, real positive value.
4ResAfter calculation stores the PDF calculated from X, m and b. Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of X.

Result: stored in self (calling object)

Overload 2: function LogisticPDF(x: Double; m: Double; b: Double): Double;

Logistic probability density function (PDF).

#NameDescription
1xFunction domain, real value.
2mDistribution location parameter, real value.
3bDistribution scale parameter, real positive value.

Returns: Double - the logistic probability density function (PDF) for value x using the parameters m and b. For b <= 0 the result is NAN.

Remarks:

The logistic probability density function is

PDF(x| m,b)=(exp(-(x-m)/b))/(b(1+exp(-(x-m)/b))^2)

Domain: x any real value, location m any real value, scale b > 0. For b <= 0 the result is NAN.

See Also: Probabilities.LogisticCDF, Probabilities.LogisticCDFInv