Negative binomial total trials variance calculator
Calculate the variance in total trial count needed to reach a fixed number of successes. Enter the values below to see the result and method.
inputs.
Related calculators
Use these tools when your question extends to a neighboring part of the same calculation.
How to use this calculator
Calculate the variance in total trial count needed to reach a fixed number of successes.
- Enter Target successes r, Success probability per trial (0–1). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Define the event or trial model
Calculate the variance of the total trial count needed for r independent successes with per-trial probability p. The output is measured in trials squared, not trials.
Inputs and units
Enter a positive whole-number success target r and a per-trial probability p with 0 < p ≤ 1.
- Target successes r: Positive integer number of successes in the stopping rule.
- Success probability per trial (0–1): Probability of success on each independent trial.
Formula and worked example
Variance of total trials = r(1 − p) ÷ p².
For r = 5 and p = 0.4, the variance is 18.75 trials².
Intermediate values are retained until the final display is rounded.
What the probability or expectation means
Variance is reported in trials²; its square root, not the variance itself, has units of trials.
Assumptions and limits
Assumes independent Bernoulli trials with constant p and counts the successful trials in the total; the variance is r(1−p)/p².
Frequently asked questions
Is the negative binomial total trials variance output a probability or an expected value?
It is the variance of the total trial count in trials²; its square root is expressed in trials.
Which model assumption matters most for the negative binomial total trials variance?
Assumes independent trials with a constant success chance; r must be a positive integer.
How do I use the Negative binomial total trials variance calculator?
Enter Target successes r, Success probability per trial (0–1). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Negative binomial total trials variance?
Variance of total trials = r(1 − p) ÷ p². For r = 5 and p = 0.4, the variance is 18.75 trials². Intermediate values are retained until the final display is rounded.
What does the Negative binomial total trials variance calculator calculate?
Calculate the variance in total trial count needed to reach a fixed number of successes.
Read the calculation methodology and privacy policy.