Description
Validate localGroup within localTotal and totalGroup and local others within positive totalOther.
Population indicators depend on compatible boundaries, time periods, counted groups, and denominator choices. A share or density can change when exclusions or daytime populations change, even without arithmetic error.
Validate localGroup within localTotal and totalGroup and local others within positive totalOther.
When to use this tool
Use Geographic Segregation One Group Share when you need one transparent population-accounting component.
How to use the tool and how it works
- Enter localGroup, localTotal, totalGroup, totalOther. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read groupDistribution, otherDistribution, dissimilarityContribution. Use the output convention below.
Validate localGroup within localTotal and totalGroup and local others within positive totalOther. Return each group's local distribution share and half their absolute difference.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| localGroup | Local Group | Required. Finite number; minimum 0. |
| localTotal | Local Total | Required. Finite number. |
| totalGroup | Total Group | Required. Finite number; strictly above 0. |
| totalOther | Total Other | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| groupDistribution | Group Distribution | Required. Finite number. |
| otherDistribution | Other Distribution | Required. Finite number. |
| dissimilarityContribution | Dissimilarity Contribution | Required. Finite number. |
{
"input": {
"localGroup": 30,
"localTotal": 100,
"totalGroup": 300,
"totalOther": 700
},
"output": {
"groupDistribution": 0.1,
"otherDistribution": 0.1,
"dissimilarityContribution": 0
}
} Limitations and assumptions
- This is one area's dissimilarity-index contribution; a complete index requires all compatible areas and totals, and the term alone does not characterize segregation or its causes.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- 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. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Review source definitions, geography, temporal alignment, and uncertainty before making a demographic or service-access conclusion.
References
Similar or alternative tools
- Location Quotient One Employment Cell
Divide localSector by positive localTotal and positive referenceSector by referenceTotal, validating sector counts within totals.
- Workplace Catchment Mode Share Term
Include unknown in the mode denominator only when requested and always report unknownShare on the full total.