Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:45:30

0001 #ifndef ChiSquaredProbability_H
0002 #define ChiSquaredProbability_H
0003 
0004 /** Returns the probability that an observation, correctly described by
0005  *  a model with nrDOF, will give rise to a chi-squared larger than the one
0006  *  observed; from this, one can interpret this probability as how likely
0007  *  it is to observe as high (or higher) a chi-squared. 
0008  *  source: Numerical Recipes
0009  */
0010 float ChiSquaredProbability(double chiSquared, double nrDOF);
0011 float LnChiSquaredProbability(double chiSquared, double nrDOF);
0012 
0013 #endif