get.llk.mixmod {bayesmove} | R Documentation |
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)
phi |
A list of proportion estimates that characterize distributions (bins) for each data stream and possible behavioral state. |
theta |
numeric. A vector of values that sum to one. |
ndata.types |
numeric. The number of data streams being analyzed. |
dat |
A data frame containing only columns of the discretized data streams for all observations. |
nobs |
numeric. The total number of rows in the dataset. |
nmaxclust |
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.