ComPWA
Common Partial-Wave-Analysis Framework
GoodnessOfFit.hpp File Reference
#include <cmath>
+ Include dependency graph for GoodnessOfFit.hpp:

Go to the source code of this file.

Functions

double calculateAIC (double LH, int sampleSize, int nFreePar)
 Calculate Akaike Information Criterium AICc https://en.wikipedia.org/wiki/Akaike_information_criterion. More...
 
double calculateBIC (double LH, int sampleSize, int nFreePar)
 Calculate Beyesian Information Criterium BIC https://en.wikipedia.org/wiki/Bayesian_information_criterion. More...
 

Function Documentation

◆ calculateAIC()

double calculateAIC ( double  LH,
int  sampleSize,
int  nFreePar 
)
inline

Calculate Akaike Information Criterium AICc https://en.wikipedia.org/wiki/Akaike_information_criterion.

Parameters
LHassuming -log(L) is passed
sampleSizenumber of points in the data sample
nFreeParnumber of free parameters

Definition at line 11 of file GoodnessOfFit.hpp.

◆ calculateBIC()

double calculateBIC ( double  LH,
int  sampleSize,
int  nFreePar 
)
inline

Calculate Beyesian Information Criterium BIC https://en.wikipedia.org/wiki/Bayesian_information_criterion.

Parameters
LHassuming -log(L) is passed
sampleSizenumber of points in the data sample
nFreeParnumber of free parameters

Definition at line 24 of file GoodnessOfFit.hpp.