Description Usage Arguments Value
Computes the bandwidth and estimate Gaussian kernel density estimation for a vector of desired points
1 | estimate_density(x, y, weight = NULL)
|
x |
vector of points of interest for density estimation |
y |
numeric vector of observations from the distribution whose density is to be estimated |
weight |
numeric vector of sampling weights |
a dataframe containing
f_hat: Estimated density at point x specified
bandwidth: Computed bandwidth
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.