Function DistributionDensity(distribution, x)

DistributionDensity

The function DistributionDensity computes the density of a given distribution.

DistributionDensity(
           distribution,            ! (input) distribution
           x                        ! (input) numerical expression
           )

Arguments

distribution

An expression representing any distribution (such as Normal(0,1)).

x

A scalar numerical expression.

Return Value

The function DistributionDensity(distribution,\(x\)), for \(x\in(-\infty,\infty)\) returns the expected density around \(x\) of sample points from distribution. It is the derivative of DistributionCumulative(distr,x).

See also

The functions DistributionCumulative, DistributionInverseDensity. The function DistributionDensity is discussed in full detail in Discrete Distributions of the Language Reference.