The Censored Student-t Distribution
Density, distribution function, quantile function, and random generation
for the left and/or right censored student-t distribution with
degrees of freedom.
dct(x, location = 0, scale = 1, df, left = -Inf, right = Inf, log = FALSE)
pct(q, location = 0, scale = 1, df, left = -Inf, right = Inf, lower.tail = TRUE, log.p = FALSE)
rct(n, location = 0, scale = 1, df, left = -Inf, right = Inf)
qct(p, location = 0, scale = 1, df, left = -Inf, right = Inf, lower.tail = TRUE, log.p = FALSE)
- x, q
vector of quantiles.
vector of probabilities.
number of observations. If
length(n) > 1, the length is taken to be the number required.
degrees of freedom (> 0, maybe non-integer).
df = Infis allowed.
left censoring point.
right censoring point.
- log, log.p
logical; if TRUE, probabilities p are given as log(p).
logical; if TRUE (default), probabilities are P[X <= x] otherwise, P[X > x].
scale are not specified they assume the default values
right have the defaults
The censored student-t distribution has density \(f(x)\):
|\(T((left - \mu)/\sigma)\)||if \(x \le left\)|
|\(1 - T((right - \mu)/\sigma)\)||if \(x \ge right\)|
where \(T\) and \(\tau\) are the cumulative distribution function
and probability density function of the student-t distribution with
df degrees of freedom respectively, \(\mu\) is the location of the
distribution, and \(\sigma\) the scale.
dct gives the density,
pct gives the distribution
qct gives the quantile function, and
generates random deviates.