Brewmageddon: How IPAs took over the Beeriverse

Prelude

In this datastory, we will try to understand which beer styles are popular, but also factors that favored their popularity. To do so, we will use data from two major rating websites from the Beeriverse, BeerAdvocate and RateBeer. These websites populate the Beeriverse with more than 100 beer styles, thousands of beers and millions of reviews. The reviews span from the early 2000’s to 2017 and consist of grades given by the reviewer and an optional text describing their opinion.

What styles of beers are popular?

Beer style analysis

After years of continuous progress in the pursuit of crafting the finest beers, a lot of styles emerged, increasing the size of the Beeriverse up to more than 100 styles. But are all these beer styles equally popular ? Let’s have a look at distribution of ratings and number of beers per beer style.
We see that several IPAs are greatly represented on both websites as well as Pale Ales and Stouts.
Moreover, some styles share similarities like Imperial Stout and Stout. Hence, we opted to consolidate styles into broader categories. We drew inspiration from the BeerAdvocate website, which has already established some "bigger style" groupings; we now have a total of fifteen larger styles. This approach enables us to present a more streamlined version of the Beeriverse for enhanced visualization.
From this plot, it's evident that specific beers attract more attention than their counterparts, notably India Pale Ales, Pale Ales, Pale Lager, Strong Ales and Stouts. Notably, Indian Pale Ales (IPAs) stand out prominently, accumulating almost 3 million ratings. This leads us to ponder: could IPA be the Beeriverse messiah?
To delve deeper into Beeriversers' sentiments toward these discernible beer styles from the previous graph, we conducted a quantitative analysis by comparing the mean grades assigned to each style using Tukey's HSD test.

Grade Analysis

On these heatmaps, we can observe that every beer style has a mean significantly different from other beer styles. What is interesting is the value of Meandiff for a given cell. A positive value signifies that the beer style defining the line has a higher mean than the beer style defining the column and vice versa. What we can observe is that IPAs have slightly lower grades than Pale Lagers and Pale Ales, however these differences are not as large as differences observed between other styles with Pale Lagers and Pale Ales. Given that it is complicated to draw meaningful conclusions from this simple test, we will explore more creative metrics to try to quantify IPAs popularity.

Language analysis

Let’s see what the Beeriversers from BeerAdvocate think of this by looking at their reviews. First of all, we have found that 99.99% of the comments on both sites are written in English, so we can ignore other languages in our future analysis. Below you can observe word clouds obtained with text from positive (grade>4) and negative (grade<1.5) reviews, as well as reviews for IPAs and Stouts. We compare IPAs and Stouts as these are two beer types with very different characteristics and we might be able to observe interesting discrepancies.
Image 1
Good reviews
Image 2
Bad reviews

Let’s observe words that are highly represented in positive reviews, but not in negative reviews. We can notice the presence of interesting words such as “nice”, “malt”, “hops” or “carbonation”. We can hypothesize that these words represent beer characteristics that are appreciated. For example we can see that malts and hops content are factors influencing Beeriversers appreciation towards a beer (even more considering that these words are quite small in the bad reviews word cloud).
Image 3
IPA reviews
Image 4
Stout reviews

Looking at the words most frequently mentioned in comments on IPAs, we can identify that these are notoriously hoppy, represented by "hops" and "hop" in the first 3 words. This might be a factor explaining the IPA popularity, since people seem to enjoy beers with hoppy characteristics. We can also notice the presence of the word “nice” that seems to be a good indicator of a beer's popularity. In contrast, we cannot find any word associated exclusively with bad reviews, such as “bad” or “water”. These observations suggest that in general, IPAs are quite appreciated by Beeriversers.
Then, if we take a look at Stout reviews, we see that many wordsare exclusive to this style of beer. This may come as surprising, as we saw that stouts seemed to be quite popular given the number of ratings they received. However, considering that stouts have a unique taste, very different from other beers, it makes sense that the vocabulary used to describe them is also unique.
Good Reviews Bad Reviews IPA Reviews Stout Reviews
Head Head Hops Chocolate
Nice Light Head Dark
Good Smeel Hop Coffee
Dark Bottle Nice Head
Sweet Bad Citrus Black
Malt Good Malt Roasted
Light Drink Good Nice
Hops Flavor Orange Good
Well Water White Sweet
Carbonation Even Light Brown
Words that appear in good reviews but not in bad ones
Words found only in good and IPA reviews
Words exclusive to stout reviews

