BIC calculates BIC given log-likelihood, number of segment and number of class

calc_BIC(likelihood, ncluster, nseg, n)

Arguments

likelihood

log-likelihood

ncluster

number of cluster

nseg

number of segment

n

number of observations

Value

a data.frame with BIC, number of cluster and number of segment