The CRITBINOM function in Google Sheets is a powerful statistical tool used to identify the smallest integer value for which the cumulative binomial distribution is greater than or equal to a specified criterion. This function is particularly useful in scenarios involving binary outcomes, such as success or failure, allowing users to compute critical thresholds in diverse analytical contexts.
Syntax
CRITBINOM(trials, probability_s, alpha)
- trials: The total number of independent trials.
- probability_s: The probability of success on an individual trial.
- alpha: The significance level or the value at which the cumulative distribution function should be evaluated.
Example #1
CRITBINOM(10, 0.5, 0.5)
In this instance, the function evaluates a scenario with 10 trials, where the probability of success in each trial is 0.5. The function would return “5”, indicating that a minimum of 5 successes is needed to achieve a cumulative probability of 0.5.
Example #2
CRITBINOM(20, 0.3, 0.8)
This function call calculates the critical number of successes required in 20 trials with a success probability of 0.3 to meet or exceed a cumulative probability of 0.8. The output might be “9”, meaning at least 9 successes are required to reach that level of probability.
Example #3
CRITBINOM(15, 0.2, 0.95)
Here, the function is used to determine the minimum number of successes needed out of 15 trials with each having a success probability of 0.2 to achieve a cumulative probability of 0.95. The result could be “5”, indicating that 5 successes fulfill the specified condition.
Error handling
- NUM!: This error indicates that the function’s calculation fell outside possible bounds (for instance, the number of trials may be too low or exceed logical limits).
- VALUE!: This occurs when the input parameters are of the wrong type or not numeric.
- N/A: This suggests that the inputs are not valid, such as negative numbers for the number of trials.