Description
Return sum(yield*area*price) and subtract supplied referenceRevenue.
Agricultural economic summaries distinguish physical quantities, per-area yields, prices, covariance and index weights. One revenue or weighted-price contribution is not a complete index, profit account or estimated demand response. Nominal and imputed values require a consistent currency, quantity and period basis.
Return sum(yield*area*price) and subtract supplied referenceRevenue.
When to use this tool
Use Crop Yield Price Weight Gap when checking the stated supplied value, index-weight or economic-response contribution.
How to use the tool and how it works
- Enter yields, areas, prices, referenceRevenue. Follow any array-alignment requirements below. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read totalRevenue, revenueGap. Use the output convention below.
Require aligned nonnegative yields per area, areas and prices per output unit. Return sum(yield*area*price) and subtract supplied referenceRevenue.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| yields | Yields | Required. Array of finite number; maximum items 256. |
| areas | Areas | Required. Array of finite number; maximum items 256. |
| prices | Prices | Required. Array of finite number; maximum items 256. |
| referenceRevenue | Reference Revenue | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| totalRevenue | Total Revenue | Required. Finite number. |
| revenueGap | Revenue Gap | Required. Finite number. |
{
"input": {
"yields": [
2,
3
],
"areas": [
10,
5
],
"prices": [
4,
2
],
"referenceRevenue": 100
},
"output": {
"totalRevenue": 110,
"revenueGap": 10
}
} Limitations and assumptions
- The reference may be signed; no yields, prices, statistical weights or market outcomes are inferred.
- 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
Use verified farm/market data and a complete appropriate accounting or statistical model for economic estimates and decisions.
References
Similar or alternative tools
- Crop Yield Price One Sensitivity Term
Return their product, area*yield as priceDerivative and area*price as yieldDerivative.
- Crop Share Price Contribution
Return quantity*share and attributed quantity*price.