get.llk.mixmod {bayesmove} R Documentation

## Internal function to calculate the log-likelihood for iteration of mixture model

### Description

Calculates the log-likelihood of the mixture model based on estimates for theta and phi.

### Usage

get.llk.mixmod(phi, theta, ndata.types, dat, nobs, nmaxclust)


### Arguments

 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.

### Value

A numeric value of the log-likelihood based upon the current values for phi and theta.

[Package bayesmove version 0.2.1 Index]