tgumbel.min: truncated Gumbel distribution (minimum)

tgumbel.minR Documentation

truncated Gumbel distribution (minimum)

Description

Density, distribution function, and quantile function for truncated Gumbel distribution (minimum).

Usage

dtgumbel.min(x, loc = 0, scale = 1, log = FALSE)

ptgumbel.min(q, loc = 0, scale = 1, lower.tail = TRUE, log.p = FALSE)

qtgumbel.min(p, loc = 0, scale = 1, lower.tail = TRUE, log.p = FALSE)

rtgumbel.min(n, loc = 0, scale = 1)

Arguments

x, q

A numeric vector of quantiles.

loc

A numeric value of location parameter for Gumbel distribution.

scale

A numeric value of scale parameter for Gumbel distribution.

log, log.p

A logical; if TRUE, the probability p is given as log(p).

lower.tail

A logical; if TRUE, the probability is P[X <= x], otherwise, P[X > x].

p

A numeric vector of probabilities.

Details

The truncated Gumbel distribution (maximum) has the cumulative distribution function F(q) = 1-(1-G(q))/(1-G(0)), G(q) = exp(-exp(-z)) where z = (q-loc)/scale

Value

'dtgumble.min' gives the desity, 'ptgumbel.min' gives the distribution, and 'qtgumbel.min' gives the quantile function.


okamumu/Rsrat documentation built on Feb. 10, 2024, 11:07 p.m.