public class KernelDensity
extends java.lang.Object
KernelDensityGen
in package randvar.| Constructor and Description |
|---|
KernelDensity() |
| Modifier and Type | Method and Description |
|---|---|
static double[] |
computeDensity(EmpiricalDist dist,
ContinuousDistribution kern,
double[] Y)
Similar to method ,
but the bandwidth h is obtained from the method
KernelDensityGen.getBaseBandwidth(dist) in package randvar. |
static double[] |
computeDensity(EmpiricalDist dist,
ContinuousDistribution kern,
double h,
double[] Y)
Given the empirical distribution dist, this method computes the
kernel density estimate at each of the m points Y[j],
j = 0, 1,…,(m - 1), where m is the length of Y, the kernel
is kern.density(x),
and the bandwidth is h.
|
public static double[] computeDensity(EmpiricalDist dist, ContinuousDistribution kern, double h, double[] Y)
public static double[] computeDensity(EmpiricalDist dist, ContinuousDistribution kern, double[] Y)
KernelDensityGen.getBaseBandwidth(dist) in package randvar.To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.