Description Usage Arguments Value Author(s)
Calculates the log density of a univariate truncated normal variable
1 |
x |
A random variable |
mu |
The mean parameter of the distribution; NOTE this is not equal to the mean |
sd |
The standard deviation parameter of the distribution |
MIN |
Value at which the truncation takes place |
Numeric; log density of the distribution, or -1e15 if the x < MIN
Alexey Shiklomanov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.