R/bic.calc.R

Defines functions bic.calc

bic.calc <-
function(loglik,g,p,n){
  v <- g*(2*p+((p^2)+p)/2)+(g-1)
  val <- 2*loglik - v*log(n)
  return(val)
}

Try the MixSAL package in your browser

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

MixSAL documentation built on May 2, 2019, 7:04 a.m.