Description
Calculate 100 × exportPriceIndex / positive importPriceIndex, then multiply by suppliedWeight in [0, 1] for weightedContribution.
A trade index or share compares values on a declared price, currency, period, and coverage basis. Changing a denominator or quote orientation can change the interpretation substantially.
Calculate 100 × exportPriceIndex / positive importPriceIndex, then multiply by suppliedWeight in [0, 1] for weightedContribution.
When to use this tool
Use Terms Of Trade Index Contribution when you need an explicit trade-ratio or index component.
How to use the tool and how it works
- Enter exportPriceIndex, importPriceIndex, suppliedWeight. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read ratioIndex, weightedContribution. Use the output convention below.
Calculate 100 × exportPriceIndex / positive importPriceIndex, then multiply by suppliedWeight in [0, 1] for weightedContribution.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| exportPriceIndex | Export Price Index | Required. Finite number; minimum 0. |
| importPriceIndex | Import Price Index | Required. Finite number; strictly above 0. |
| suppliedWeight | Supplied Weight | Required. Finite number; minimum 0; maximum 1. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| ratioIndex | Ratio Index | Required. Finite number. |
| weightedContribution | Weighted Contribution | Required. Finite number. |
{
"input": {
"exportPriceIndex": 120,
"importPriceIndex": 100,
"suppliedWeight": 0.25
},
"output": {
"ratioIndex": 120,
"weightedContribution": 30
}
} Limitations and assumptions
- This is one ratio contribution, not automatically a valid aggregate terms-of-trade index or an estimated economic effect.
- 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
Check source statistical definitions and compatible bases before comparing countries, partners, or time periods.
References
Similar or alternative tools
- Terms Of Trade Index One Basket Term
Multiply positive referenceScale by exportPriceIndex / importPriceIndex for termsOfTrade.
- Trade Weight Price Base Share
Require valueAtBasePrices between zero and positive totalBaseValue, then divide for share.