KDB4: Create a KDB4 distribution (4-parameter Kuramaswamy...

View source: R/KDB4.R

KDB4R Documentation

Create a KDB4 distribution (4-parameter Kuramaswamy double-bounded)

Description

Create a KDB4 distribution (4-parameter Kuramaswamy double-bounded)

Usage

KDB4(alpha = 1, beta = 1, a = 0, b = 1)

Arguments

alpha

The alpha parameter (first shape parameter). 'alpha' can be any value strictly greater than zero. Defaults to '1'.

beta

The beta parameter (second shape parameter). 'beta' can be any value strictly greater than zero. Defaults to '1'.

a

The a parameter (lower bound). 'a' can be any value in the set of real numbers. Defaults to '0'.

b

The b parameter (upper bound). 'b' can be any value in the set of real numbers. It should be strictly bigger than 'a'. Defaults to '1'.

Value

A 'KDB4' object.

See Also

Other continuous distributions: GEVmin2(), GEVmin(), GEV(), GPDmin2(), GPDmin(), GPD(), KDB(), Triangular()

Examples


set.seed(27)

X <- KDB4(alpha=2,beta=5,a=0.5,b=3)
X

random(X, 10)

pdf(X, 0.7)
log_pdf(X, 0.7)

cdf(X, 0.7)
quantile(X, 0.7)

cdf(X, quantile(X, 0.7))
quantile(X, cdf(X, 0.7))

benRenard/disTRIMbution documentation built on July 1, 2023, 4:24 a.m.