likelihoodpercond: The likelihood in each group.

Description Usage Arguments Value Author(s) See Also Examples

Description

Calculate the likelihood using dnbinom in stat package

Usage

1
likelihoodpercond(theta, mu, ys,const=1)

Arguments

theta

The dispersion parameter.

mu

The mean.

ys

The count data.

const

A multiplying constant to make the product of likelihoods non-zero.

Value

A numerical vector indicating likelihood.

Author(s)

Yilun Zhang

See Also

joint.like, joint.likelihood

Examples

1
2
3
4
5
theta=1
mu=5
ys=rnbinom(10, mu=5, size=1)

likelihoodpercond(theta, mu, ys)

lunge111/intSEQ documentation built on May 20, 2019, 9:38 a.m.