Description
One Horvitz-Thompson contribution from a supplied inclusion probability.
Quality records separate measured results, reference values, acceptance rules, and supporting evidence. Arithmetic consistency and record coverage can be checked against supplied criteria without establishing traceability, approving a method, or deciding product conformity.
One Horvitz-Thompson contribution from a supplied inclusion probability.
When to use this tool
Use it for audit sample selection weight one record when the required inputs and conventions are already available.
How to use the tool and how it works
- Enter inclusionProbability, observedValue, eligiblePopulation. Use the stated units and boundary conventions.
- Run the calculation. Correct any input error before interpreting a result.
- Read weight, totalContribution, meanContribution. Inspect any known, defined, inclusion, or boundary flags before interpreting numeric values.
Require inclusionProbability greater than zero and no greater than one and positive eligiblePopulation. Return weight=1/inclusionProbability, totalContribution=observedValue/inclusionProbability, and meanContribution=totalContribution/eligiblePopulation.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| inclusionProbability | Positive inclusion probability no greater than one; not a percentage numeral. | Required. Finite number; maximum 1; strictly above 0. |
| observedValue | Observed Value | Required. Finite number. |
| eligiblePopulation | Eligible Population | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| weight | Weight | Required. Finite number. |
| totalContribution | Total Contribution | Required. Finite number. |
| meanContribution | Mean Contribution | Required. Finite number. |
{
"input": {
"inclusionProbability": 0.2,
"observedValue": 5,
"eligiblePopulation": 100
},
"output": {
"weight": 5,
"totalContribution": 25,
"meanContribution": 0.25
}
} Limitations and assumptions
- This is one record's inverse-probability contribution, not a complete sample estimate or variance. The inclusion probability and eligible population are not estimated or validated against a sampling design.
- The field tables describe structural bounds; the mechanics also state cross-field requirements. Malformed input shapes, disallowed keys, and invalid domains cause input errors. Results must remain finite and within the declared output contract. A successful false flag or zero placeholder is distinct from an error.
- Numeric arithmetic uses binary floating point. Exact comparisons have no hidden tolerance or decimal rounding; negative zero is exported as zero. Decimal-text integer operations retain the exactness specifically stated above.
Alternative or Complementary methods
For audit sample selection weight one record, check the source records and the supplied rule before comparing the result with another method. Use a separate evidence or method review when arithmetic consistency alone cannot establish the required conclusion.
References
Similar or alternative tools
- Audit Sample Weight Base Flag
Calculate audit sample weight base flag from explicit caller-supplied inputs.
- Audit Finding Repeat Source Pair
Check explicit finding recurrence links and category identity.