Last chance! 50% off unlimited learning
Sale ends in
Density, distribution function, quantile function and random generation for the truncated Fr<U+00E9>chet distribution.
dtfrechet(x, shape, loc = 0, scale = 1, endpoint = Inf, log = FALSE)
ptfrechet(x, shape, loc = 0, scale = 1, endpoint = Inf, lower.tail = TRUE, log.p = FALSE)
qtfrechet(p, shape, loc = 0, scale = 1, endpoint = Inf, lower.tail = TRUE, log.p = FALSE)
rtfrechet(n, shape, loc = 0, scale = 1, endpoint = Inf)
Vector of quantiles.
Vector of probabilities.
Number of observations.
Shape parameter of the Fr<U+00E9>chet distribution.
Location parameter of the Fr<U+00E9>chet distribution, default is 0.
Scale parameter of the Fr<U+00E9>chet distribution, default is 1.
Endpoint of the truncated Fr<U+00E9>chet distribution. The default value is Inf
for which the truncated Fr<U+00E9>chet distribution corresponds to the ordinary Fr<U+00E9>chet distribution.
Logical indicating if the densities are given as FALSE
.
Logical indicating if the probabilities are of the form TRUE
) or FALSE
). Default is TRUE.
Logical indicating if the probabilities are given as FALSE
.
dtfrechet
gives the density function evaluated in ptfrechet
the CDF evaluated in qtfrechet
the quantile function evaluated in
rtfrechet
returns a random sample of length
The Cumulative Distribution Function (CDF) of the truncated Fr<U+00E9>chet distribution is equal to
# NOT RUN {
# Plot of the PDF
x <- seq(1, 10, 0.01)
plot(x, dtfrechet(x, shape=2, endpoint=5), xlab="x", ylab="PDF", type="l")
# Plot of the CDF
x <- seq(1, 10, 0.01)
plot(x, ptfrechet(x, shape=2, endpoint=5), xlab="x", ylab="CDF", type="l")
# }
Run the code above in your browser using DataLab