loglik: Log-likelihood

Description Usage Arguments Value

View source: R/estim.R

Description

Log-likelihood

Usage

1
loglik(Y, theta)

Arguments

Y

A n x d matrix containing token counts for n different tokens and d different documents.

theta

A n x d matrix. The logs of the Poisson parameters.

Value

A number. The Log-likelihood.


chroetz/poisrrr documentation built on Dec. 19, 2021, 4:05 p.m.