R/mixmod_gibbs_functions.R
get.llk.mixmod.Rd
Calculates the log-likelihood of the mixture model based on estimates for theta and phi.
get.llk.mixmod(phi, theta, ndata.types, dat, nobs, nmaxclust)
A list of proportion estimates that characterize distributions (bins) for each data stream and possible behavioral state.
numeric. A vector of values that sum to one.
numeric. The number of data streams being analyzed.
A data frame containing only columns of the discretized data streams for all observations.
numeric. The total number of rows in the dataset.
numeric. A single number indicating the maximum number of clusters to test.
A numeric value of the log-likelihood based upon the current values for phi and theta.