R/Neg.LogLikelihood.VC.C1.R

Defines functions Neg.LogLikelihood.VC.C1

Neg.LogLikelihood.VC.C1 <- function(h, eps, U, S) # f 4.2 articl
{
    B <- h * (S - 1) + 1
    return(sum(log(B)) + t(eps) %*% U %*% diag(1/B) %*% t(U) %*% eps)
}

Try the RVPedigree package in your browser

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

RVPedigree documentation built on May 29, 2017, 10:19 p.m.