Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] aeke_v1_0.tar.gz(4 Kbytes)
Manuscript Title: CHICOM: A code of tests for comparing unweighted and weighted histograms and two weighted histograms
Authors: N.D. Gagunashvili
Program title: CHICOM
Catalogue identifier: AEKE_v1_0
Distribution format: tar.gz
Journal reference: Comput. Phys. Commun. 183(2012)193
Programming language: Fortran-77.
Computer: Any Unix/Linux workstation or PC with a Fortran-77 compiler.
Operating system: Unix/Linux.
Keywords: Homogeneity test, fit Monte Carlo distribution to data, comparison experimental and simulated data, data interpretation.
Classification: 4.13, 11.9, 16.4, 19.4.

External routines: FPLSOR (M103) [1] and BRENT [2] (FPLSOR is included in the distribution file, BRENT must be obtained by the user.)

Nature of problem:
The program calculates test statistics for comparing two weighted histograms and an unweighted histogram with a weighted one.

Solution method:
Calculation of test statistics is done according to formulas presented in Ref. [3].

Running time:
0.001 sec for 5 bins histogram.

[1] CERN Program Library, http://cernlib.web.cern.ch/cernlib/.
[2] W.H. Press, S.A. Teukolsky, W.T. Vetterling, B.P. Flannery, Numerical Recipes in Fortran 77 the Art of Scientific Computing, Second Edition, Cam- bridge University Press, 1997.
[3] N.D. Gagunashvili, Nucl. Instr. Meth. A614 (2010) 287-296.