# Calculators for public statistics

Part of Deterministic skills by Baltor.

Rates, ratios and indices from published definitions, with their confidence bounds and the denominators written out. Each skill states its inputs as a schema and refuses data it cannot use.

## What to watch for

- A rate per 100,000 means nothing without its denominator and its year.
- Small counts need exact Poisson bounds, not a normal approximation.
- Age structure changes crude rates, so compare standardized rates across places.

## Components

- [Calculate the maternal mortality ratio per 100,000 live births](https://baltor.ai/components/baltor-maternal-mortality-ratio): Calculate the maternal mortality ratio per 100,000 live births with exact Poisson confidence bounds from death and birth counts, keeping late maternal deaths out of the ratio and adding companion rates when their denominators are supplied. Name `baltor_maternal_mortality_ratio`, licence MIT, 9 files.
- [Calculate intentional homicide victims per 100,000 population by year and sex](https://baltor.ai/components/baltor-homicide-rate): Calculate intentional homicide victims per 100,000 population by year and sex with exact Poisson bounds and a pooled multi-year rate, counting victims rather than incidents or offenders and keeping attempts and conflict deaths out. Name `baltor_homicide_rate`, licence MIT, 9 files.
- [Calculate the unadjusted gender pay gap in mean and median gross hourly earnings](https://baltor.ai/components/baltor-gender-pay-gap): Calculate the unadjusted gender pay gap in mean and median gross hourly earnings from weighted unidentified employee records, overall and by declared breakdown groups, refusing mismatched pay and hours periods. Name `baltor_gender_pay_gap`, licence MIT, 9 files.
- [Calculate Foster-Greer-Thorbecke poverty measures](https://baltor.ai/components/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. Name `baltor_fgt_poverty_measures`, licence MIT, 9 files.
- [Calculate Alkire-Foster multidimensional poverty headcount](https://baltor.ai/components/baltor-alkire-foster-poverty): Calculate Alkire-Foster multidimensional poverty headcount, intensity and adjusted headcount ratio from weighted unit deprivation profiles, with exact rational indicator weights, a declared poverty cutoff, censored headcounts and indicator contributions. Name `baltor_alkire_foster_poverty`, licence MIT, 9 files.
- [Calculate a directly age-standardized rate with Fay-Feuer gamma confidence bounds](https://baltor.ai/components/baltor-direct-age-standardization): Calculate a directly age-standardized rate with Fay-Feuer gamma confidence bounds from age-specific event counts, person-years and a caller-supplied standard population, refusing gaps, overlaps and mismatched age groups. Name `baltor_direct_age_standardization`, licence MIT, 9 files.
- [Calculate administrative vaccination coverage against target populations](https://baltor.ai/components/baltor-vaccination-coverage-dropout): Calculate administrative vaccination coverage for declared antigen doses against explicit target-population denominators, dose-to-dose dropout rates and zero-dose estimates, flagging coverage above 100 percent and negative dropout instead of hiding them. Name `baltor_vaccination_coverage_dropout`, licence MIT, 9 files.
- [Score minimum dietary diversity for women and young children](https://baltor.ai/components/baltor-dietary-diversity): Score minimum dietary diversity for women (10 food groups, at least 5) or for children aged 6 to 23 months (8 food groups, at least 5) from weighted unidentified food-group recall records, keeping unknown answers apart from foods not consumed. Name `baltor_dietary_diversity`, licence MIT, 9 files.
- [Calculate moderate-or-severe and severe food insecurity prevalence](https://baltor.ai/components/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. Name `baltor_fies_prevalence`, licence MIT, 9 files.
- [Calculate the prevalence of undernourishment](https://baltor.ai/components/baltor-undernourishment-prevalence): Calculate the prevalence of undernourishment as the share of a lognormal habitual dietary energy intake distribution below a minimum dietary energy requirement, from caller-supplied mean intake, coefficient of variation and sex-age requirement groups. Name `baltor_undernourishment_prevalence`, licence MIT, 9 files.
- [Calculate crop yield gaps between actual and potential or water-limited yields](https://baltor.ai/components/baltor-crop-yield-gap): Calculate crop yield gaps between actual and potential or water-limited yields for zones of one crop, standardizing yield units and grain moisture, weighting by harvested area and reporting the exploitable gap at a declared attainable fraction. Name `baltor_crop_yield_gap`, licence MIT, 9 files.
- [Calculate heating and cooling degree days from bounded daily temperature extrema](https://baltor.ai/components/baltor-degree-day-coverage): Calculate heating and cooling degree days from bounded daily temperature extrema while exposing calendar gaps and unit assumptions for energy-efficiency analysis. Name `baltor_degree_day_coverage`, licence MIT, 9 files.
- [Calculate the share of seats held by women in elected bodies](https://baltor.ai/components/baltor-women-representation-share): Calculate the share of seats held by women in declared parliamentary or local government bodies from seat counts, checking that members, vacancies and statutory seats reconcile and keeping elected and appointed seats apart. Name `baltor_women_representation_share`, licence MIT, 9 files.
- [Calculate social protection coverage shares for declared population groups](https://baltor.ai/components/baltor-social-protection-coverage): Calculate social protection coverage shares for declared population groups from scheme beneficiary counts with explicit person denominators, refusing non-person count units and giving bounds when people may receive more than one benefit. Name `baltor_social_protection_coverage`, licence MIT, 9 files.

Your agent downloads these through Baltor with Pro, $49 a month: https://baltor.ai/get-started
