generic_distribution_functions: Generic Distribution Functions
Description
Generic functions for computing various properties of statistical distributions.
Usage
cdf(x, ...)
logcdf(x, ...)
pdf(x, ...)
logpdf(x, ...)
hazard(x, ...)
chf(x, ...)
mode(x, ...)
standard_deviation(x, ...)
support(x, ...)
variance(x, ...)
skewness(x, ...)
kurtosis(x, ...)
kurtosis_excess(x, ...)
Value
A single numeric value with the computed probability density, log-probability density, cumulative distribution, log-cumulative distribution, quantile, mean, median, mode, range, standard deviation, support, variance, skewness, kurtosis, or excess kurtosis depending on the function called.
Arguments
x
A distribution object created by a distribution constructor function.
# Create a Weibull distributionweibull_dist <- weibull_distribution(shape = 2, scale = 1)
# Compute the CDF at a specific pointcdf(weibull_dist, 1)
# Check supportsupport(weibull_dist)