npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
correctDensityEstimateGHU.hh
Go to the documentation of this file.
1 #ifndef NPSTAT_CORRECTDENSITYESTIMATEGHU_HH_
2 #define NPSTAT_CORRECTDENSITYESTIMATEGHU_HH_
3 
4 /*!
5 // \file correctDensityEstimateGHU.hh
6 //
7 // \brief Glad-Hjort-Ushakov correction for density estimates
8 //
9 // Author: I. Volobouev
10 //
11 // Sep 2019
12 */
13 
14 namespace npstat {
15  /**
16  // Normalize and correct a discretized density estimate which might
17  // not be non-negative everywhere. The method comes from the paper by
18  // Ingrid K. Glad, Nils Lid Hjort and Nikolai G. Ushakov,
19  // Scandinavian Journal of Statistics, Vol. 30, No. 2 (2003), pp. 415-427.
20  */
22  const double* estimator, unsigned long len,
23  double* corrected, unsigned long lenCorrected,
24  double binSize);
25 }
26 
27 #endif // NPSTAT_CORRECTDENSITYESTIMATEGHU_HH_
Definition: AbsArrayProjector.hh:14
void correctDensityEstimateGHU(const double *estimator, unsigned long len, double *corrected, unsigned long lenCorrected, double binSize)