Generalized Beta Distribution

Share:

Description

Density, distribution function, quantile function and random generation for the GB.

Usage

1
2
3
4
dgbeta(x, pars)
pgbeta(q, pars)
qgbeta(p, pars)
rgbeta(n, pars)

Arguments

x, q

vector of quantiles.

p

vector of probabilities.

n

number of observations. If length(n) > 1, the length is taken to be the number required.

pars

Four parameters.

Value

dgbeta gives the density, pgbeta gives the distribution function, qgbeta gives the quantile function, and rgbeta generates random deviates.

Examples

1
 dgbeta(.5, c(0,1,1,2))