Categories &

Functions List

Function Reference: jsupdf

statistics: y = jsupdf (x)

statistics: y = jsupdf (x, alpha1)

statistics: y = jsupdf (x, alpha1, alpha2)

Johnson SU probability density function (PDF).

For each element of x, compute the probability density function (PDF) at x of the Johnson SU distribution with shape parameters alpha1 and alpha2, which is alpha2 * normpdf (alpha1 + alpha2 * asinh (x)) / sqrt (x^2 + 1). The size of y is the common size of the input arguments x, alpha1, and alpha2. A scalar input functions as a constant matrix of the same size as the other inputs.

Default values are alpha1 = 1, alpha2 = 1. alpha2 must be positive; where it is not, the result is NaN.

Input arguments must be double or single; integer, logical, and character arrays are rejected. MATLAB accepts a character array and evaluates it at the character codes, which Octave deliberately does not, since a character array is an integer type and integers are refused too.

See also: jsucdf

Source Code: jsupdf