ptsp {bnpmr}R Documentation

Distribution function of the two-sided power distribution

Description

Distribution function of the two-sided power distribution

Usage

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

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)

[Package bnpmr version 1.2 Index]