inverseDiscreteCDFViaSearchUp

Searches starting at the value start until the CDF > p "start" must be the smallest possible value for the range of the CDF as an integer. This requirement is NOT checked

Each value is incremented by 1. Thus, the range of possible values for the CDF is assumed to be {start, start + 1, start + 2, etc.}

Return

the found inverse of the CDF found for p

Parameters

df

a reference to the discrete distribution

p

the probability to evaluate, must be (0,1)

start

the initial starting search position