Adan Martinez-Ponce

DATA 400 Senior Capstone | Spring 2026

Project: Coffee Price Forecasting

Overview

For my Senior Capstone, I am building a Predictive Model to analyze how Inflation price momvements can specifically impact the coffee supply chain.

The Problem

Coffee prices are volatile and heavily influenced by supply shocks (e.g., frosts in Brazil or production booms in Vietnam). My goal is to determine/ predict a price range of coffee from the price shock of other factors such as coco beans, milk, sugar. Once I have the correct formula for this, I will expand to Fred 50+ years of price data to predict future prices.

"A predictive dashboard that models how different shocks, like a frost in Brazil or a shipping crisis in Vietnam, or a sugar shortage can impact the price of coffee."

Tools

I currently have used 4 tools so far:

Methodology

I am developing an interactive html dashboard with a python script taking the users inputs and running the model in the background. The model is dynamic and has a set formula and will enter in the users inputs and calculate out answer. Once the model is successfull and formula is set, then I will expand to previous 50+ year dataset and expand to international impacts. The model is trained on 30 years of historical data from:

Current Status

I'm currently testing the virtual python environment as this is needed for python script to run live on html dashboard. It is a little hard to test as there are some hoops to have to jump through such as working with flask and having to be on campus as my vpn does not work.


Project Timeline

12-Week Capstone Timeline

Model 1: Local Micro Market (Price Per Cup)

This data shows local retail prices and is used to predict the sticky menu pricing of local restaurants.

Variable Source / Domain
Median Coffee Price Toast POS Restaurant Data
CPI_USA FRED: Consumer Price Index (All Urban Consumers)
CPI_Coffee FRED: CPI for Roasted Coffee
Retail Milk FRED: Milk (Fresh, Whole, Fortified)
Retail Sugar FRED: Sugar (White, All Sizes)

Local Data Preview (Q1 2026)

Date Median Price CPI_USA Milk ($) Sugar ($)
Jan 2026 3.61 326.58 4.100 1.022
Feb 2026 3.65 327.46 4.026 1.016
Mar 2026 3.69 330.30 4.067 0.996

Model 2: Global Macro Market (Price Per Pound)

This data shows wholesale international markets and is used in the ARIMA forecasting model.

Variable Source / Domain
Global Arabica Coffee FRED: Global price of Coffee, Other Mild Arabica
Global Sugar FRED: Global price of Sugar, No. 11
Global Cocoa FRED: Global price of Cocoa

Global Data Preview (Q1 2026)

Date Global Arabica ($/lb) Global Sugar ($/lb) Global Cocoa ($/mt)
Jan 2026 3.20 0.21 4201
Feb 2026 3.28 0.22 3673
Mar 2026 3.34 0.20 3255

Project Source Files & Code

Below are the raw data files, scripts, and frontend code used to build and validate this capstone project: