ddm: Calculate the likelihood of a given Dirichelet Multiomial...

Description Usage Arguments Value

Description

Calculate the likelihood of a given Dirichelet Multiomial model

Usage

1
ddm(x, phi = NULL, scale = NULL, p = NULL, log = TRUE)

Arguments

phi

overdispersion paramater. Value must be in [0,1], where phi=0 is 'pure' Multinomial distribuion and increasing values of phi lead to increasingly over-dispersed distributions.

scale

Scale parameters, vector of matrix.

p

matrix or vector of proportions

log

logical if TRUE (default) return the log likelihood

Value

numeric the (log)-likelihood given by the paramaters and data


dwinter/mdm documentation built on May 15, 2019, 4:54 p.m.