View source: R/CVBFFunctions.R
loglike.KHall | R Documentation |
Evaluate a log likelihood using the Hall Kernel
loglike.KHall(h, y, x)
h |
A bandwidth or vector of bandwidths tot ry out |
y |
A validation set to evaluate the KDE on |
x |
A training set to build the Hall kernel density estimate on |
-log likelihood evaluation, where the likelihood is constructed using the training data
dataset1 = rnorm(100)
DT = dataset1[1:50]
DV = dataset1[51:100]
loglike.Khall(.01, DT, DV)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.