17 #ifndef LIBATOMPROBE_CONFIDENCE_H 18 #define LIBATOMPROBE_CONFIDENCE_H 20 #include <gsl/gsl_rng.h> 51 unsigned int nTrials, gsl_rng *r,
float &lBound,
float &uBound );
72 unsigned int nTrials, gsl_rng *r,
float &lBound,
float &uBound );
84 unsigned int nTrials, gsl_rng *r,
float &lBound,
float &uBound);
110 bool runConfidenceTests();
bool numericalEstimateSkellamConf(float lambda1, float lambda2, float alpha, unsigned int nTrials, gsl_rng *r, float &lBound, float &uBound)
Brute-force the confidence bounds of a skellam distribution.
bool zechConfidenceLimits(float lambdaBack, unsigned int observation, float alpha, float &estimate)
Provides a best estimate for true signal when true signal, background.
void poissonConfidenceObservation(float counts, float alpha, float &lBound, float &uBound)
Obtain poisson confidence limits for the mean of a poisson distribution.
bool numericalEstimatePoissRatioConf(float lambda1, float lambda2, float alpha, unsigned int nTrials, gsl_rng *r, float &lBound, float &uBound)
Brute-force poisson ratio confidence estimator. Returns the confidence interval in the estimate of th...
bool numericalEstimateGaussRatioConf(float mu1, float mu2, float var1, float var2, float alpha, unsigned int nTrials, gsl_rng *r, float &lBound, float &uBound)
Brute-force guassian ratio confidence estimator.