Darwin Help

Back to Index

ProbBallsBoxes

Function ProbBallsBoxes - probability of hitting k eps-boxes with n balls

Calling Sequence  ProbBallsBoxes(k,n,eps)
Parameters
NameTypeDescription

k posintnumber of boxes
n posintnumber of balls randomly thrown in [0,1]
eps positive0
Return Type  positive
Synopsis Computes the probability of having each of the k boxes with at least one ball when n balls are thrown randomly over the interval [0,1]. Each of the boxes is assumed to be of width eps and are placed randomly and without overlaps. This is the main tool for computing scores (-10*log10(Prob())) of the MassProfile results.
Examples
> ProbBallsBoxes(3,10,0.0001);
7.1924e-10
See also Cumulative,   DigestAspN,   DigestionWeights,   DigestSeq,   DigestTrypsin,   DigestWeights,   DynProgMass,   DynProgMassDb,   enzymes,   lnProbBallsBoxes,   MassProfileResults,   OutsideBounds,   ProbCloseMatches,   SearchMassDb,   Stat,   StatTest,   Std_Score