Ratings analysis

Now that we have the intuition that the IPA is a popular beer style, let’s try to dive deeper in the understanding of this phenomenon. Even though tales about this style have been around for a long time, it seems that recently they are on many Beeriversers lips. Let’s confirm that by looking at the distribution of ratings per beer style in the past decades for the favorite beers. These were the beers that had a grade and score bigger than 75% of all beers.

It is only now that we look at this graph that we understand how much IPAs have taken over the Beeriverse. Since 2004, the number of rated IPAs hasn’t stopped growing, up to the point where, in 2017, more than 40% of beer rated were IPAs. Interestingly they started to be popular at the same time as stouts, however stouts made astonishing debuts, only to be slowly taken over by IPAs in the past years. Among other beer, Strong Ales also stand out, but it seems that their popularity peaked in the early 2000 and since subsequent ratings have shown a gradual decline.
Furthermore, having a closer look of the year-on-year rating increments we see that IPAs again showed the sharpest rise for 16 years. One might notice the astonishing growth of Pale Ales starting in 2010, potentially shaking up the Beeriverse.

Geographical analysis

With our conviction that IPA is the style of the moment in the Beeriverse, let’s try to understand how this happened. What were the key factors of this explosion? To answer this question, we can now try to take a look at the beeriverse from a geographical approach.
First of all, let’s see if we can identify a pattern at the scale of the world by displaying the IPA ratings for each years.

It is interesting to note that although IPAs are an English invention, they started to develop in the USA. In fact, before 2010, IPAs were almost exclusively rated in Canada and the U.S. After that, the trend started to spread to Europe, while remaining at its peak in America. As the density of ratings is enormous in the U.S., we shall have a closer look at what is happening there to understand if any state was influential in the IPAs explosion. Here we will only look at BeerAdvocate, as RateBeer's data is more European focused.
Examination of the map reveals that from 2009 to 2013 California and Pennsylvania, located on opposite coasts of the US, have significantly influenced the development of IPAs in the country. They were the only two states with more than 100 ratings in 2009 and were only caught up in 2013 by very large states such as New York, Massachusetts or Illinois. We can even hypothesize that, once IPAs gained popularity in states that had similarities with Europe (such as Massachusetts and New-York), IPAs started to gain popularity on the old continent.
However, one undeniable observation from this map is that California and Pennsylvania serve as the epicenter of IPA development. The trend then spread up the north-east coast and eventually crossed the Atlantic to reach European populations.

Social perspective

Fanbase

Geography alone is not enough to explain the boom of IPAs, because if a trend can spread from state to state and country to country, there must be underlying factors that explain why IPAs have conquered the hearts of the Beeriversers at lightspeed. A social aspect comes into play, the behavior of the Beeriversers. One might distinguish a normal Beeriverser and a fan, known as a BeerAficionado. A fan is defined as someone who gives more ratings than 75% of the users.
In the case of a beer trend, we want to look at fan groups and their preferred style of beer. We noticed that some Beeriversers were present on both sites and decided to keep their comments on only one of them to avoid duplicates. The following graph shows the combined fan base of both sites.
It's evident that IPA stands out as the preferred style among fans, showing a great enthusiasm for this type of beer. Additionally, Pale Lagers and Stouts also constitute big fanbases. But where do these BeerAficionados come from ? As mentioned, before the trend of IPA started in the United States. However, is it due to the country’s extensive brewery count and diverse beer styles ? Alternatively, could it be that the IPA fans are American ?
The BeerAficionados of IPA are primarily situated in the US. Now there is no doubt: the IPA trend exists and originated in the United States. Its American fanbase certainly played a pivotal role in initiating this trend.

