# Statistical Analysis of Coffee Brewing Experiments

Learn to analyze coffee brewing experiments with statistical methods. Design trials, interpret TDS and sensory data, and make reliable brew choices.

Statistical analysis of [coffee brewing experiments](/articles/how-to-plan-a-one-variable-coffee-brewing-experiment/) uses data to separate real effects from random variation. You can apply simple statistics to your [brew log](/articles/coffee-log-book/) to find what matters. This article shows you how to design experiments and interpret the numbers. 

- Design experiments with one variable changed at a time and repeat each brew.
- Use descriptive statistics to summarize extraction and sensory panel data.
- Apply analysis of variance to compare brew outcomes across settings.
- Check inter-rater agreement before trusting panelist scores.
- A brew log with repeated trials reveals trends that single brews hide.
 

## Why Statistical Analysis Matters for Coffee Brewing 

Statistical analysis turns subjective impressions into testable evidence. A coffee brewer often changes one variable and tastes a difference. The difference may come from the variable or from normal brew-to-brew variation. 

Random variation affects every manual brew. Water temperature, pour speed and bean age shift slightly. Statistical methods estimate how much difference random variation creates. 

You can then see whether a change in brew ratio has an effect beyond that noise. This helps you choose brewing variables with confidence. 

## Designing a Coffee Brewing Experiment 

A good experiment changes one brewing variable at a time. Keep all other variables as constant as you can. This isolates the effect of that single factor. 

Repeated trials are essential. Brew the same recipe several times and measure each cup. The variation within identical brews shows your baseline noise. 

Record everything in a brew log. Note the date, bean, grind size, water temperature, ratio and any observations. Complete records make statistical analysis possible. 

- Choose one independent variable to test
- Fix all other brewing parameters
- Brew at least three repeats per setting
- Randomize the order of brews
- Record all measurements and observations
 

## Collecting Brew Data and TDS Measurements 

Extraction data often include total dissolved solids (TDS) measured with a refractometer. TDS tells you how much coffee dissolved in the cup. Extraction yield follows from TDS and brew ratio. 

Measure TDS for every brew at the same temperature. Calibrate your refractometer before each session. Small errors in TDS measurement can mask real differences. 

Sensory panel data use structured scores. A sensory panel rates aroma, acidity, body, sweetness and aftertaste. Use a fixed scale and train panelists on reference samples. 
| Measurement Type | Tool | Notes | 
| TDS | Refractometer | Calibrate before use | 
| Extraction yield | Calculated | Depends on TDS and brew ratio | 
| Sensory scores | Panel | Use a consistent scale |  

## Descriptive Statistics for Brew Data 

Descriptive statistics summarize your brew outcomes. The mean tells you the average TDS or sensory score for each setting. The standard deviation shows how much repeated brews vary. 

Calculate the mean and standard deviation for each group of repeated trials. A large standard deviation means your brewing is inconsistent. You may need to tighten your technique before comparing groups. 

Plot the data as a simple bar chart with error bars. One standard deviation above and below the mean shows the range. If error bars for two groups overlap, the difference may not be meaningful. 

## Comparing Brews with Analysis of Variance 

Analysis of variance (ANOVA) tests whether the means of several groups differ beyond chance. You can use ANOVA to compare three or more brew settings at once. It gives a p-value for the overall effect. 

A small p-value, typically below 0.05, suggests a real difference exists. You then run post-hoc tests to see which settings differ from each other. Tukey's test is common for this purpose. 

ANOVA assumes your data are independent, normally distributed and have equal variances. Check these assumptions or use a non-parametric alternative. Violations can lead to wrong conclusions. 

## Analyzing Sensory Panel Data 

Sensory panel data need checks for agreement among panelists. Inter-rater agreement tells you whether panelists score the same brew similarly. Low agreement means the panel needs more training or clearer definitions. 

Use the intraclass correlation coefficient for continuous scores. For rankings, use Kendall's W. These statistics range from 0 to 1, with higher values showing better agreement. 

After checking agreement, average the panelist scores for each brew. Then apply ANOVA or a non-parametric test like Friedman's test. Panel data often violate normality, so choose the test carefully. 

## Tracking Changes and Detecting Trends 

A brew log with repeated entries lets you track changes over time. Plot your TDS or sensory scores against brew number or date. Look for a gradual shift that indicates a trend. 

Simple linear regression can test whether the slope is different from zero. But be cautious: coffee beans age and seasons change. These factors can create trends unrelated to your brewing variable. 

Control charts are useful for monitoring a stable process. Mark the mean and control limits on your chart. Points outside the limits signal that something changed. 

## Sample Size and Statistical Power 

Sample size determines your ability to detect a real difference. Small samples often miss effects that are practically important. Larger samples give more precise estimates. 

Statistical power is the probability of finding an effect when one exists. Power increases with sample size and effect size. You can compute the required sample size before starting an experiment. 

For home brewing, aim for at least five repeats per setting. That balances effort with enough data for simple statistics. More repeats yield more reliable conclusions. 

## Coffee Brewing Statistics Questions 

### What is statistical analysis in coffee brewing? 

Statistical analysis in coffee brewing applies statistical methods to brew data to distinguish real effects from random variation. It includes designing experiments, collecting measurements and using tests like ANOVA. The goal is to make objective decisions about brewing variables. 

### How do you analyze coffee extraction data? 

You analyze coffee extraction data by summarizing measurements with descriptive statistics and comparing groups with ANOVA. TDS and extraction yield are key variables. Plot means with error bars and check for overlaps. 

### What statistical test compares coffee brews? 

Analysis of variance (ANOVA) compares the means of three or more coffee brews. For two brews, a t-test works. Non-parametric tests like Kruskal-Wallis are alternatives when assumptions fail. 

### How do you evaluate a sensory panel's reliability? 

You evaluate a sensory panel's reliability by calculating inter-rater agreement. Use intraclass correlation for continuous scores or Kendall's W for rankings. High agreement means panelists score brews consistently. 

### What is a good sample size for coffee experiments? 

A good sample size for coffee experiments is at least five repeated brews per setting. This provides enough data for meaningful descriptive statistics and simple tests. Larger samples increase statistical power. 

### How can I detect trends in my brew data? 

You can detect trends in brew data by plotting measurements over time and fitting a linear regression. Control charts help identify points outside expected variation. Remember to account for bean age and environmental changes.
