R/KLD.R

Defines functions KLD

KLD <- function(x, w, eta.f, eta.s, sq.var.f, sq.var.s, theta.f, theta.s)
{   
    sum(w * psi.lnorm(x, eta.f, eta.s, sq.var.f, sq.var.s, theta.f, theta.s))
}

Try the rodd package in your browser

Any scripts or data that you put into this service are public.

rodd documentation built on May 29, 2017, 9:42 p.m.