Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

#1: Initial revision by user avatar Derek Elkins‭ · 2023-07-25T20:19:58Z (over 1 year ago)
Let's say every lottery you buy exactly one ticket and always use the same numbers. Does that lower your odds of winning versus a strategy where you always pick a random set of numbers? No.

Assuming the winning numbers are uniformly distributed, your odds of winning are always directly proportional to the number of (distinct) tickets you buy. Their actual values or how you chose them do not matter.

A bit of probability theory reconciles this with the fact the winning numbers are less likely to be in a subrange. Write $P(A\mid B)$ for the probability that some statement $A$ is true given that $B$ is known to be true. We have $P(A\textrm{ and } B) = P(A\mid B)P(B)$ which states that the probability that $A$ and $B$ hold is equal to the probability that $A$ holds given that $B$ holds times the probability that $B$ holds. This should be intuitively reasonable.

We now have a concrete and an abstract way of illustrating the above. Assume that each number has 100 possible values and we only consider tickets where the first number is 39, say. Then our two statements are $A$="I won." (i.e. the *specific* ticket I bought, which starts with 39, was chosen), and $B$="The winning ticket started with 39." It should be obvious that $P(B)$ is 1% corresponding to the fact that there is only a 1/100 chance that the winning numbers start with 39. However, if I knew the first number was 39, then any ticket starting with 39 is now 100 times more likely to be a winner, i.e. $P(A \mid B) = 100P(A)$. (This is balanced by the fact that every ticket not starting with 39 now has zero chance of being a winning ticket.) These clearly cancel out giving $P(A\textrm{ and }B) = 100P(A)/100 = P(A)$. It should be clear that this would work for any subset. However much you restrict the possibilities you choose from will be balanced out by having each choice out of those possibilities being more likely *given the winning ticket is one of those possibilities*.

A more abstract but much simpler proof that $P(A\textrm{ and } B) = P(A)$ in this case is just to note that $A$ implies $B$. That is, "my ticket, which starts with 39, was the winner" implies that "the winning ticket starts with 39". Thus *logically* $(A\textrm{ and }B)$ is equivalent to just $A$. So we immediately have that they have the same probability, i.e. $P(A\textrm{ and }B) = P(A)$.