# tgumbel.min: truncated Gumbel distribution (minimum) In okamumu/Rsrat: A Software Reliability Assessment Tool

## Description

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

## Usage

 ```1 2 3 4 5 6 7``` ```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) ```

## 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 Oct. 3, 2018, 2:36 a.m.