News for hackers. Stuff that matters.

Ask HN: How do you choose powerball numbers if you play?

I play sometimes just for fun. I was using R a while back to do kernel density estimation using the history of each time a number appeared in a drawing. My assumption was that each number should have an equal distribution over time, so anything that did not had a higher likely hood of being chosen. Safe to say, I still have not won. What is your method to choosing numbers for the powerball?
( 25 comments | 6 points | on HN )
Re:Ask HN: How do you choose powerball numbers if you play? by patio11 on Wednesday January 13, 2016 @07:51AM (#10893896)
My assumption was that each number should have an equal distribution over time, so anything that did not had a higher likely hood of being chosen.

I feel like saying Gambler's Fallacy to someone who knows what R is is borderline aggressive but, out of a maximum of good intentions, the thing you've labeled as an assumption is called the Gambler's Fallacy and it is so named because statistics does not work that way.

https://en.wikipedia.org/wiki/Gambler%27s_fallacy

Consider the case of a fair coin. We agree that, if one flips a sufficient number of coins 100 times, eventually one of them will come up with 100 heads, right? Pretend you've got a factory in China filled with people flipping fair coins until one station shouts out "GOT IT!"

Do you think that there's some property that the universe attaches to that coin which makes it more likely to be heads, or more likely to be tails, simply because it "feels" anomalous if one happened to be flipping only that coin and not one of the thousands being flipped simultaneously in the factory?

No, that's preposterous. The universe doesn't care what feels anomalous to us. It's a fair coin. The next shot is like every other shot: 50/50.

Re:Ask HN: How do you choose powerball numbers if you play? by spdustin on Wednesday January 13, 2016 @06:37PM (#10898543)
Back in middle school, I did a science fair project on this for the Florida lottery. My hypothesis was that each ball was dropped into air-blown hoppers made by the same manufacturer to the same specifications, and each ball had slight variances in weight and aerodynamics due to the (assumed) pad printed numbers on the balls; thus, the "hot numbers" were statistically more likely to be drawn.

EDIT: also, the hypothesis included the average amount of time the balls were being tumbled before drawn.

It was, to my middle school statistical ability, correct at that time (ca. 1980s). The "hot" numbers "won" me over $3,000 over the course of two months. Random numbers? About $20.

Things have very likely changed since then, though.

Re:Ask HN: How do you choose powerball numbers if you play? by an4rchy on Wednesday January 13, 2016 @10:45AM (#10895091)
Although I agree with what you're saying in principle, there could be other (highly unlikely) aspects to it. What if the coin had a small aberration due to the manufacturing process or it was dropped one too many times, this could lead to some sort of unfair odds. Once again, this is definitely a reach, (maybe not the universe attaching a property to something but just bad manufacturing processes or too much wear etc)
Re:Ask HN: How do you choose powerball numbers if you play? by possibleNoob on Wednesday January 13, 2016 @09:44AM (#10894595)
There have been other lotteries which were pseudo random and were statistical won because the assumption "the coin is fair" was incorrect.
Re:Ask HN: How do you choose powerball numbers if you play? by tmaly on Wednesday January 13, 2016 @07:55AM (#10893915)
thanks Pat, like I said I do it for fun sometimes.
Re:Ask HN: How do you choose powerball numbers if you play? by gregjor on Wednesday January 13, 2016 @08:10AM (#10893968)
My father used lists of previous winning numbers and a "system" he adapted from Keno (which he mostly lost at). Once I was with him when he was buying lottery tickets and I bought one with the numbers 1-2-3-4-5-6. My dad came unglued, asking me if I understood how unlikely my numbers were to hit. Exactly as likely as his, I tried to explain, but he didn't get it.
Re:Ask HN: How do you choose powerball numbers if you play? by jeffwass on Wednesday January 13, 2016 @07:23PM (#10898761)
Your dad was on the right track though, but for a different reason.

1,2,3,4,5,6 is a (relatively) common choice of numbers people buy in lotteries, so if those numbers win you're more likely to have to split the pot.

Re:Ask HN: How do you choose powerball numbers if you play? by cjbprime on Wednesday January 13, 2016 @10:22AM (#10894918)
The only useful strategy for choosing numbers is to choose numbers that other people are not using, so that you maximize your chance of not having to split the pot in the unlikely event that you win.

I think I read that numbers below 30 are vastly overrepresented in lottery ticket number choices.

Re:Ask HN: How do you choose powerball numbers if you play? by jerrytsai on Wednesday January 13, 2016 @11:52AM (#10895652)
I second this. There's little (...or insufficient) reason to believe some numbers come up more often, so you assume any set of numbers may come up. Then any number combination may come up, so you may as well pick the number combinations which fewer people pick. At least one study has shown that numbers below 30 are picked more often than those above 30. So by picking numbers above 30 you increase the chance you do NOT split the jackpot if you win.

From an expected value perspective, however, lotteries are generally money LOSERS. Even at the estimated $1.5 billion for this Wednesday's drawing, the expected value of purchasing a ticket is NEGATIVE.

Here's why: the $1.5 billion is paid as an annuity-- the reported lump sum (present value) payment would be $930 million. Depending on your tax situation, if you live in the USA, you would lose about 40% of that to federal taxes, leaving you with about $558 million. In that it costs you $2 to purchase one number and the odds are 292 million to 1, you would need the take-home jackpot to be 2 times $292 million, or $584 million dollars before the expected value to be zero. (And this assumes a world in which jackpots cannot be split! And that you have no taxes beyond the federal tax!)

So the best play really is to NOT PLAY. From an expected value perspective, it probably would make sense to play when the jackpot is over $2 billion. It would depend on the frequency distribution of split jackpots.

So IF you're going to play, then you should try to minimize the chance you win a share of a split jackpot. But the rational play is to NOT PLAY AT ALL (well, at least not until the jackpot grows larger).

Re:Ask HN: How do you choose powerball numbers if you play? by joshschreuder on Wednesday January 13, 2016 @05:20PM (#10898064)
Re:Ask HN: How do you choose powerball numbers if you play? by brudgers on Wednesday January 13, 2016 @11:48AM (#10895616)
A mechanical system such as balls in a hopper is likely to be biased either by design or by active human intervention when the results appear biased. One of the insights at Bletchley park was that Enigma operators had "letter bias" in their selections.
Re:Ask HN: How do you choose powerball numbers if you play? by o_nate on Wednesday January 13, 2016 @02:42PM (#10896910)
That's a good argument for playing the numbers that have won more frequently than average in the past, which is exactly the opposite of what the OP had tried. Of course, this is assuming they use the same mechanical system, balls and everything else for each drawing, which is unlikely, but I'll defer to someone who follows the lottery more closely than me.
Re:Ask HN: How do you choose powerball numbers if you play? by tmaly on Wednesday January 13, 2016 @11:58AM (#10895696)
it would be an interesting math problem to try to create a model that could detect the bias
Re:Ask HN: How do you choose powerball numbers if you play? by brudgers on Wednesday January 13, 2016 @12:46PM (#10896048)
A mathematical model isn't a mechanical system. The mathematical model for a set of balls will tend to be random just like the mathematical model of a roulette wheel. Yet roulette wheels can be clocked and machine vision can predict outcomes based on wheel speed and the conditions of ball release.

The problem with powerball is obtaining a large enough sample size...the space is much bigger than that of roulette.

Re:Ask HN: How do you choose powerball numbers if you play? by cmdrfred on Wednesday January 13, 2016 @09:21AM (#10894390)
The only way to win at powerball is to never play. I'm up whatever the average player is down (100's of dollars? 1000's?).
Re:Ask HN: How do you choose powerball numbers if you play? by eecks on Wednesday January 13, 2016 @05:10PM (#10897978)
And you miss out on the fun
Re:Ask HN: How do you choose powerball numbers if you play? by Gustomaximus on Friday January 15, 2016 @06:10AM (#10908507)
Also I like the thought my few bucks helps someone have the experience of their life.
Re:Ask HN: How do you choose powerball numbers if you play? by montbonnot on Wednesday January 13, 2016 @05:39PM (#10898188)
If you don't play you can't win. $2 can make you rich.
Re:Ask HN: How do you choose powerball numbers if you play? by mod on Friday January 15, 2016 @01:38PM (#10911157)
"If you play, you can't win" is true 99.9*% of the time, with a lot of nines.

This isn't kind of gamble you use that phrase about. Blackjack or something, maybe. Non-casino gambles, like taking a new job, yeah.

Re:Ask HN: How do you choose powerball numbers if you play? by cmdrfred on Thursday January 14, 2016 @10:33AM (#10901957)
How'd that work out for you.
Re:Ask HN: How do you choose powerball numbers if you play? by montbonnot on Thursday January 14, 2016 @06:23PM (#10905613)
made $4
Re:Ask HN: How do you choose powerball numbers if you play? by cmdrfred on Friday January 15, 2016 @07:38AM (#10908907)
Lifetime? or just this time?
Re:Ask HN: How do you choose powerball numbers if you play? by logn on Wednesday January 13, 2016 @09:25PM (#10899256)
I had trouble finding reliable historical data. I didn't trust anybody that compiled the data, as they all had different results, and the powerball set of number has slowly expanded over the years.

I think it's reasonable that some numbers are more likely. Either by their initial placement or by subtle effects of aerodynamics and weight of the painted numbers.

That said I think it's a little absurd to choose numbers. Like it actually matters. Just get computer picks. It's the best chance to not split the pot, assuming a fair computer.

Unrelated: I don't think it makes much sense to buy more than one ticket. The EV is still slightly less than the cost of the ticket and after the initial ticket you cannot boost you odds again like that. Even with positive EV it's still insanely high variance, so I don't see how multiplying your odds makes any difference, compared to raising your odds from zero which your initial ticket does.

Re:Ask HN: How do you choose powerball numbers if you play? by Someone on Thursday January 14, 2016 @01:59PM (#10903519)
"I think it's reasonable that some numbers are more likely."

I would think these machines go through very extensive testing both before they are deployed and between draws to prevent that from happening.

A quick google confirms that (http://time.com/4178768/powerball-drawing-security/, http://www.powerball.com/pb_contact.asp)

Re:Ask HN: How do you choose powerball numbers if you play? by S4M on Wednesday January 13, 2016 @01:03PM (#10896180)
There is one trick you can use: all numbers have the same probability to be inthe winning combination, but some numbers are less picked by played less (typically: numvers that can't be associated with birthdays). Pick those numbers and if you will, you will have to share with less people.

Not something l'd recommend though, as I hate games of luck.