Incarceration Drug Offense Share Trend Percent Calculator
Actual independently coded custody offense-category share; overlapping/multiple conviction conventions externally resolved, not a trend forecast. Actual aligned same-period numerator/denominator strata, pooled by exposure not unweighted mean. Nonnegative counts/exposures and positive total denominator; overlapping strata must be independently resolved. No cohort representativeness, causation or eligibility inferred.
Description
Drug-offense custody share compares matched classifications and assessed custody totals.
Drug-offense custody share compares matched classifications and assessed custody totals.1
The denominator and classification convention define what the percentage represents. Use this tool to calculate the stated observation or conditional model from supplied measurements.
When to use Incarceration Drug Offense Share Trend Percent Calculator
Use this tool to calculate the stated observation or conditional model from supplied measurements. Establish the jurisdiction or research scope, observation and event definitions, reference date, matched period and denominator basis.
How to use Incarceration Drug Offense Share Trend Percent Calculator and understand its results
- Establish the jurisdiction or research scope, observation and event definitions, reference date, matched period and denominator basis.
- Enter independentlyClassifiedDrugOffenseCustodyCounts, matchedAssessedCustodyCounts, using the field meanings and rules below, then run the tool.
- Read result.observedPooledRate, result.observedNumeratorTotal, result.observedDenominatorTotal. Interpret each field using the units, signs and evidence rules below.
- If input validation fails, correct the reported field and run again. Before applying a successful result, check the stated reference scope, units, assumptions and any retained unknown evidence.
| Input field | Meaning | Value type | Requirement |
|---|---|---|---|
| independentlyClassifiedDrugOffenseCustodyCounts | Independently classified drug offense custody counts | list of number | Required |
| matchedAssessedCustodyCounts | Matched assessed custody counts | list of number | Required |
Enter nonempty aligned finite independentlyClassifiedDrugOffenseCustodyCounts and matchedAssessedCustodyCounts lists with all values nonnegative and positive pooled denominator. Sum numerators and denominators separately; divide pooled totals and scale by 100. Return both totals and the pooled rate, rather than averaging stratum-specific rates. Individual denominators may be zero; the helper neither requires integer counts nor constrains numerator≤denominator. Independently establish matched scope and exposure units.
pooledRate=100×Σnumerators/Σdenominators; totals=(Σnumerators,Σdenominators) Apply the field units and exact ordering, boundary and evidence rules above.
| Output field | Meaning | Value type |
|---|---|---|
| result | Structured result containing the calculation or selected reference fields below | object |
| result.observedPooledRate | Scaled pooled numerator total divided by pooled denominator total, using the units and scale above | number |
| result.observedNumeratorTotal | Sum of submitted nonnegative numerator values | number |
| result.observedDenominatorTotal | Positive sum of submitted nonnegative denominator values | number |
{
"input": {
"independentlyClassifiedDrugOffenseCustodyCounts": [
2,
4
],
"matchedAssessedCustodyCounts": [
10,
20
]
},
"output": {
"result": {
"observedPooledRate": 20,
"observedNumeratorTotal": 6,
"observedDenominatorTotal": 30
}
}
} Limitations and assumptions
The denominator and classification convention define what the percentage represents. Results depend on the independently established measurement basis and the exact model assumptions above.
Every listed input requires an explicit value. Unexpected fields, incorrect value types, nonfinite numbers and sparse numeric arrays fail validation; tool-specific bounds and alignment rules apply as described above. Extremely large inputs or outputs can also be rejected. An input error is distinct from a successful calculation that reports a false comparison or retains unknown evidence.
Alternative or Complementary methods
Use Chronic Offender Cohort Share Percent Lookup to examine a related aspect: A chronic-offender cohort share depends on the adopted chronicity definition and assessed cohort.
Use Prison Capacity Overcrowding Percent Design Calculator where its separate inputs and scope apply: Design occupancy compares population with a facility's stated design capacity.
References
Similar or alternative tools
- Chronic Offender Cohort Share Percent Lookup
A chronic-offender cohort share depends on the adopted chronicity definition and assessed cohort.
- Prison Capacity Overcrowding Percent Design Calculator
Design occupancy compares population with a facility's stated design capacity.