OpenMS
2.4.0
|
Computes the cumulative binomial function. More...
#include <OpenMS/MATH/STATISTICS/CumulativeBinomial.h>
Static Public Member Functions | |
static double | compute (Size n, Size k, double p) |
Compute the cumulative binomial function. More... | |
Computes the cumulative binomial function.
Compute the cumulative binomial function.
Sums up ( n choose i ) * p^i * (1-p)^(n-i) for i from 0 to k.
n,size | of theoretical spectrum |
k,number | of matched peaks |
p,probability | of a random match between a theoretical and an experimental peak |