public class GaussianReflectionKernelDistribution extends GaussianKernelDistribution
Modifier and Type | Field and Description |
---|---|
protected double |
threshold
The lower threshold where reflection occurs
|
h, kernelPointsAndWeights, ndist, NUMBER_OF_BINS, precision, sampleValues, veryPrecise
Constructor and Description |
---|
GaussianReflectionKernelDistribution()
Boundary at x=0 for positive domain.
|
GaussianReflectionKernelDistribution(double threshold) |
GaussianReflectionKernelDistribution(double threshold,
double precision) |
Modifier and Type | Method and Description |
---|---|
double |
density(double x) |
double |
sample()
Simply select one value from the observations at random and
sample from it's Gaussian Kernel heap.
|
addValue, addValues, cumulativeProbability, cumulativeProbability, getDoubleArray, getH, getNumericalMean, getReasonableLowerBound, getReasonableUpperBound, getSupportLowerBound, getSupportUpperBound, getValues, isSupportConnected, isSupportLowerBoundInclusive, isSupportUpperBoundInclusive, probability, updateKernels, updateSmoothingParameter
getNumericalVariance, value
public GaussianReflectionKernelDistribution()
public GaussianReflectionKernelDistribution(double threshold)
public GaussianReflectionKernelDistribution(double threshold, double precision)
public double density(double x)
density
in interface org.apache.commons.math3.distribution.RealDistribution
density
in class GaussianKernelDistribution
public double sample()
GaussianKernelDistribution
sample
in interface org.apache.commons.math3.distribution.RealDistribution
sample
in class GaussianKernelDistribution