Skip to content

Main content

Sample Proportion Continuity Correction Term Tool

Calculate sample proportion continuity correction term from explicit caller-supplied inputs.

Loading tool…

Description

Return corrected=(successes+0.5*direction)/count, requiring positive integer count, successes within count, and direction exactly minus one or one.

A statistical term depends on its data summaries, weighting convention, centering, denominator, and boundary rules. A contribution, derivative, domain check, or converted summary answers a narrower question than a complete estimator. Those conventions must match before terms are combined or compared.

Return corrected=(successes+0.5*direction)/count, requiring positive integer count, successes within count, and direction exactly minus one or one.

When to use this tool

Use Sample Proportion Continuity Correction Term when you need this specific summary conversion, contribution, domain rule, or sensitivity term with matching statistical conventions.

How to use the tool and how it works

  1. Enter successes, count, direction. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read corrected. Use the output convention below.

Return corrected=(successes+0.5*direction)/count, requiring positive integer count, successes within count, and direction exactly minus one or one.1

Input fieldMeaning and unitsAccepted input
successesSuccessesRequired. Safe integer; minimum 0.
countCount under the stated input or output convention.Required. Safe integer; minimum 1.
directionExactly minus one or one for the signed half-count correction.Required. Safe integer.
Output fieldInterpretationReturned shape
correctedCorrectedRequired. Finite number.
json
{
  "input": {
    "successes": 5,
    "count": 10,
    "direction": 1
  },
  "output": {
    "corrected": 0.55
  }
}

Limitations and assumptions

  • The corrected value can lie below zero or above one at endpoints. This is one signed continuity term, not a complete interval, probability estimate, or automatic correction choice.
  • The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Signed zero is exported as zero.

Alternative or Complementary methods

Use a complete estimator or model when a contribution, sensitivity, or domain check is insufficient. Verify the weight semantics, centering, denominator, and sampling assumptions before combining summaries.

References

  1. Calculation and input contract: statistics/sample-proportion-continuity-correction-term — tool.io

Similar or alternative tools

  • Effective Sample Size Weight Split

    Split oldWeight into firstPart and its remainder, replace its squared contribution in sumSquaredWeights, and compare effective sizes sumWeights²/squaredSum before and after.

  • Sample Leverage Complement

    Compute one simple-regression diagonal leverage and its complement from supplied centered predictor data with an intercept.