Skip to content

ken1th/Number-Preferences-Study

Repository files navigation

From Data to Strategy: A Case Study of Lottery Number Preferences in Diverse Markets

Overview

This project explores how cultural beliefs influence number preferences, using the Mark Six lottery as a case study. By analyzing lottery data, the project demonstrates how Python and API integration can uncover meaningful patterns and generate actionable insights. The findings highlight how businesses can leverage cultural data to optimize decision-making in diverse markets like Toronto.

Mark Six serves as an ideal dataset for this analysis due to its widespread participation and economic significance. As one of Hong Kong’s most popular lotteries, it reflects real-world choices made by millions of players investing money in their preferred numbers. This data is particularly valuable for understanding how cultural beliefs, such as lucky and unlucky numbers in Cantonese culture, influence behavior.

While the study focuses on Mark Six, the methodologies and insights are highly transferable. The analysis reveals trends that can inform strategies in industries such as real estate, telecommunications, and retail, especially in multicultural cities like Toronto. For example:

  • Real estate agents can price properties based on culturally significant numbers (e.g., 8 or 4).
  • Telecom providers can offer premium services for lucky phone numbers.
  • Marketers can design promotions incorporating culturally preferred pricing strategies.

This project showcases a full-stack data analysis workflow, including API interaction, data wrangling, statistical modeling, and visualization, while emphasizing its cultural and business relevance.


Motivation

In multicultural cities like Toronto, understanding cultural preferences can provide businesses with a competitive edge. This project leverages Mark Six lottery data as a case study to analyze how number preferences, influenced by Cantonese cultural beliefs, impact decision-making. By uncovering patterns in the popularity of numbers like 8 (prosperity) and 4 (death), this analysis demonstrates how cultural insights can guide strategic decisions in industries such as real estate, telecommunications, and marketing. It showcases the power of data-driven strategies for engaging with diverse communities.


Key Insights

This analysis uncovers clear cultural and practical patterns in lottery number preferences, influenced by beliefs, calendar associations, and the relatability of smaller numbers.

Relative Preference of Lottery Numbers

Key Findings:

  1. Strong Preference for Numbers with ‘8’:

    • Numbers 8, 18, and 28 show significant positive preferences, with 8 exceeding 10% relative popularity.
    • Cultural Significance: In Cantonese, 8 symbolizes wealth and prosperity, making it highly favored.
    • Extensions of 8: Numbers like 18 (“definite prosperity”/“實發”) and 28 (“easily prosperous”/“易發”) are also popular due to their association with 8.
  2. Preference for Calendar Numbers:

    • Months (1–12): These numbers are meaningful due to their association with months, such as birth months or holidays.
    • Dates (1–31): Numbers representing days of the month are commonly chosen for sentimental reasons like birthdays and anniversaries.
  3. Avoidance of Numbers Associated with “Death”:

    • 4 and 14: These numbers are actively avoided due to their negative connotations in Cantonese culture:
      • 4 (“死”): Sounds like “death.”
      • 14 (“實死”): Sounds like “must die.”
    • Numbers in the 40s: Larger numbers, especially those containing 4, are avoided for similar reasons.
  4. Lower Preference for Numbers Above 31:

    • Numbers greater than 31, particularly in the 40s range, show lower popularity due to:
    • Lack of Personal Relevance: These numbers are not tied to calendar dates.
    • Cultural Bias: Numbers containing 4 (e.g., 41, 44) are further avoided.

Applications:

These findings have practical implications across various industries:

  1. Real Estate:
    • Properties with addresses or floor numbers containing 8, 18, or 28 can command higher prices.
    • Properties with 4 or 14 may require adjusted pricing strategies due to reduced demand.
  2. Telecommunications:
    • Phone numbers with 8 or 28 can be marketed as premium options.
    • Numbers with 4 may need to be avoided or discounted.
  3. Marketing:
    • Pricing strategies that incorporate 8 (e.g., $88 promotions) can attract culturally influenced buyers.
  4. Retail:
    • Avoid using 4 in SKU numbers or product labels targeted at culturally sensitive audiences.

Summary of Insights

This analysis highlights how deeply cultural beliefs and practical considerations influence decision-making. From calendar-related numbers to the strong aversion to 4, these preferences provide actionable insights for businesses in diverse markets like Toronto.


Data Sources

https://bet.hkjc.com/en/marksix/results


How to Run

Follow these steps to execute the project:

  1. Clone the Repository:

    git clone https://github.com/ken1th/Number-Preferences-Study.git`
    cd Number-Preferences-Study
  2. Install Dependencies:

    • Ensure you have Python installed (version 3.8 or above).
    • Install the required libraries:
      pip install -r requirements.txt
  3. Run the Main Script:

    • Execute the project by running the main.py file:
      python main.py
  4. Outputs:

    • JSON File: marksix_results.json (raw fetched data).
    • CSV File: lottery_number_popularity.csv (popularity analysis results).
    • Visualization: lottery_number_popularity.png (A comparative bar plot showcasing the relative popularity of lottery numbers).
    • Analyze the Results: Review the generated files and insights, or customize the analysis further using the scripts provided.

Contact Information

For questions, feedback, or collaboration opportunities, feel free to reach out:


License

This project is licensed under the MIT License. Feel free to use, modify, and distribute this project.

About

This project analyzes lottery data using Python, APIs, and statistical methods to uncover cultural trends in number preferences. Visualizations and insights highlight real-world applications in diverse markets like real estate, telecom, and marketing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages