CNB: The marginal loglikelihood of the multivariate count outcome.

Description Usage Arguments Value Examples

View source: R/CNB.R

Description

The marginal loglikelihood of the multivariate count outcome.

Usage

1
CNB(Ct, g)

Arguments

Ct

A vector of categorical count.

g

A function of expected values for each category of the multivariate count outcome.

Value

a value of marginal loglikelihood of Dirichlet - multinomial distribution.

Examples

1
2
3
Ct <- c(179, 12,9)
g <- c(0.65, 0.25, 0.10)
CNB(Ct,g)

IvonneMartin/CombinedMultinomial documentation built on Dec. 17, 2021, 11:32 p.m.