dneymanA: The Neyman-A probability function

Description Usage Arguments Details Author(s) Examples

Description

Computes the probability function of the Neyman-A distribution

Usage

1
dneymanA(x, lambda1, lambda2, K, log = FALSE)

Arguments

x

vector of values

lambda1, lambda2

parameters of the distribution

K

truncation value for the infinite summation

log

logical. If TRUE, the logarithm of the probabilities is returned

Details

The Neyman-A distribution has probability function

\frac{e^{-λ_1}λ_2^{x}}{x!}∑_{k=0}^∞\frac{(λ_1e^{-λ_2})^kk^x}{k!}

and is an overdispersion model. The summation is truncated to K.

Author(s)

Rafael A. Moral <rafael_moral@yahoo.com.br>, Clarice G. B. Demétrio and John Hinde

Examples

1
2
x <- 0:10
dneymanA(x, lambda1 = 2, lambda2 = 1.5, K = 50)

jointNmix documentation built on May 2, 2019, 8:18 a.m.