Description Usage Arguments Value Examples
normalize_pdf
normalizes a pdf so that the integral of the pdf is equal
to 1
1 | normalize_pdf(x, p_x)
|
x |
a vector corresponding to values of a random variable X (length strictly greater than 1) |
p_x |
a vector containing the density of the RV X at locations |
The normalized pdf
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.