Module 15: Background You’ll Need 3

  • Find the linear regression equation and interpret the slope and intercept

Coffee Ratings

Research question: Can we predict a coffee’s aftertaste based on its acidity?

To answer the research question above, let’s look at the Coffee Ratings data set[1]. The data set contains information about the origin, processing, and taste quality for a sample of 1,338 coffees. The taste quality characteristics are on a scale of 0–10, as determined by a panel of expert coffee tasters.

  • acidity: Measure of acidity (a sharp, tangy feeling, like when biting into an orange[2]); higher values correspond to a more acidic taste
  • aftertaste: Measure of taste after you take a sip of the coffee; higher values indicate better quality taste

Data set: Coffee Ratings


[Trouble viewing? Click to open in a new tab.]


  1. coffee-quality-database. (2018, June 16). GitHub. Retrieved from https://github.com/jldbc/coffee-quality-database
  2. Coffee cupping. (2006, July 26). In Wikipedia. https://en.wikipedia.org/wiki/Coffee_cupping