Function written in C++
estimating the log likelihood of a given
parameter set.
Usage
fct_log_likelihood_c(
categorial_sizes,
aem,
obs_pattern_shape,
obs_pattern_frq,
categorical_levels
)
Arguments
- categorial_sizes
Vector
containing the sizes of the different categories. That is amount of a category on all cases.- aem
Matrix
in aem form. This matrix reports the true category in the rows and the assigned categories in the columns. The cells represent the probabilities that a coding unit of category i is assigned to category j.- obs_pattern_shape
Matrix
containing the unique patterns found in the data. Ideally this matrix is generated by the functionget_patterns()
.- obs_pattern_frq
Vector
containing the frequencies of the patterns. Ideally it is generated by the the functionget_patterns()
.- categorical_levels
Vector
containing all possible categories of the content analysis.