MM (version 1.6-5)

NormC: Normalizing constant for the multiplicative multinomial

Description

Calculates the normalizing constant for the multiplicative multinomial using direct numerical summation

Usage

NormC(Y, paras, log = FALSE)

Arguments

Y

Total number of observations

paras

Object of class paras

log

Boolean, with default FALSE meaning to return the value, and TRUE meaning to return the natural logarithm

Examples

Run this code
# NOT RUN {
jj <- paras(3)
theta(jj) <- 2
NormC(5,jj)

# }

Run the code above in your browser using DataCamp Workspace