sumCCDF_

protected fun sumCCDF_(x: Double, nTrials: Int, p: Double, recursive: Boolean): Double(source)

Returns the sum of the complementary CDF from 0 up to but not including x

Return

the sum of the complementary CDF

Parameters

x

the value to evaluate

nTrials

the number of trials

recursive

the flag to use the recursive algorithm

p

the probability of success