Skip to contents

F(x) = 1 - (1 + (x/scale)^shape2)^(-shape1), x > 0. Density, distribution function, quantile and draws by inversion of the morie Philox uniforms (identical in the Python arm).

Usage

BurrDist(
  x = NULL,
  shape1 = NULL,
  shape2 = NULL,
  scale = 1,
  p = NULL,
  n = 0,
  seed = 0
)

Arguments

x

Evaluation points.

shape1

Parameter (required).

shape2

Parameter (required).

scale

Parameter.

p

Probabilities for the quantile function.

n

Number of random draws.

seed

Philox seed.

Value

list(pdf, logpdf, cdf, quantile, random).

References

Burr, I. W. (1942). Cumulative frequency functions. Annals of Mathematical Statistics 13, 215-232.

Examples

BurrDist(0.5, shape1 = 2, shape2 = 2)$cdf
#> [1] 0.36