ratioBeta: The ratio of two beta functions.

Description Usage Arguments Value See Also Examples

Description

Compute the ratio of two beta functions whose arguments differ by integer numbers

Usage

1
ratioBeta(alpha, beta, m, n)

Arguments

alpha,

beta non-negative numeric vectors

m,

n non-negative integer vectors

Value

ratioBeta gives \frac{B(alpha + m, beta + n)}{B(alpha, beta)}

The lengths of the input vectors must be all equal except when their length is 1, which are recycled. Otherwise NAs are produced.

See Also

beta, lbeta for related functions.

Examples

1
2
3
ratioBeta(10, 13, 2, 3)
ratioBeta(1:10, 10:1, 2, 3)
ratioBeta(1:3, 3:1, c(2, 3), 4)

MobilePhoneESSnetBigData/pestim documentation built on May 31, 2019, 2:44 p.m.