Transformed Kernel Density Distribution Class
Represents the direct Gaussian KDE distribution mapped back from log or logit coordinates.
Definition
Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public sealed class TransformedKernelDensityDistribution : ContinuousDistribution- Inheritance
- Object → Distribution → ContinuousDistribution → TransformedKernelDensityDistribution
Remarks
The PDF includes the transformation Jacobian. CDF, survivor probabilities, quantiles and sampling
use the full latent Gaussian mixture without a finite grid. Original-coordinate mean and variance use analytic
lognormal formulas or controlled logistic-normal quadrature. Skewness, kurtosis, entropy and modes are not computed. Floating-point inversion may round interior quantiles or samples to support endpoints.
Properties
| Capabilities |
Gets a value that indicates the capabilities of the distribution class.
(Overrides Distribution.Capabilities) |
| Entropy |
Gets the entropy of the distribution.
(Inherited from Distribution) |
| Estimate | Gets the immutable corrected density estimate. |
| Inter |
Returns the inter-quartile range of this distribution.
(Inherited from ContinuousDistribution) |
| IsSymmetrical | Gets no assumed symmetry in original coordinates. (Overrides ContinuousDistribution.IsSymmetrical) |
| IsUnimodal |
Gets whether the distribution has one or more modes.
(Inherited from ContinuousDistribution) |
| Kurtosis |
Gets the kurtosis of the distribution.
(Inherited from Distribution) |
| Mean | Gets the original-coordinate mean, calculated lazily. (Overrides Distribution.Mean) |
| Median |
Gets the median of the distribution.
(Inherited from ContinuousDistribution) |
| Mode | Gets NaN because original-coordinate modes are not calculated. (Overrides ContinuousDistribution.Mode) |
| Number | Gets the number of modes. (Overrides ContinuousDistribution.NumberOfModes) |
| Skewness |
Gets the skewness of the distribution.
(Inherited from Distribution) |
| Standard | Gets the original-coordinate standard deviation independently of variance overflow or underflow. (Overrides Distribution.StandardDeviation) |
| Statistic |
Gets the common symbol to describe a statistic
from the distribution.
(Inherited from Distribution) |
| Support | Gets the declared original-coordinate support. (Overrides ContinuousDistribution.Support) |
| Variance | Gets the original-coordinate variance, including between-component variation. (Overrides Distribution.Variance) |
Methods
| Cdf |
Evaluates the cumulative distribution function
(CDF) of this distribution for the specified value.
(Inherited from ContinuousDistribution) |
| Distribution | Evaluates cumulative probability in original coordinates. (Overrides ContinuousDistribution.DistributionFunction(Double)) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Get | Returns all modes. (Overrides ContinuousDistribution.GetAllModes()) |
| Get |
Returns the expectation value of a function.
(Inherited from ContinuousDistribution) |
| Get |
Returns the un-normalized expectation value of a function over the specified interval.
(Inherited from ContinuousDistribution) |
| Get |
Gets a vector containing a histogram of the expected number of samples
for a given total number of samples.
(Inherited from ContinuousDistribution) |
| Get |
Gets a vector containing a histogram of the expected number of samples
for a given total number of samples.
(Inherited from ContinuousDistribution) |
| Get |
Gets a vector whose bins contain the expected number of samples
for a given total number of samples.
(Inherited from ContinuousDistribution) |
| Get | Serves as the default hash function. (Inherited from Object) |
| Get |
Returns an infinite sequence of independent random samples drawn from
this distribution.
(Inherited from ContinuousDistribution) |
| Get |
Returns a sequence of random samples from the distribution.
(Inherited from ContinuousDistribution) |
| Get |
Returns a sequence of random samples of the specified length from the distribution.
(Inherited from ContinuousDistribution) |
| Get | Gets the Type of the current instance. (Inherited from Object) |
| Hazard |
Returns the probability of failure at the specified value.
(Inherited from ContinuousDistribution) |
| Inverse |
Returns the inverse of the DistributionFunction(Double).
(Inherited from ContinuousDistribution) |
| Inverse | Evaluates an original-coordinate quantile by inverse-transforming a latent mixture quantile. (Overrides ContinuousDistribution.InverseDistributionFunction(Double)) |
| Left |
Returns the probability that a sample from the distribution
is less than the specified value.
(Inherited from ContinuousDistribution) |
| Log |
Returns the logarithm of the probability density function
(PDF) of this distribution for the specified value.
(Overrides ContinuousDistribution.LogProbabilityDensityFunction(Double)) |
| Moment |
Returns the value of the moment function of the specified order.
(Inherited from ContinuousDistribution) |
|
Returns the value of the probability density function
(PDF) of this distribution for the specified value.
(Inherited from ContinuousDistribution) | |
| Probability |
Returns the probability that a sample taken from the
distribution lies inside the specified interval.
(Inherited from ContinuousDistribution) |
| Probability |
Returns the value of the probability density function
(PDF) of this distribution for the specified value.
(Overrides ContinuousDistribution.ProbabilityDensityFunction(Double)) |
| Right |
Returns the probability that a sample from the distribution
is larger than the specified value.
(Inherited from ContinuousDistribution) |
| Sample() |
Returns a single random sample drawn from this distribution.
(Inherited from ContinuousDistribution) |
| Sample( |
Returns a vector containing the specified number of independent
random samples drawn from this distribution.
(Inherited from ContinuousDistribution) |
| Sample( |
Returns a random sample from the distribution using a
Random instance.
(Inherited from ContinuousDistribution) |
| Sample( |
Returns a random sample from the distribution using a
Random instance.
(Inherited from ContinuousDistribution) |
| Sample( |
Returns a vector containing the specified number of independent
random samples drawn from this distribution using the provided
IRandomSource.
(Inherited from ContinuousDistribution) |
| Sample( |
Returns a vector of random samples from the distribution.
(Inherited from ContinuousDistribution) |
| Sample<TGenerator>(IRandomSource<TGenerator>) |
Returns a random sample from the distribution using the supplied
IRandomSource<TGenerator>.
(Inherited from ContinuousDistribution) |
| Sample<TGenerator>(Int32, IRandomSource<TGenerator>) |
Returns a vector containing the specified number of independent
random samples drawn from this distribution using the supplied
IRandomSource<TGenerator>.
(Inherited from ContinuousDistribution) |
| Sample |
Fills a span with random numbers from the distribution using the
default thread-safe random number generator.
(Inherited from ContinuousDistribution) |
| Sample |
Fills the provided list with random samples drawn from this
distribution.
(Inherited from ContinuousDistribution) |
| Sample |
Fills a span with random numbers from the distribution.
(Inherited from ContinuousDistribution) |
| Sample |
Fills the provided list with random samples drawn from this
distribution.
(Inherited from ContinuousDistribution) |
| Sample |
Fills a list with random numbers from the distribution.
(Inherited from ContinuousDistribution) |
| Sample |
Fills the given span with random samples drawn from this distribution.
(Inherited from ContinuousDistribution) |
| Sample |
Fills a range within a list with random samples drawn from this
distribution.
(Inherited from ContinuousDistribution) |
| Sample |
Fills a range within a list with random samples drawn from this
distribution.
(Inherited from ContinuousDistribution) |
| Sample |
Fills a span with random numbers from the distribution.
(Inherited from ContinuousDistribution) |
| Sample |
Fills a range within a list with random samples drawn from this
distribution.
(Inherited from ContinuousDistribution) |
| Survivor | Evaluates upper-tail probability directly in original coordinates. (Overrides ContinuousDistribution.SurvivorDistributionFunction(Double)) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Two |
Returns the probability that a sample from the distribution deviates from the mean more than
the specified value.
(Inherited from ContinuousDistribution) |