__STYLES__

Halloween Candy Selection Analysis

Tools used in this project
Halloween Candy Selection Analysis

About this project

The Sweet Challenge: Analyzing Halloween Candy Preferences

Every Halloween, candy reigns supreme as children and adults alike indulge in sweet treats. But what makes a candy truly irresistible? In this challenge, I set out to uncover the factors that contribute to the popularity of Halloween candies. I focused on attributes like sugar content, chocolate, fruitiness, and price, aiming to understand how these elements influence consumer preferences and win percentages.

The Data

My journey began with a dataset containing various candies and their attributes. Each candy was evaluated based on its characteristics — whether it contained chocolate, fruit, caramel, or other elements. Additionally, I examined the sugar and price percentages, seeking correlations that could shed light on consumer behavior.

Discovering Patterns

The Top 3 Candies

In my analysis, the top three Halloween candies based on win percentage were:

Top 3 Halloween Candles based on Win Percent

  1. Reese’s Peanut Butter Cup — Win Percentage: 84.18%
  2. Reese’s Miniatures — Win Percentage: 81.87%
  3. Twix — Win Percentage: 81.64%

These candies not only stood out in terms of popularity but also highlighted key attributes that contributed to their success, such as their chocolate content and unique flavors.

The Sweet Correlations

Through meticulous analysis, I unearthed interesting correlations. The relationship between Sugar Percent and Win Percentage yielded a correlation coefficient of 0.2292, while Price Percent and Win Percentage revealed a stronger connection with a coefficient of 0.3453. These results hinted that both sugar and price significantly influence candy preferences, but the price had a more pronounced effect.

Winning Attributes

I then turned my attention to specific candy attributes. By examining the average win percentages based on whether candies contained chocolate or fruity elements, I discovered:

Average Win Percentage by Chocolate Attribute: — Non-Chocolate: 42.14% — Chocolate: 60.92%

Average Win Percentage by Fruity Attribute: — Non-Fruity: 55.33% — Fruity: 44.12%

These figures painted a vivid picture: chocolate candies dominated the winning charts, while fruity candies lagged behind. Overall, the average win percentage across all candies stood at 50.32%, indicating that many candies performed well, but chocolate clearly had the edge.

Diving Deeper: Statistical Testing

To ensure my findings were robust, I conducted t-tests to assess the statistical significance of my observations. The results were compelling:

  • T-Test for Chocolate vs Non-Chocolate: — T-statistic: 7.52 —P-value: (5.86 \times 10^{-11})

The results revealed that chocolate candies significantly outperformed non-chocolate options.

  • T-Test for Fruity vs Non-Fruity: — T-statistic: -3.75 — P-value: 0.00032

Here, the data showed that fruity candies did not fare well compared to their non-fruity counterparts.

Conclusion: The Tale of Halloween Candies

My analysis paints a vivid narrative about consumer preferences for Halloween candies. Chocolate candies emerge as the heroes, consistently winning over hearts and taste buds, while fruity options struggle to make a mark. The statistical insights reinforce my findings, demonstrating that sugar content and pricing strategies play crucial roles in shaping consumer choices.

As I look ahead, this exploration informs candy manufacturers about market preferences and highlights the importance of understanding consumer behavior in driving product success. The sweet story of Halloween candies continues, with data guiding the way to creating treats that captivate and delight.

Additional project images

Discussion and feedback(0 comments)
2000 characters remaining
Cookie SettingsWe use cookies to enhance your experience, analyze site traffic and deliver personalized content. Read our Privacy Policy.