nb.density: dnb, ldnb Functions

Description Usage Arguments Value Examples

Description

These functions allow you to compute (log-)density of generalized Negative Binomial distribution.

Usage

1
2
3
ldnb(x, theta, mu)

dnb(x, theta, mu)

Arguments

x

A positive numeric scalor or vector. Decimals and integers are both allowed.

theta

Value of dispersion.

mu

Value of mean.

Value

dnb

Density of generalized Negative Binomial

ldnb

Log-density of generalized Negative Binomial

Examples

1
2
ldnb(x=10.4,theta=3.2,mu=5)
dnb(x=10.4,theta=3.2,mu=5)

NB.MClust documentation built on May 2, 2019, 2:16 a.m.