Documentation of 'hep.aida.ref.pdf.NonParametricPdf' Java class
NonParametricPdf
hep.aida.ref.pdf

Class NonParametricPdf

  • All Implemented Interfaces:
    IFunction, IModelFunction, FunctionDispatcher, HasName, HasUnits, HasValue, VariableListener


    public class NonParametricPdf
    extends Function
    A Pdf builtg from a given data set. The Pdf is evaluated using the idea of adaptive kernel estimation presented at http://www-wisconsin.cern.ch/~cranmer/keys.html Mirroring is to be performed when distributions don't naturally taper to zero on one or both sides. With abrupt interruptions of the distribution there is a leak of probability due to the way the kernel is built (gaussian). By mirroring the distribution on the side of the abrupt edge the loss of probability is minimized.
    • Constructor Detail

      • NonParametricPdf

        public NonParametricPdf(java.lang.String name,
                                FitData data,
                                Dependent x)
      • NonParametricPdf

        public NonParametricPdf(java.lang.String name,
                                FitData data,
                                Dependent x,
                                int mirrorCode)
    • Method Detail

      • variableChanged

        public void variableChanged(Variable var)
        Description copied from class: Function
        This method is invoked when a variable in the function has changed its value.
        Overrides:
        variableChanged in class Function
      • hasAnalyticalVariableGradient

        public boolean hasAnalyticalVariableGradient(Variable var)
        Description copied from class: Function
        To be overwritten by classes extending Function. This method is used internally by this class to determine if a function has can provide an analytical gradient with respect to a given Variable.
        Overrides:
        hasAnalyticalVariableGradient in class Function
      • hasAnalyticalNormalization

        public boolean hasAnalyticalNormalization(Dependent dep)
        FIXME Should the normalization be left to 1? or should we evaluate it numerically? The problem is the leaking of probability at the edge.
        Overrides:
        hasAnalyticalNormalization in class Function

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.