Description Usage Arguments Value Author(s) Examples
This function estimates the density of the given data.
1 | Density(x,d,h,method = "naive")
|
x |
numeric variable |
d |
point you are evaluating to obtain its density |
h |
bandwidth |
method |
method for estimating the density. Is either "naive" or "kernel". Set default as "naive". |
Return, depending on input, either the density in a point or the bandwidth and a table of densities estimated at minimum, 1st quartile, median, mean, 3rd quartile, maximum.
Nina Louise Pedersen
Institute of Mathematics and Computer Science (IMADA)
University of Sourthern Denmark, (SDU)
npede14@student.sdu.dk
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.