dlnbinom: logit-normal binomial distribution

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/libLNB.R

Description

distribution functions (probability, random number generation and cumulative) for the logit-normal binomial distribution

Usage

1
2
3
dlnbinom(x, size, m, s)
rlnbinom(n, size, m, s)
dlnbinom(p, size, m, s)

Arguments

x

vector of quantiles

size

number of trials (zero or more)

m

distribution parameter (central tendency)

s

distribution parameter (dispersion)

Details

The logit-normal distribution is created by imposing a logit-normal prior on the binomial parameter p.

Value

dlnbinom gives the density, rlnbinom produces random numbers and plnbinom gives the cumulative probability.

The length of the result is determined by n for rlnbinom, and is the maximum of the lengths of the numerical parameters for the other functions. The numerical parameters other than n are recycled to the length of the result.

Author(s)

Martin Schmettow

References

Schmettow, M. (2009). Controlling the usability evaluation process under varying defect visibility. In BCS HCI 09: Proceedings of the 23rd British HCI Group Annual Conference on People and Computers: Celebrating People and Technology (pp. 188-197). Swinton, UK: British Computer Society.

See Also

dlnbinom.zt dlngeom

Examples

1
2
3
  dlnbinom(3, 10, 0.5, 2)
  rlnbinom(10, 10, 0.5, 2)
  plnbinom(0.5, 10, 0.5, 2)

schmettow/LNB documentation built on May 29, 2019, 3:41 p.m.