Microbreweries

Another interesting aspect of a beer trend revolves around the breweries themselves. Not only can we differentiate large-scale factories from microbreweries based on their size, but their mentalities also set them apart. While larger beer factories prioritize product consistency and mass production, microbreweries prefer quality, flavor diversity, and unique recipes playing with different ingredients and techniques. The trend of microbreweries originated in the 80s in the United States and the United Kingdom. The term later evolved in the 20s into ‘Craft brewery’. Thus, could this trend be linked to our IPA trend ? To answer this question, let’s do some language processing and take a look at the reviews that speak about microbreweries.
In this analysis, we observe that the proportion of IPA reviews mentioning microbreweries is higher than the percentage of reviews discussing microbreweries across all beer styles. In fact there are only Pale Ales that seem to show the same affinity with the microbrewing culture as IPAs.
Chi-square statistic: 853.347
P-value: 1.361e-187
This difference in percentage was statistically different indicating a strong association between IPAs and microbreweries. This might suggest the contribution of a trend to the emergence and growth of another one.
In our case, the connection between IPAs and the already popular microbreweries could have played a role in fostering or influencing the growth of the IPA trend.

Prediction of the next trendy beer

As many wise Beeriversers reading our story, you probably cannot stop but wondering about the next trendy hoppy beverage. We were also puzzled by that question and tried to predict the course of the Beeriverse. We made the assumption that a beer as groundbreaking as IPAs should share some similar characteristics with it. The extent of such similarities might be out of our reach, hidden in the mysteries of the Beeriverse. To identify it more clearly we came across an Ale-chemist that provided us with dark potions labeled as feature selection and DBSCAN. It first helped us to narrow down the number of characteristics associated with beer styles. We then managed to group them according to their resemblance and obtained the following graph.
As you can see above, we tried to group beers by clusters based on the number of ratings and reviews, and the mean increase in number of ratings per year.
This analysis tends to group beers such as IPAs, Stouts and Pale Ales together, meaning that they all share similar properties. Once more we notice that Pale Ales seem to share a lot of common ground with IPAs. We got that intuition several times during our hoppy travel but this gives us a final hint on the fact that Pale Ales might be the next possible trendy beverage.

We tried to conduct a more thorough analysis to confirm this finding but unfortunately the Ale-chemist came back at us and restricted the memory capacity of our computers. We wanted to add the percentage of microbrewery-related terms in beer reviews but failed to do so. Therefore, our clustering capacity appears to be not as relevant as we thought, given the small number of features given to DBSCAN. We are well aware of the simplicity of this conclusion but we still wanted to share these insights with our fellow beeriversers.

Conclusion

Our journey through the Beeriverse comes to an end. We've been able to dissect popular beer styles and unravel the underlying factors dictating their popularity. One of the highlights of our analysis is that IPAs have emerged as a dominant force, captivating the hearts of beer lovers all over the world. The enthusiasm of beer lovers for IPAs, particularly in the USA, attests to the origin and growth of this trend.
Beyond geographical frontiers, social dynamics have come into play, highlighting the distinction between occasional beer lovers and fervent fans. These BeerAficionados, with their penchant for IPAs, Pale Lagers and Stouts, marked a turning point in the beer landscape. They brought their favorite beverages on a whole other level of popularity.
We also came upon locations where beer lovers in a quest for new flavors would meet. We investigated the role of microbreweries and we discovered that they seem to offer a platform for IPAs, bringing their name out in the world.
Finally, we tried to predict what beers will shape the future of the Beeriverse by identifying styles that shared similar patterns to IPAs. Pale Ales were found to be one of the most likely groundbreaking beer style although we lacked some evidences and computational power in the process.

Overall, the History of Beer is a fascinating journey through time, mixing history, people and flavors into the amazing world of beer, the Beeriverse. The evolution of our lifestyles and tastes has shaped and will continue to shape this incredible beverage, like a never-ending story.