Open Side Menu Go to the Top
Register
The Michigan Lottery +EV thread The Michigan Lottery +EV thread

02-16-2012 , 11:20 PM
I just use vim and gcc, personally.

Okay, here's where I am so far. This is calculating the EV of the Classic Black ticket with the most recent data available:


To get the input data for this program, go to this website: http://milottery.state.mi.us/msl-ig-trigps.php

Enter the cost of the ticket (don't include the dollar sign): 10

Enter the total amount of unclaimed winning tickets: 25491

Enter the approximate odds of winning (if 4.2 to 1, enter 4.2): 2.74

Enter the total amount of the remaining prizepool: 1466950

There are probably about 95336.3 tickets that have not been sold.
Each $10 ticket has an expected value of $15.3871 for a profit of about $5.39 per ticket.
The Michigan Lottery +EV thread Quote
02-16-2012 , 11:21 PM
I totaled up the prizepool on my calculator without actually checking if it's right since this is just a quick calculation program, fyi
The Michigan Lottery +EV thread Quote
02-17-2012 , 05:28 AM
If you want a GUI (IDE) that's not Microsoft you should try eclipse.
The Michigan Lottery +EV thread Quote
02-19-2012 , 03:00 AM
Quote:
Originally Posted by Fubster
I just use vim and gcc, personally.
The Michigan Lottery +EV thread Quote
02-19-2012 , 05:46 PM
Would like to find a way to scrape the lotto site for this data but I have no idea how to do that so I won't.
The Michigan Lottery +EV thread Quote
02-20-2012 , 03:09 PM
Looks like South Carolina also publishes the same data.

http://www.sceducationlottery.com/ga...tatsreport.asp
The Michigan Lottery +EV thread Quote
02-21-2012 , 01:58 PM
Quote:
Originally Posted by Fubster
Would like to find a way to scrape the lotto site for this data but I have no idea how to do that so I won't.
lynx -dump http://milottery.state.mi.us/msl-ig-trigps.php | grep -i "classic black" -A 15
The Michigan Lottery +EV thread Quote
02-21-2012 , 03:04 PM
well yeah, but i mean in a way so that all the data is arranged in a way that is easily parsed so that i don't need to add that stuff up myself. thinking of using libcurl then converting to xml and parsing the xml. either that or some sort of wget/perl thing that i'm way too lazy to ever write.
The Michigan Lottery +EV thread Quote
02-24-2012 , 03:55 AM
curl, awk, and perl.
The Michigan Lottery +EV thread Quote
02-24-2012 , 07:38 AM
anyone else use R?
The Michigan Lottery +EV thread Quote
02-26-2012 , 05:58 PM
I really don't want to learn awk though. Or perl, really.
The Michigan Lottery +EV thread Quote
03-29-2012 , 08:16 PM
I checked NJ... they also only list the top 3 prizes. Can't calculate EV with just that.
The Michigan Lottery +EV thread Quote

      
m