IMF Primary Commodity Prices – Monthly Time Series (53 Commodities, 10 Indexes)
- Rows
- 449
- Columns
- 64
- Data range
- 1980-02-01 to 2017-06-01
- Auto-refresh
- Re-checks its source every 14 days
Monthly prices for 53 commodities and 10 indexes (iron, copper, wheat, gold, oil, aluminum, cocoa, rubber, etc.) from 1980 onward, with 2016 as base year for indexes. Sourced from the International Monetary Fund.
AI analysis
IMF Primary Commodity Prices – Dataset Analysis
1. Dataset Overview and Correlation Potential
This dataset represents the IMF's monthly primary commodity price series, sourced from the canonical GitHub repository at https://raw.githubusercontent.com/datasets/commodity-prices/main/data/commodity-prices.csv, which reflects ongoing maintenance by the Open Data community against IMF primary source feeds. Spanning from 1980 onward across 449 monthly observations, it covers 53 individual commodities — ranging from energy (crude oil, natural gas, coal) to agricultural products (wheat, cocoa, soybeans) and metals (copper, nickel, zinc) — alongside 10 composite price indexes. With 2016 as the index base year, it is exceptionally well-suited for cross-commodity correlation analysis, enabling researchers to study how price shocks propagate across sectors (e.g., oil → fertilizer → food prices), test commodity super-cycle hypotheses, and examine the co-movement between industrial metals and global growth proxies. The 44-year monthly cadence provides sufficient statistical power for time-series modeling, cointegration testing, and regime-change detection around known macro events (2008 financial crisis, COVID-19, the 2022 energy shock).
---
2. Data Quality Observations
The overall data quality is mixed but workable, with the most significant concern being the 1,996 null cells across 64 columns — a non-trivial ~6.9% null rate across the full matrix. Three columns are effectively unusable for standalone analysis: Coffee Robusta (446 nulls, 99.3%), Oil Dubai (438 nulls, 97.6%), and Oranges (431 nulls, 96.0%). These columns should be dropped or treated as supplementary reference-only fields unless a specific sub-period analysis is intended. Rice (229 nulls, ~51%) and Uranium (393 nulls, 87.5%) also carry severe coverage gaps, suggesting these series were introduced or discontinued mid-dataset rather than tracked from 1980. A further data-type concern is noteworthy: several columns that should logically be numeric — All Commodity Price Index, Non-Fuel Price Index, Food and Beverage Price Index, Food Price Index, Fuel Energy Index, Sugar European import price, and multiple natural gas series — are typed as String, indicating likely formatting artifacts (commas, currency symbols, or mixed text) in the raw CSV that would require parsing before any numeric analysis. Duplicate row counts are flagged as pending Phase D recomputation, which should be resolved before any time-series integrity checks are run.
---
3. Key Column Distributions and Notable Statistics
Several columns stand out for their distributional characteristics and analytical interest:
- Crude Oil (Petroleum, simple average): Mean of \$40.89 vs. median of \$28.99, with a right skew of 1.25 and 13 outliers — a classic commodity price signature reflecting prolonged low-price regimes punctuated by sharp spikes. The Q1/Q3 spread (\$18.50–\$54.36) confirms that most of the 44-year history sits well below recent price levels. - Nickel: The most extreme distribution in the dataset — mean \$11,040 vs. median \$8,297, skew of 1.98, and 20 outliers, with a max of \$51,783. This almost certainly captures the March 2022 short-squeeze event on the LME, making it a powerful stress-test case for outlier-robust modeling. - Copper: Right-skewed (skew=1.02) with a mean of \$3,513 and a wide IQR (\$1,685–\$5,216), well-known as a leading economic indicator ("Dr. Copper"), making it a high-priority variable for correlation with industrial output or PMI data. - Rubber: Skew of 1.94 with 38 outliers and a max of 280.79 vs. a mean of 67.47 — the outlier count is the highest among non-integer commodity series and warrants careful winsorization before regression. - China Iron Ore Fines 62% FE: Median of just \$13.41 against a max of \$187.18 and 60 outliers, reflecting its limited historical coverage (the series only became actively traded/reported in the late 2000s), explaining the severe median-mean divergence. Its 130 distinct values against 449 rows further suggests sparse early-period reporting. - Sugar U.S. import price: Skew of 2.22 with 72 outliers — the highest outlier count among well-covered decimal columns — reflecting protectionist pricing floors that create an artificially compressed distribution with periodic spikes. - Beverage Price Index and Agricultural Raw Materials Index are the two most normally distributed composite series (skew 0.167 and 0.091 respectively), making them the cleanest candidates for parametric correlation studies.
---
4. Recommended Join Key Columns
The Date column is the unambiguous primary join key (0 nulls, 449 distinct values — perfectly unique, confirming monthly granularity with no duplicates on this dimension). For cross-dataset joins, it should be standardized to ISO 8601 format (YYYY-MM-01) to ensure compatibility with macroeconomic release calendars. Secondary join candidates for enrichment datasets include:
| Key Type | Column / Field | Notes | |---|---|---| | Temporal (primary) | Date | Monthly, unique, no nulls | | Commodity-level | Commodity name strings | Requires normalization for fuzzy matching | | Index-level | Index columns (after type-fix) | Useful for category-level joins | | Geo-implicit | Natural Gas (Russian/German border, Henry Hub, Japan LNG) | Geography embedded in column name |
For multi-dataset work, a commodity classification lookup table (e.g., mapping each commodity to SITC or HS codes) would dramatically expand join surface area with trade, production, and inventory datasets.
---
5. Suggested Paired Datasets for Correlation Discovery
The richness of this dataset makes it an excellent anchor for a multi-source analytical hub. The most productive pairings would be:
1. World Bank Global Economic Monitor / IMF World Economic Outlook — Correlate commodity price cycles with GDP growth, inflation (CPI/PPI), and global trade volumes to test the commodity-growth feedback loop. Oil and metals prices are particularly strong candidates here. 2. USDA WASDE (World Agricultural Supply and Demand Estimates) — Monthly grain supply/demand balances for wheat, corn, and soybeans would allow supply-shock modeling against the price series, with the same monthly cadence enabling direct alignment. 3. US Dollar Index (DXY) / Fed Funds Rate historical series — Nearly all commodities are USD-denominated, making the dollar's strength a critical confounding variable. Partial correlation analysis controlling for DXY would isolate "real" commodity demand signals. 4. EIA (U.S. Energy Information Administration) Petroleum & Natural Gas inventories — Crude oil inventory levels paired with the three oil price series (Brent, WTI, simple average) would support supply-demand spread analysis and calendar-spread modeling. 5. Climate and Weather Anomaly Data (NOAA/ERA5) — Agricultural commodities (wheat, corn, soybeans, rubber, cocoa) are strongly sensitive to El Niño/La Niña cycles and regional drought indices. Lagged correlation with ENSO indices or precipitation anomalies could reveal significant predictive relationships, particularly for tropical commodities like cocoa and palm oil.
Columns
- Date (date)
- All Commodity Price Index (string)
- Non-Fuel Price Index (string)
- Food and Beverage Price Index (string)
- Food Price Index (string)
- Beverage Price Index (decimal)
- Industrial Inputs Price Index (decimal)
- Agricultural Raw Materials Index (decimal)
- Metals Price Index (decimal)
- Fuel Energy Index (string)
- Crude Oil petroleum (decimal)
- Aluminum (decimal)
- Bananas (decimal)
- Barley (decimal)
- Beef (decimal)
- Coal (decimal)
- Cocoa beans (decimal)
- Coffee Other Mild Arabicas (decimal)
- Coffee Robusta (integer)
- Rapeseed oil (decimal)
- Copper (decimal)
- Cotton (decimal)
- Fishmeal (decimal)
- Groundnuts peanuts (decimal)
- Hides (decimal)
- China import Iron Ore Fines 62% FE spot (decimal)
- Lamb (decimal)
- Lead (decimal)
- Soft Logs (decimal)
- Hard Logs (decimal)
- Maize corn (decimal)
- Natural Gas - Russian Natural Gas border price in Germany (decimal)
- Natural Gas - Indonesian Liquefied Natural Gas in Japan (string)
- Natural Gas - Spot price at the Henry Hub terminal in Louisiana (string)
- Nickel (decimal)
- Crude Oil - petroleum-simple average of three spot prices (decimal)
- Crude Oil - petroleum - Dated Brent light blend (decimal)
- Oil Dubai (integer)
- Crude Oil petroleum - West Texas Intermediate 40 API (decimal)
- Olive Oil (decimal)
- Oranges (integer)
- Palm oil (decimal)
- Swine - pork (decimal)
- Poultry chicken (decimal)
- Rice (integer)
- Rubber (decimal)
- Fish salmon (decimal)
- Hard Sawnwood (decimal)
- Soft Sawnwood (decimal)
- Shrimp (decimal)
- Soybean Meal (decimal)
- Soybean Oil (decimal)
- Soybeans (decimal)
- Sugar European import price (string)
- Sugar Free Market (decimal)
- Sugar U.S. import price (decimal)
- Sunflower oil (decimal)
- Tea (decimal)
- Tin (decimal)
- Uranium (integer)
- Wheat (decimal)
- Wool coarse (decimal)
- Wool fine (decimal)
- Zinc (decimal)