powered by
Distribution function of the two-sided power distribution
ptsp(x, m, n)
Vector of numeric values in [0,1]
Distribution parameters, m is the mode of the distribution
van Dorp, R. and Kotz, S. (2002) The standard two-sided power distribution and its properties. The American Statistician, 56, 90-99
# NOT RUN { 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) # }
Run the code above in your browser using DataLab