View source: R/CVBFFunctions.R
logintegrand.Hall | R Documentation |
Compute log of the integrand of the Marginal likelihood for CVBF
logintegrand.Hall(h, y, x, hhat)
h |
Bandwidth parameter, this is the variable that is being integrated over |
y |
Validation set to evaluate the likelihood over |
x |
Training set to build the KDE |
hhat |
Parameter that specifies where prior should be centered |
Evaluation of the integrand at a particular log likelihood value.
dataset1 = rnorm(100)
DT = dataset1[1:50]
DV = dataset1[51:100]
logintegrand.Hall(.01, DT, DV, .1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.