Abstract class that cannot be constructed directly.
Returns error. Abstract classes cannot be constructed directly.
distr6::Distribution -> Kernel
packageDeprecated, use $packages instead.
packagesPackages required to be installed in order to construct the distribution.
Inherited methods
distr6::Distribution$cdf()distr6::Distribution$confidence()distr6::Distribution$correlation()distr6::Distribution$getParameterValue()distr6::Distribution$iqr()distr6::Distribution$liesInSupport()distr6::Distribution$liesInType()distr6::Distribution$parameters()distr6::Distribution$pdf()distr6::Distribution$prec()distr6::Distribution$print()distr6::Distribution$quantile()distr6::Distribution$rand()distr6::Distribution$setParameterValue()distr6::Distribution$stdev()distr6::Distribution$strprint()distr6::Distribution$summary()distr6::Distribution$workingSupport()
new()Creates a new instance of this R6 class.
Kernel$new(decorators = NULL, support = Interval$new(-1, 1))mode()Calculates the mode of the distribution.
mean()Calculates the mean (expectation) of the distribution.
pdfSquared2Norm()The squared 2-norm of the pdf is defined by $$\int_a^b (f_X(u))^2 du$$ where X is the Distribution, \(f_X\) is its pdf and \(a, b\) are the distribution support limits.
cdfSquared2Norm()The squared 2-norm of the cdf is defined by $$\int_a^b (F_X(u))^2 du$$ where X is the Distribution, \(F_X\) is its pdf and \(a, b\) are the distribution support limits.
skewness()The skewness of a distribution is defined by the third standardised moment, $$sk_X = E_X[\frac{x - \mu}{\sigma}^3]$$ where \(E_X\) is the expectation of distribution X, \(\mu\) is the mean of the distribution and \(\sigma\) is the standard deviation of the distribution.