Import dependency and self-sufficiency ratios
Import dependency and self-sufficiency ratios, version 1.6.0: 180,202 conclusions in this build; method status in use.
Coverage: 180,202 conclusions in this build- ID
m:dependency_ratio.idr- Version
- 1.6.0
- Kind
- metric
- Status
- in use
- Model class
- deterministic accounting
- How inputs co-vary
- Deterministic: no sampling. Within 1 basis the bounds are the 8 corners of the P, M and X ranges, exact for this linear-fractional form; across bases the range is the minimum and maximum over complete bases with the primary basis as central.
- Review grain
- method run plus a 30-row sample, after the owner approved run grain
- Run review
- confirmed: a run review by a model (antigravity, model gemini-4-carbon-high), 13 Nov 2026, with 30 of 360,404 conclusions of the run checked AI-reviewed run
dk:review: 7adf1273b196f3b1 - Released
- 11 Oct 2026
Description
IDR = M / (P + M - X) and SSR = P / (P + M - X) per country, item and period (FAO definitions; 04 section 3). Items are FAOSTAT Food Balance Sheet items in tonnes of primary equivalent and FAOSTAT forestry items in m3, else t. The primary basis is FAOSTAT FBS (FO for forest items); USDA PSD and FBS production with BACI-derived trade widen the range when present.
Formula
missing: not in the method registry
Parameters
| Parameter | Default | Range tested | Unit | Basis |
|---|---|---|---|---|
bases | fbs, psd, fbs_p_baci_trade | n/a | n/a | fbs is primary; fbs_p_baci_trade runs only with trade source baci |
exclude_plant_origin | no | n/a | n/a | FBS items whose commodity_attr.plant_origin is listed stay out; an item without a commodity_attr row reads unknown |
fbs_datasets | FBS | n/a | n/a | faostat_fbs dataset codes read; FBSH stays out because of the 2010 method break |
forest_datasets | FO | n/a | n/a | faostat_forestry dataset codes read |
mean_years | 3 | n/a | years | the mean period covers the latest such years; the ratio of the mean P, M and X |
min_coverage | 0.9 | 0 to 1 | n/a | M3 minimum value share of BACI flows that carry a quantity |
min_year_coverage | 0.9 | 0 to 1 | n/a | places with data in a year over the best-covered year |
n_years | 5 | n/a | years | latest years whose place coverage reaches min_year_coverage (04 section 1.9) |
Assumptions
- structural: IDR = M / (P + M - X) and SSR = P / (P + M - X) (FAO definitions), per country, item and year in the units of 1 basis; P + M - X of 0 or less, with a value within 1e-12 of the largest term read as 0, leaves both ratios absent (reason denominator_zero), X above P keeps IDR above 1 with flag F_REEXPORT, and M reported as 0 gives IDR 0.
- data: Primary basis: FAOSTAT Food Balance Sheets, new methodology (dataset FBS, 2010 onward), elements 5511 production, 5611 import quantity and 5911 export quantity in tonnes of the item's primary equivalent. FBSH stays out of the default run because of the 2010 method break.
- data: Forest items read FAOSTAT FO production, import quantity and export quantity in m3 where the 3 exist for the cell, else in t; P, M and X of 1 cell share 1 unit.
- data: A missing P, M or X (no current row, a flag M row with no value, or a row without a central value) of a forest item, and of an FBS year the supply identity does not read, leaves the ratios absent with reason_code R_NO_ROW (04 section 1.7, M1 and M2).
- data: Third zero convention, limited to the FBS years of this method (decision m2-fbs-identity-closes-2026-11-04; 04 section 1.7, M2): a missing P, M or X reads 0 with flag F_ABSENT_AS_ZERO where the cell holds S (element 5072, var:fbs.stock_var_t) and D (element 5301, var:fbs.domestic_supply_t) and |P + M - X - S - D| is at most 2.5 kt with the missing terms at 0, the rounding of 5 terms published in 1000 t; the sign is D = P + M - X - S. FAOSTAT documents no such convention, so this row cites the ruling and the cell's own S and D rows, which are inputs of the cell, and no documentation snapshot. Where 2 or 3 terms are missing the test bounds only their net. details.bases.fbs carries absent_as_zero (the terms) and identity_gap_t. A cell with no S or no D cannot be tested and stays absent with reason_code R_NO_ROW, with identity_lacks in its details; a cell open past the line stays the same way, with identity_open. A 3-year mean counts a year's zero as held and carries the flag and the terms per year. The zeros then meet the ratio rules in their order: denominator_zero first, then F_REEXPORT, so P read as 0 with X above 0 sets F_REEXPORT.
- scope: Years: the 5 latest years whose count of places with data reaches 0.90 of the best-covered year, and 1 mean period over the 3 latest such years, computed as the ratio of the mean P, M and X and only when each of the 3 years holds all 3 inputs.
- scope: Cells: an item and place with rows in the datasets read, in any year, hold a cell in each of these years and in the mean period. Where the rows end before a period the cell reads absent with reason_code R_NO_ROW and lists the snapshots it searched as inputs (04 section 1.7, M1 and M2). A place with place_attr.valid_to stops at that date (decision c02-former-state-valid-to-2026-11-04): it writes no cell for a year that begins after it and no mean cell for a window that ends after it.
- data: FBS publishes P, M and X in 1000 t, so each carries up to 0.5 kt of rounding and P + M - X up to 1.5 kt. A value of an FBS item whose denominator is at or under 1.5 kt keeps its value and carries flag F_DENOMINATOR_IN_ROUNDING in its details. Forest items take no such flag, since FO is not published in 1000 t.
- scope: Places: countries, territories and former countries. FAOSTAT area 351 (China, the sum of areas 41, 96, 128 and 214), the other aggregate areas below 5000 of C01 (261, 265, 266, 268, 269, 336, 357 and 420) and area codes 5000 and above are aggregates and stay out. Items: those with a production series; FBS items whose commodity_attr.plant_origin is listed in the parameter exclude_plant_origin (default 'no') stay out; FBS group items (29xx) with a production series stay in as FAOSTAT publishes them.
- scope: A place with production, import or export rows in FBSH and no such row in FBS, still existing in the first year of the run, has no cell of its own: 1 result_absent row on var:idr.country_item (reason no_input, R_NO_ROW; subject and place the place) carries its coverage note in details.coverage_note. Its ratios stay absent; nothing is read as 0 (04 section 1.7, M1 and M2).
- data: Alternative basis psd: USDA PSD production, imports and exports on the 1 PSD subject the FBS item reaches through crosswalk links of status unique (1 or 2 hops); a marketing year maps to the calendar year in which it begins (flag F_MY_ALIGNED).
- data: Alternative basis fbs_p_baci_trade, run only with trade source baci: FBS production with imports and exports from BACI reconciled quantities of the item's HS6 lines (crosswalk shares of status unique, apportioned or modelled_split, 1 or 2 hops), converted to primary equivalent through cur_conversion factors of basis primary_equivalent.
- data: BACI convention (04 section 1.7, M2): a line with no flow into or out of a place counts as no flow recorded when the place reports or is reported in at least 1 current BACI flow that year; otherwise the basis is missing for the cell. A linked line absent from the BACI data of its edition is outside BACI's load scope and leaves the basis not assessed for the item. A cell that uses the convention lists the BACI documentation snapshot as evidence; each cell whose item reaches BACI lines lists the BACI data snapshots as inputs, so its licence mask carries BACI's class.
- dependence: Each basis gives its own ratios from its own P, M and X; the published range is the minimum and maximum across complete bases with FBS as central (04 section 1.5).
Tested domain
From the parameter ranges: min_coverage 0 to 1; min_year_coverage 0 to 1.
What this method leaves out
- Stock changes (FBS element 5072) stay outside the FAO ratio and enter only the test of the FBS supply identity. Re-exports are kept and flagged F_REEXPORT
- they are not netted out. Trade inside a bloc counts as trade. The product mix inside 1 FBS item is not resolved. Quality and price differences between domestic and imported product are out of scope.
Inputs
Variables
Version history
| Version | Status | Released | Replaces | Conclusions in this build | Run review |
|---|---|---|---|---|---|
| 1.6.0 current | in use | 11 Oct 2026 | n/a | 180,202 | confirmed: a run review by a model (antigravity, model gemini-4-carbon-high), 13 Nov 2026 |
Conclusions in this build
| Conclusion | First variable | Value | Period | Status |
|---|---|---|---|---|
| Import dependency and self-sufficiency of Wood-based panels in Bahamas, Y2022 | IDR | AI-reviewed run | 2022 | proposed |
| Import dependency and self-sufficiency of Wood pellets in Eritrea, Y2024 | no input row | proposed | ||
| Import dependency and self-sufficiency of Beans in Zimbabwe, R2021-2023 | IDR | AI-reviewed run | 2021 to 2023 | proposed |
| Import dependency and self-sufficiency of Oranges, Mandarines in Russian Federation, Y2020 | SSR | AI-reviewed run | 2020 | proposed |
| Import dependency and self-sufficiency of Coconuts - Incl Copra in Bangladesh, R2021-2023 | SSR | AI-reviewed run | 2021 to 2023 | proposed |
| Import dependency and self-sufficiency of Fibreboard in Chad, Y2023 | no input row | proposed | ||
| Import dependency and self-sufficiency of Vegetables, other in United Republic of Tanzania, Y2022 | IDR | AI-reviewed run | 2022 | proposed |
| Import dependency and self-sufficiency of Sesameseed Oil in Hungary, Y2023 | its denominator is zero | proposed | ||
| Import dependency and self-sufficiency of Roots, Other in Democratic People's Republic of Korea, Y2019 | no input row | proposed | ||
| Import dependency and self-sufficiency of Chemical wood pulp; sulphite; unbleached (1961-2016) in Türkiye, Y2020 | no input row | proposed | ||
| Import dependency and self-sufficiency of Chemical wood pulp; sulphate; unbleached in Democratic People's Republic of Korea, Y2024 | no input row | proposed | ||
| Import dependency and self-sufficiency of Glue-laminated timber (glulam) in Saint Pierre and Miquelon, Y2024 | no input row | proposed |