powered by
This function calculates the CUSUM chart for the given sequence of successes and failures
calc_cusum(x, c0, cA)
vector of outcomes
accepted failure probability
smallest detectable failure probability
Returns matrix of possible sequences