R/AIC.VLMCX.R

Defines functions AIC.VLMCX AIC

Documented in AIC

 

AIC <- function(fit)UseMethod("AIC")

## computes the AIC of the model for the data in a VLMCX object using the count.param() and LogLik.VLMCX() functions
AIC.VLMCX <- function(fit)
{
    k = count.param(fit$tree)
    
    result = -2*LogLik.VLMCX(fit) + 2*k

  return(result)
}
  

Try the VLMCX package in your browser

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

VLMCX documentation built on May 29, 2024, 11:04 a.m.