Documentation of 'umontreal.iro.lecuyer.gof.KernelDensity' Java class
KernelDensity
umontreal.iro.lecuyer.gof

Class KernelDensity



  • public class KernelDensity
    extends java.lang.Object
    This class provides methods to compute a kernel density estimator from a set of n individual observations x0,…, xn-1, and returns its value at m selected points. For details on how the kernel density is defined, and how to select the kernel and the bandwidth h, see the documentation of class KernelDensityGen in package randvar.
    • Constructor Detail

      • KernelDensity

        public KernelDensity()
    • Method Detail

      • computeDensity

        public 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. Returns the estimates as an array of m values.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.