50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


distr6 (version 1.5.6)

Silverman: Silverman Kernel

Description

Mathematical and statistical functions for the Silverman kernel defined by the pdf, f(x)=exp(|x|/2)/2sin(|x|/2+π/4) over the support xR.

Arguments

Super classes

distr6::Distribution -> distr6::Kernel -> Silverman

Public fields

name

Full name of distribution.

short_name

Short name of distribution for printing.

description

Brief description of the distribution.

Methods

Public methods

Method new()

Creates a new instance of this R6 class.

Usage

Silverman$new(decorators = NULL)

Arguments

decorators

(character()) Decorators to add to the distribution during construction.

Method pdfSquared2Norm()

The squared 2-norm of the pdf is defined by ab(fX(u))2du where X is the Distribution, fX is its pdf and a,b are the distribution support limits.

Usage

Silverman$pdfSquared2Norm(x = 0, upper = Inf)

Arguments

x

(numeric(1)) Amount to shift the result.

upper

(numeric(1)) Upper limit of the integral.

Method cdfSquared2Norm()

The squared 2-norm of the cdf is defined by ab(FX(u))2du where X is the Distribution, FX is its pdf and a,b are the distribution support limits.

Usage

Silverman$cdfSquared2Norm(x = 0, upper = 0)

Arguments

x

(numeric(1)) Amount to shift the result.

upper

(numeric(1)) Upper limit of the integral.

Method variance()

The variance of a distribution is defined by the formula varX=E[X2]E[X]2 where EX is the expectation of distribution X. If the distribution is multivariate the covariance matrix is returned.

Usage

Silverman$variance(...)

Arguments

...

Unused.

Method clone()

The objects of this class are cloneable with this method.

Usage

Silverman$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Details

The cdf and quantile functions are omitted as no closed form analytic expressions could be found, decorate with FunctionImputation for numeric results.

See Also

Other kernels: Cosine, Epanechnikov, LogisticKernel, NormalKernel, Quartic, Sigmoid, TriangularKernel, Tricube, Triweight, UniformKernel