CHIWEI: A code of goodness of fit tests for weighted and unweighted histograms
A Fortran-77 program for goodness of fit tests for histograms with weighted entries as well as with unweighted entries is presented. The code calculates test statistics for case of histogram with normalized weights of events and in case of unnormalized weights of events. Program summary Program title: CHIWEI Catalogue identifier: AEKQ_v1_0 Program summary URL: http://cpc.cs.qub.ac.uk/summaries/AEKQ_v1_0.html Program obtainable from: CPC Program Library, Queen's University, Belfast, N. Ireland Licensing provisions: Standard CPC licence, http://cpc.cs.qub.ac.uk/licence/licence.html No. of lines in distributed program, including test data, etc.: 356 No. of bytes in distributed program, including test data, etc.: 2979 Distribution format: tar.gz Programming language: Fortran-77 Computer: Any Unix/Linux workstation or PC with a Fortran-77 compiler Operating system: Unix/Linux Classification: 4.13, 11.9, 16.4, 19.4 External routines: FPLSOR (M103) [1] (included in the distribution file) Nature of problem: The program calculates goodness of fit test statistics for weighted histograms. Solution method: Calculation of test statistics is done according to formulas presented in Ref. [2]. Running time: 0.0001 seconds for 5 bins histogram. References: [1] CERN Program Library, http://cernlib.web.cern.ch/cernlib/ [2] N.G. Gagunashvili, Nucl. Instrum. Meth. A 596 (2008) 439. (C) 2011 Elsevier B.V. All rights reserved.
chi-square test generalization comparison experimental and simulated data data interpretation monte carlo method