Density, distribution function, quantile function, and random generation for the left and/or right censored logistic distribution.
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)
vector of quantiles.
vector of probabilities.
number of observations. If
length(n) > 1, the length is
taken to be the number required.
left censoring point.
right censoring point.
logical; if TRUE, probabilities p are given as log(p).
logical; if TRUE (default), probabilities are P[X <= x] otherwise, P[X > x].
dclogis gives the density,
pclogis gives the distribution
qclogis gives the quantile function, and
generates random deviates.
scale are not specified they assume the default values
right have the defaults
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.