Description
Return the separate shares and exportShare-importShare.
Population and eligibility summaries depend on who enters the numerator and denominator. Weighted shares can differ from unweighted averages, and source coverage is a different property from representativeness or outcome quality.
Return the separate shares and exportShare-importShare.
When to use this tool
Use Global Trade Country Share Term when you need a population count or share on a declared inclusion basis.
How to use the tool and how it works
- Enter countryExports, worldExports, countryImports, worldImports. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read exportShare, importShare, shareGap. Use the output convention below.
Require positive world export and import totals and country quantities within each. Return the separate shares and exportShare-importShare.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| countryExports | Country Exports | Required. Finite number; minimum 0. |
| worldExports | World Exports | Required. Finite number; strictly above 0. |
| countryImports | Country Imports | Required. Finite number; minimum 0. |
| worldImports | World Imports | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| exportShare | Export Share | Required. Finite number. |
| importShare | Import Share | Required. Finite number. |
| shareGap | Share Gap | Required. Finite number. |
{
"input": {
"countryExports": 200,
"worldExports": 1000,
"countryImports": 150,
"worldImports": 1000
},
"output": {
"exportShare": 0.2,
"importShare": 0.15,
"shareGap": 0.05000000000000002
}
} Limitations and assumptions
- Trade values use compatible currency, period, and coverage bases; these shares are not trade balance amounts, competitiveness measures, or causal effects.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Reconcile the source population and weighting scheme before comparison. Use a complete statistical analysis when sampling uncertainty, demographic interpretation, or causal explanation matters.
References
Similar or alternative tools
- Cross Country Per Capita Rate Base Factor
Scale each events/population ratio by rateBase and return firstRate-secondRate.
- World Population One Region Share
Return current population share and share after each supplied fractional growth factor.