Library / Skill
Calculate moderate-or-severe and severe food insecurity prevalence
baltor_fies_prevalence
Calculate moderate-or-severe and severe food insecurity prevalence from a weighted Food Insecurity Experience Scale raw-score distribution with caller-supplied per-raw-score probabilities or raw-score thresholds, keeping incomplete responses out of the denominator.
LICENSE1.0 KBSKILL.md4.9 KBcontracts/input.schema.json3.9 KBcontracts/output.schema.json6.2 KBexamples/example.expected.json1.6 KBexamples/example.input.json1.4 KBreferences/provenance.json5.5 KBscripts/tool.py9.8 KBverification/test_tool.py11.8 KB
Full files in your harness.
What it takes and gives
- Command
python3 -B scripts/tool.py < examples/example.input.json- Input fields
- method, raw_scores, incomplete_responses, probabilities, thresholds, population
- Test
python3 -B -m unittest discover -s verification -p 'test_*.py' -v- Files
- SKILL.md, contracts/input.schema.json, contracts/output.schema.json, scripts/tool.py
- Placed for
- OpenCode
Limits and scope
- Limits
- This is a supporting calculation for SDG target 2.1 (indicator 2.1.2) on caller-supplied tabulations, not an official estimate. It does not fit a Rasch model, check item fit, equate to the global reference scale, or compute margins of error or design effects, and it contains no survey module text.
Details
- Kind
- Skill
- Licence
- MIT
- Declared effects
- reads files, runs commands
- Placed for
- OpenCode
- Source
- docs/architecture/NORTH-STAR.md
- Size
- 9 files, 46.1 KB
- Identity
baltor_fies_prevalence- Version
27269beaa3c17ee4c438e7493e5813e931408e82e806d213a8f1e3bf28be752a
The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.
Where it is shown
- Calculators for public statisticsDeterministic skills
Related components
Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.