density_X x
For a discrete probability distribution, this returns values of of the probability mass function of the distribution, i.e., \(f_X(x) = P(X = x)\).
|
|
|
For a continuous probability distribution, this returns values of the probability density function of the distribution, i.e., the integrand in \(\int_a^b f_X(x)\,dx = P(a\leq X \leq b)\).
|
|
|
|
|
|
The object density is a method function.