Bell: Probability function, distribution function, quantile...

Description Usage Arguments Details Value

Description

Probability function, distribution function, quantile function and random generation for the Bell distribution with parameter theta.

Usage

1
2
3
4
5
6
7
dbell(x, theta, log = FALSE)

pbell(q, theta, lower.tail = TRUE, log.p = FALSE)

qbell(p, theta, log.p = FALSE)

rbell(n, theta)

Arguments

x

vector of (non-negative integer) quantiles.

theta

parameter of the Bell distribution (theta > 0).

log, log.p

logical; if TRUE, probabilities p are given as log(p).

q

vector of quantiles.

lower.tail

logical; if TRUE (default), probabilities are P[X ≤ x]; otherwise, P[X > x].

p

vector of probabilities.

n

number of random values to return.

Details

Probability mass function

f(x) = \frac{θ^{x} e^{e^{θ}+1}B_x}{x!},

where B_x is the Bell number, and x = 0, 1, ....

Value

dbell gives the (log) probability function, pbell gives the (log) distribution function, qbell gives the quantile function, and rbell generates random deviates.


bellreg documentation built on July 1, 2020, 8:29 p.m.