Library / Skill
Calculate Foster-Greer-Thorbecke poverty measures
baltor_fgt_poverty_measures
Calculate the Foster-Greer-Thorbecke poverty headcount, poverty gap and squared poverty gap at a declared poverty line from weighted unit records, with exact period conversion and additive group decomposition.
LICENSE1.0 KBSKILL.md4.6 KBcontracts/input.schema.json3.5 KBcontracts/output.schema.json11.4 KBexamples/example.expected.json2.1 KBexamples/example.input.json881 bytesreferences/provenance.json5.0 KBscripts/tool.py9.9 KBverification/test_tool.py10.5 KB
Full files in your harness.
What it takes and gives
- Command
python3 -B scripts/tool.py < examples/example.input.json- Input fields
- welfare_concept, weight_basis, welfare_unit, poverty_line, groups, rows
- 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 targets 1.1 and 1.2 on caller-supplied data, not an official poverty estimate. It does not compute poverty lines, purchasing power parities, price deflators, equivalence scales, survey design standard errors or imputations, and its result is only as representative as the supplied weights.
Details
- Kind
- Skill
- Licence
- MIT
- Declared effects
- reads files, runs commands
- Placed for
- OpenCode
- Source
- docs/architecture/NORTH-STAR.md
- Size
- 9 files, 48.9 KB
- Identity
baltor_fgt_poverty_measures- Version
b61c3da84214504b26c13a83f25a9832104b3a992e7736a7270d5c3cac62b715
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.