Live data from Hacker News

Help me Hack the Lottery or, the worst $90 investment ever

ssikes.com

31–40 of 60 posts

Re: Help me Hack the Lottery or, the worst $90 investment ever

#31
post #16

http://www.wired.com/wiredscience/2011/07/broken-lotteries/ Here's a great article on lotteries, particularly Cash Winfall. CWF was a particularly broken lottery. In a certain season it was possible to purchase enough tickets (say, $100,000 worth) to (almost) guarantee a profit. https://en.wikipedia.org/wiki/Massachusetts_Lottery#Cash_Win...

If I remember that article correctly, I think it's arguable as to whether the lottery was "broken". The lottery commission was aware about the increased odds, but they created a higher odds game due to user feedback. Massachusetts still made money off of the game (though a smaller margin than other games). I would argue that a lottery's goal is to make money while providing entertainment, and not necessarily create a…

Changing the odds isn't the same as changing the expected value. Cash Windfall modified the EV of the lower prizes by increasing the value.

Re: Help me Hack the Lottery or, the worst $90 investment ever

#32
post #15

Interesting read; I was playing with similar thoughts over my lunch break a couple of days ago. The base of my sample program [implemented in ruby] was based (in theory) of Proportional Betting "The Martingale" - http://www.bjmath.com/bjmath/progress/prog1.htm The game I picked was "Casino War" [ http://wizardofodds.com/games/casino-war/ ], as it was very quick to implement in a few lines of code. I selected the base…

That same site has an interesting article on Martingale betting systems: http://wizardofodds.com/gambling/betting-systems/ IIRC, a martingale strategy will eventually destroy you because it requires an exponentially sustainable bankroll to maintain the same risk of ruin. Also, 3,650 hands is far too small of a sample size for a game with such a small edge and you are probably just witnessing positive variance. See wh…

Yes, Martingale's doesn't raise your expected value above zero/negative for any games of chance. Towards infinity, it won't change your outcome -- you will still eventually loose all your money.

If you factor in the times the player went bankrupt, your win percent probably won't look so hot.

Re: Help me Hack the Lottery or, the worst $90 investment ever

#33
post #11
post #5

You don't want theoretical help. You want real-world help. Hang out at the counter where tickets are sold. You're bound to encounter someone who asks what serial numbers the tickets end in. Take that guy out for a drink and find out what he knows, how he knows it, and if it ever worked for him. I've seen several people ask about the ticket serial numbers and not buy, but scratch-offs aren't my thing, so I didn't both…

Could be those people are just superstitious and only want tickets including their lucky number, or something like that.

When I worked at a gas station, it was 50-50 between those with lucky numbers and those with theories about where the prizes fell (i.e. higher tickets were less lucky )

Re: Help me Hack the Lottery or, the worst $90 investment ever

#34
post #15

Interesting read; I was playing with similar thoughts over my lunch break a couple of days ago. The base of my sample program [implemented in ruby] was based (in theory) of Proportional Betting "The Martingale" - http://www.bjmath.com/bjmath/progress/prog1.htm The game I picked was "Casino War" [ http://wizardofodds.com/games/casino-war/ ], as it was very quick to implement in a few lines of code. I selected the base…

That same site has an interesting article on Martingale betting systems: http://wizardofodds.com/gambling/betting-systems/ IIRC, a martingale strategy will eventually destroy you because it requires an exponentially sustainable bankroll to maintain the same risk of ruin. Also, 3,650 hands is far too small of a sample size for a game with such a small edge and you are probably just witnessing positive variance. See wh…

Note that's 3,650 decks / 28,470 hands (not counting "War" hands).

As it was run twice, it's closer to 56,940. (using two different alg.)

Rerunning it (now) produces minimal differences, even at a 1,000 year setup. (3-5% variation)

Re: Help me Hack the Lottery or, the worst $90 investment ever

#35

Earlier quoted context omitted.

If I remember that article correctly, I think it's arguable as to whether the lottery was "broken". The lottery commission was aware about the increased odds, but they created a higher odds game due to user feedback. Massachusetts still made money off of the game (though a smaller margin than other games). I would argue that a lottery's goal is to make money while providing entertainment, and not necessarily create a…

Changing the odds isn't the same as changing the expected value. Cash Windfall modified the EV of the lower prizes by increasing the value.

You're absolutely right, I misspoke.

Re: Help me Hack the Lottery or, the worst $90 investment ever

#36

Earlier quoted context omitted.

That same site has an interesting article on Martingale betting systems: http://wizardofodds.com/gambling/betting-systems/ IIRC, a martingale strategy will eventually destroy you because it requires an exponentially sustainable bankroll to maintain the same risk of ruin. Also, 3,650 hands is far too small of a sample size for a game with such a small edge and you are probably just witnessing positive variance. See wh…

Yes, Martingale's doesn't raise your expected value above zero/negative for any games of chance. Towards infinity, it won't change your outcome -- you will still eventually loose all your money. If you factor in the times the player went bankrupt, your win percent probably won't look so hot.

Though it did (in the simulation). The accumulated winnings with the limits on bankrupt and cashing out at 1500 created a over time win percentage in a otherwise negative-biased game?

Re: Help me Hack the Lottery or, the worst $90 investment ever

#37
post #10

I don't think it is a given that every lottery can be hacked. I would also like to recommend this PG essay: http://paulgraham.com/wealth.html

These things are rarely about the money itself, but about taking on an established system, questioning it, and finding a way to beat it.

Re: Help me Hack the Lottery or, the worst $90 investment ever

#38
post #4

I know of only one guaranteed way to win from a lottery: don't play it.

The problem is calling the lottery an investment. To me, at least, it's not. I buy maybe 10 a year, just for the hell of it and the "never know" factor, but I am never pulling my hair out at my so far horrible "investment decisions."

You can look at the $10 as being 2-3 Starbucks coffees

Re: Help me Hack the Lottery or, the worst $90 investment ever

#39

Earlier quoted context omitted.

That same site has an interesting article on Martingale betting systems: http://wizardofodds.com/gambling/betting-systems/ IIRC, a martingale strategy will eventually destroy you because it requires an exponentially sustainable bankroll to maintain the same risk of ruin. Also, 3,650 hands is far too small of a sample size for a game with such a small edge and you are probably just witnessing positive variance. See wh…

Yes, Martingale's doesn't raise your expected value above zero/negative for any games of chance. Towards infinity, it won't change your outcome -- you will still eventually loose all your money. If you factor in the times the player went bankrupt, your win percent probably won't look so hot.

I'll clean up my code a bit and post it on pastebin, there's probably a mistake in my logic somewhere.

Overall; I agree [and having played my share of a variety of strategies] I found the data to be confusing, hence my peaked curiosity. :-)

Re: Help me Hack the Lottery or, the worst $90 investment ever

#40
post #13
post #4

I know of only one guaranteed way to win from a lottery: don't play it.

No, the guaranteed way to make money from a lottery is to be the guy selling tickets.

Selling lottery tickets can be a losing proposition. In many states, the vendor has to pay for the whole roll as soon as tickets containing half the prize money have been sold. So if I have a roll of 500 tickets costing $5 each, and the first ticket is a $5000 winner and the rest of the tickets only cumulatively win $4999, then I have to pay for the entire roll even though I've only sold one ticket.
Post reply on HN