Coffee Price Determinants

Advanced econometric analysis, 1994–2022

Explore the Analysis ↓

Project Overview

Key Findings

Model Diagnostics and Visuals

Residuals Plot
Q-Q Plot

Sample Code (R)

# Compare models
model_with_year <- lm(`Coffee Price` ~ Year + `Exchange rate` + `World Population` + `Domestic Consumption` + Imports, data = train)
model_without_year <- lm(`Coffee Price` ~ `Exchange rate` + `World Population` + `Domestic Consumption` + Imports, data = train)

# ANOVA comparison
anova(model_without_year, model_with_year)

# Variable importance
library(relaimpo)
calc_relimp(model_with_year, type = "lmg", rela = TRUE)
  

Contribution to the International Coffee Organization (ICO)

I contributed to the ICO Global Coffee Funding Mechanisms report (June 2024), by writing the boxes and providing insights on market dynamics and price drivers in the coffee industry.

← Back to Portfolio