Need help with statistics / distributions

Click For Summary

Discussion Overview

The discussion centers around calculating and plotting the distribution of winnings from a lottery, specifically focusing on how to combine the distributions of winnings based on the number of matching numbers. Participants explore methods for achieving this, including statistical distributions and simulation techniques.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant seeks to calculate the distribution of total winnings from a lottery based on the odds of matching 2 to 6 numbers and their respective payouts.
  • Another participant suggests using the hypergeometric distribution for a single play, converting the number of successes into winnings.
  • A different approach proposed involves using a Monte Carlo simulation to simulate the lottery multiple times and create a histogram of total winnings.
  • Clarification is made that the participant is interested in distributions for a single drawing while purchasing multiple tickets, rather than playing multiple lotteries.
  • Concerns are raised about the difference between buying multiple tickets in a single lottery versus playing multiple lotteries, particularly regarding the guarantee of winning.
  • Another participant reiterates the Monte Carlo simulation approach, suggesting it could combine the distributions of winnings for different numbers of correct matches.

Areas of Agreement / Disagreement

Participants generally agree that a computer program or simulation is a suitable method for calculating the winnings distribution, but there is some uncertainty regarding the appropriate statistical distribution to use and the implications of purchasing multiple tickets in a single drawing.

Contextual Notes

Participants have not fully resolved the best method for combining the distributions of winnings, and there are assumptions about the number of tickets purchased and the nature of the lottery that remain unexamined.

muffi
Messages
3
Reaction score
0
Hi, I am new here, so I apologize if my post is not appropriate for this forum. I have a background in chemical engineering and used to be really good at math, but after many weeks of trying to solve my problem, I am about ready to admit defeat. I hope someone here can help me out.

My goal is to plot a distribution of winnings that can be expected from a lottery. I can easily calculate the average winnings, but I would like to see the distribution, as well. If I know the individual odds of hitting 2, 3, 4, 5 and 6 numbers, as well as their respective payouts, how do I go about calculating a distribution of the total winnings? I have read a lot about distributions. I can get distributions for the number of winners that match, say 4 numbers, for example. But how do I go about adding distributions for 2, 3, 4, 5 and 6 number winners such that my resulting distribution gives me the probability of total winnings in dollar values? Any help is greatly appreciated.
 
Physics news on Phys.org
Are you plotting the total winnings distribution after playing once, or playing n times? For a single play, you can use the hypergeometric distribution, except you convert the number of successes into the winnings.

http://mathworld.wolfram.com/HypergeometricDistribution.html

If it's n times, the fastest and easiest thing for you to do would be to write a computer program ("Monte Carlo") to simulate the lottery n times, and put the total winnings into a histogram of your total winnings. Repeat this algorithm, say 10000 times, filling the histogram each time. At the end of this, you will have a histogram with 10000 values that will match your winnings distribution fairly well. To get an even closer match, increase the number 10000 to something larger.
 
I only need distributions for playing one time. Thanks for the info, I am going to study the webpage you referred me to.

Correction: I want distributions for a single drawing where I buy many tickets. So I guess I need to take the programming approach?
 
Last edited:
I think a computer program would be the best way to go. However, if you are playing a single lottery n times, it's not quite the same as playing n lotteries, since in the first case, if you buy enough tickets, you are guaranteed to win, while in the second case, you could, in principle, never win.

There's probably some mega number or something you want to simulate right? If so, you can't use the hypergeometric distribution by itself anyhow.
 
Last edited:
Basically, I want to see what the winnings distribution is for a single drawing if I buy a large number of tickets, but certainly not a large enough number to guarantee a 5 or 6 number match.
 
You could get a "brute force" answer by using Monte Carlo simulation to combine the distributions of winnings for each amount of correct numbers, as suggested previously. "Crystall Ball" is a useful Excel-based tool for Monte Carlo.
 
Last edited:

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
839
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 28 ·
Replies
28
Views
3K