clogis

0th

Percentile

The Censored Logistic Distribution

Density, distribution function, quantile function, and random generation for the left and/or right censored logistic distribution.

Keywords
distribution
Usage
dclogis(x, location = 0, scale = 1, left = -Inf, right = Inf, log = FALSE)

pclogis(q, location = 0, scale = 1, left = -Inf, right = Inf, lower.tail = TRUE, log.p = FALSE)

rclogis(n, location = 0, scale = 1, left = -Inf, right = Inf)

qclogis(p, location = 0, scale = 1, left = -Inf, right = Inf, lower.tail = TRUE, log.p = FALSE)

Arguments
x, q

vector of quantiles.

p

vector of probabilities.

n

number of observations. If length(n) > 1, the length is taken to be the number required.

location

location parameter.

scale

scale parameter.

left

left censoring point.

right

right censoring point.

log, log.p

logical; if TRUE, probabilities p are given as log(p).

lower.tail

logical; if TRUE (default), probabilities are P[X <= x] otherwise, P[X > x].

Details

If location or scale are not specified they assume the default values of 0 and 1, respectively. left and right have the defaults -Inf and Inf respectively.

The censored logistic distribution has density \(f(x)\):

\(\Lambda((left - \mu)/\sigma)\) if \(x \le left\)
\(1 - \Lambda((right - \mu)/\sigma)\) if \(x \ge right\)

where \(\Lambda\) and \(\lambda\) are the cumulative distribution function and probability density function of the standard logistic distribution respectively, \(\mu\) is the location of the distribution, and \(\sigma\) the scale.

Value

dclogis gives the density, pclogis gives the distribution function, qclogis gives the quantile function, and rclogis generates random deviates.

See Also

dlogis

Aliases
  • dclogis
  • pclogis
  • rclogis
  • qclogis
Documentation reproduced from package crch, version 1.0-4, License: GPL-2 | GPL-3

Community examples

Looks like there are no examples yet.