Description Usage Arguments Details Value Author(s) References
Zero bounded density using log density transform
1 | zero.bounded.density(x, bw = "SJ")
|
x |
|
bw |
The smoothing bandwidth to be used. See 'bw.nrd' |
Provides a zero bounded density estimate of a parameter.
Kernel Density Estimation used by the
stats::density
function will cause problems
at the left hand end because it will put some weight on
negative values. One useful approach is to transform to
logs, estimate the density using KDE, and then transform
back.
data frame with back-transformed log density estimate
M. P. Wand, J. S. Marron and D. Ruppert, 1991. Transformations in Density Estimation. Journal of the American Statistical Association. 86(414):343-353 http://www.jstor.org/stable/2290569
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.