Learn R Programming

ssdtools (version 0.1.0)

burrIII2: Burr Type III Two-Parameter Distribution

Description

Density, distribution function, quantile function, random generation and starting values for the Burr Type III two-parameter distribution with lshape and lscale parameters.

Usage

dburrIII2(x, lshape = 0, lscale = 1, log = FALSE)

qburrIII2(p, lshape = 0, lscale = 1, lower.tail = TRUE, log.p = FALSE)

pburrIII2(q, lshape = 0, lscale = 1, lower.tail = TRUE, log.p = FALSE)

rburrIII2(n, lshape = 0, lscale = 1)

sburrIII2(x)

Arguments

x

A numeric vector of values.

lshape

shape parameter on the log scale.

lscale

scale parameter on the log scale.

log

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

p

vector of probabilities.

lower.tail

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

log.p

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

q

vector of quantiles.

n

number of observations.

Value

A numeric vector.

Details

The Burr 12 distribution from the actuar package is used as a base. The Burr III distribution is the distribution of 1/x where x has the Burr Type 12 distribution. refer to https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/bu3pdf.htm for details. The shape1, shape2, and scale parameters are on the log(scale) as these must be positive. The two shape parameters are set to be equal to produce a two-parameter model.

See Also

dburr and burrIII3

Examples

Run this code
# NOT RUN {
x <- seq(0.01, 5, by = 0.01)
plot(x, dburrIII2(x), type = "l")
# }

Run the code above in your browser using DataLab