grasshopper2 Rhinorhino3d.com
ComponentAuto-generatedMaths
Success Fraction
00000000-5068-4772-a939-1d05de506c5a
object preview
This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.

Compute the observed fraction of successful trials, along with a confidence interval for the success probability.

Input parameters:

  1. Sc → Number of trials which succeeded.
  2. Tr → Total number of trials.
  3. Cl → The confidence level, or desired likelihood of the confidence interval containing the true success probability.

Output parameters:

  1. Fr → Observed fraction of successes, i.e. the number of successes divided by the number of trials.
  2. Cf → Clopper-Pearson confidence interval for the true success probability.