Probabilities.PowerPDF Method

Overload List

#SignatureDescription
1void PowerPDF(TDenseMtxVec X, Double alpha, Double beta, TDenseMtxVec Res)Power distribution PDF (vectorized).
2Double PowerPDF(Double x, Double alpha, Double beta)Power distribution probability density function (PDF).

Overload 1: void PowerPDF(TDenseMtxVec X, Double alpha, Double beta, TDenseMtxVec Res)

Power distribution PDF (vectorized).

#NameDescription
1XDistribution domain, positive real values on closed interval [0,1/beta].
2alphaDistribution shape parameter, real positive value..
3betaDistribution scale parameter, positive real number.
4ResAfter calculation stores the PDF calculated from X, alpha and beta. 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: Double PowerPDF(Double x, Double alpha, Double beta)

Power distribution probability density function (PDF).

#NameDescription
1xFunction domain, real value on closed interval [0, 1/beta].
2alphaDistribution shape parameter, real positive value.
3betaDistribution scale parameter, positive real value.

Returns: Double - Power distribution PDF, evaluated at x using parameters alpha and beta. alpha and beta must be positive and 0 <= x <= 1/beta, otherwise the result is NAN.

Remarks:

The power-function distribution probability density function is

PDF(x| alpha,beta)=alpha beta^(alpha) x^(alpha-1), 0 <= x <= 1/beta

Domain: 0 <= x <= 1/beta, alpha > 0, beta > 0. Outside this range (or for non-positive alpha or beta) the result is NAN.

See Also: Probabilities.PowerCDF, Probabilities.PowerCDFInv