Description Usage Arguments References Examples
Bayesian kernel density estimation
1 2 | bayesDensity(x, bw = bw.nrd(x), m = 512, nsim = 5000, n = 512,
alpha = 0.95, na.rm = TRUE)
|
x |
numeric vector. |
bw |
the smoothing bandwidth to be used. |
m |
size of the grid used for calculating density. |
nsim |
number of simulated draws. |
n |
the number of equally spaced points at which the density is to be estimated. |
alpha |
confidence level of the interval. |
na.rm |
logical; if |
Sibisi, S., & Skilling, J. (1996). Bayesian Density Estimation. In Maximum Entropy and Bayesian Methods (pp. 189-198). Springer.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.