ptsp: Distribution function of the two-sided power distribution

Description Usage Arguments Author(s) References Examples

View source: R/code.R

Description

Distribution function of the two-sided power distribution

Usage

1
ptsp(x, m, n)

Arguments

x

Vector of numeric values in [0,1]

m,n

Distribution parameters, m is the mode of the distribution

Author(s)

Bjoern Bornkamp

References

van Dorp, R. and Kotz, S. (2002) The standard two-sided power distribution and its properties. The American Statistician, 56, 90-99

Examples

1
2
3
4
curve(ptsp(x, 0.5, 1), 0, 1)
curve(ptsp(x, 0.5, 2), 0, 1, add = TRUE)
curve(ptsp(x, 0.5, 5), 0, 1, add = TRUE)
curve(ptsp(x, 0.5, 10), 0, 1, add = TRUE)

bnpmr documentation built on May 1, 2019, 10:09 p.m.