Skip to main content

Density

Computes the probability density function of a random variable X. Although if no parameters are provided the command show the corresponding formula, the values are calculated internally by other algorithms.

Syntax

density(Random_variable, Real)

Description

Given a random variable XX and a real number x, computes the probability density function of XX evaluated at point xx, fX(x).

statistics.density.calc.png
statistics.density.plotter0.calc.png