Histograming is the least expensive and most popular density estimator, but has several statistical drawbacks. To name only two, it fails to identify structures that are much narrower than the bin size, and exhibits sharp discontinuities (statistical fluctuations) among adjacent low population bins.
The first problem is usually solved by adapting the bin width to the experimental resolution, or by re-binning after looking at the histogram. To filter out the statistical fluctuations, smoothing algorithms can be applied.
Two such techniques are implemented in HBOOK, the so called 353QH ( HSMOOF) and the method of B-splines ( HSPLI1, HSPLI2, HSPFUN). Before trying them out references
[bib-DATA], [bib-SPLINE] and [bib-LISS]
should be consulted, and results taken with care.
                     +------------------------------+
                     | CALL  HSMOOF (ID,ICASE,CHI2*) |
                     +------------------------------+
                                  
Action: This rouitne smoothes a 1-dimensional histogram according to the algorithm 353QH, TWICE (see [bib-DATA]).
Remark:
                     +------------------------------+
                     |CALL  HSPLI1 (ID,IC,N,K,CHI2*) |
                     +------------------------------+
                                  
Action: B-splines smoothing of a 1-dimensional histogram.
Remark:
                     +------------------------------+
                     | CALL  HSPLI2 (ID,NX,NY,KX,KY) |
                     +------------------------------+
                                  
Action: B-splines smoothing of a 2-dimensional histogram.
Remark:
                         +----------------------+
                         |S =  HSPFUN (ID,X,N,K) |
                         +----------------------+
                                  
Action: Performs a B-spline smoothing of a 1-dimensional histogram and returns the value at a given abscissa point.