کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
501795 | 863647 | 2012 | 4 صفحه PDF | دانلود رایگان |

A Fortran-77 program for calculating test statistics to compare weighted histogram with an unweighted histogram and two histograms with weighted entries is presented. The code calculates test statistics for cases of histograms with normalized weights of events and unnormalized weights of events.Program summaryProgram title: CHICOMCatalogue identifier: AEKE_v1_0Program summary URL:http://cpc.cs.qub.ac.uk/summaries/AEKE_v1_0.htmlProgram obtainable from: CPC Program Library, Queenʼs University, Belfast, N. IrelandLicensing provisions: Standard CPC license, http://cpc.cs.qub.ac.uk/licence/licence.htmlNo. of lines in distributed program, including test data, etc.: 758No. of bytes in distributed program, including test data, etc.: 4496Distribution format: tar.gzProgramming language: Fortran-77Computer: Any Unix/Linux workstation or PC with a Fortran-77 compilerOperating system: Unix/LinuxClassification: 4.13, 11.9, 16.4, 19.4External 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 oneSolution method: Calculation of test statistics is done according to formulas presented in Ref. [3].Running time: 0.001 s for 5 bins histogramReferences:[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, Cambridge University Press, 1997.[3]N.D. Gagunashvili, Nucl. Instr. Meth. A 614 (2010) 287–296.
► Program code of tests for comparing two weighted histograms and unweighted histogram with weighted histogram is presented.
► Tests are generalization of classical chi-square test that is used for comparing histograms with unweighted entries.
► Program calculates test statistics for comparing histograms with normalized weights as well as with unnormalized.
Journal: Computer Physics Communications - Volume 183, Issue 1, January 2012, Pages 193–196