Function Reference: logistic_pdf

statistics: y = logistic_pdf (x)
statistics: y = logistic_pdf (x, mu)
statistics: y = logistic_pdf (x, mu, scale)

Logistic probability density function (PDF).

For each element of x, compute the PDF at x of the logistic distribution with mean mu and scale parameter scale. The size of y is the common size of x, mu, and scale. A scalar input functions as a constant matrix of the same size as the other inputs.

Default values are mu = 0, scale = 1. Both parameters must be reals and beta > 0. For beta <= 0, NaN is returned.

See also: logistic_cdf, logistic_inv, logistic_rnd

Source Code: logistic_pdf