bic | R Documentation |
Calculate the BIC for a model.
bic(loglik, k, n)
loglik |
log-likelihood |
k |
number of paramters |
n |
sample size |
BIC
gmm<-mixtools::normalmixEM(runif(1000)) bic(gmm$loglik,3,1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.