Learn R Programming

bda (version 10.1.9)

GB: Generalized Beta Distribution

Description

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

Usage

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

Run this code
# NOT RUN {
 dgbeta(.5, c(0,1,1,2))
# }

Run the code above in your browser using DataLab