Description Usage Arguments Value Examples
This function calculates the kernel density estimates of x with kernel choice kernel and bandwidth h. If the number of covariates is large, higher order kernels are recommended.
Of limited interest to most users; function Kernel() would typically be called by some other functions.
1 |
x |
Data matrix or data vector to calculate the kernel estimate. |
h |
The bandwidth to be used. |
kernel |
Type of kernel. kernel can be chosen from 'gaussian','gaussian4','gaussian6','gaussian8','gaussian10','epanechnikov','uniform','triangular','triweight','tricube','biweight',cosine','silverman' |
A vector of the estimated density values.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.