Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > >

Notices

Other Gambling Games Discussion about other gambling games.

Reply
 
Thread Tools Display Modes
Old 02-16-2012, 11:20 PM   #151
Fubster
Carpal \'Tunnel
 
Fubster's Avatar
 
Join Date: Apr 2007
Posts: 7,501
Re: The Michigan Lottery +EV thread

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.
Fubster is offline   Reply With Quote
Old 02-16-2012, 11:21 PM   #152
Fubster
Carpal \'Tunnel
 
Fubster's Avatar
 
Join Date: Apr 2007
Posts: 7,501
Re: The Michigan Lottery +EV thread

I totaled up the prizepool on my calculator without actually checking if it's right since this is just a quick calculation program, fyi
Fubster is offline   Reply With Quote
Old 02-17-2012, 05:28 AM   #153
jmark
Pooh-Bah
 
jmark's Avatar
 
Join Date: Dec 2003
Location: US
Posts: 3,790
Re: The Michigan Lottery +EV thread

If you want a GUI (IDE) that's not Microsoft you should try eclipse.
jmark is offline   Reply With Quote
Old 02-19-2012, 03:00 AM   #154
Neil S
King of the sidebar
 
Neil S's Avatar
 
Join Date: Sep 2004
Location: Northern Virginia
Posts: 16,823
Re: The Michigan Lottery +EV thread

Quote:
Originally Posted by Fubster View Post
I just use vim and gcc, personally.
Neil S is offline   Reply With Quote
Old 02-19-2012, 05:46 PM   #155
Fubster
Carpal \'Tunnel
 
Fubster's Avatar
 
Join Date: Apr 2007
Posts: 7,501
Re: The Michigan Lottery +EV thread

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.
Fubster is offline   Reply With Quote
Old 02-20-2012, 03:09 PM   #156
Fubster
Carpal \'Tunnel
 
Fubster's Avatar
 
Join Date: Apr 2007
Posts: 7,501
Re: The Michigan Lottery +EV thread

Looks like South Carolina also publishes the same data.

http://www.sceducationlottery.com/ga...tatsreport.asp
Fubster is offline   Reply With Quote
Old 02-21-2012, 01:58 PM   #157
jmark
Pooh-Bah
 
jmark's Avatar
 
Join Date: Dec 2003
Location: US
Posts: 3,790
Re: The Michigan Lottery +EV thread

Quote:
Originally Posted by Fubster View Post
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
jmark is offline   Reply With Quote
Old 02-21-2012, 03:04 PM   #158
Fubster
Carpal \'Tunnel
 
Fubster's Avatar
 
Join Date: Apr 2007
Posts: 7,501
Re: The Michigan Lottery +EV thread

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.
Fubster is offline   Reply With Quote
Old 02-24-2012, 03:55 AM   #159
Neil S
King of the sidebar
 
Neil S's Avatar
 
Join Date: Sep 2004
Location: Northern Virginia
Posts: 16,823
Re: The Michigan Lottery +EV thread

curl, awk, and perl.
Neil S is offline   Reply With Quote
Old 02-24-2012, 07:38 AM   #160
sayhey69
adept
 
sayhey69's Avatar
 
Join Date: Feb 2011
Location: YOU DOWN WITH OPP
Posts: 832
Re: The Michigan Lottery +EV thread

anyone else use R?
sayhey69 is offline   Reply With Quote
Old 02-26-2012, 05:58 PM   #161
Fubster
Carpal \'Tunnel
 
Fubster's Avatar
 
Join Date: Apr 2007
Posts: 7,501
Re: The Michigan Lottery +EV thread

I really don't want to learn awk though. Or perl, really.
Fubster is offline   Reply With Quote
Old 03-29-2012, 08:16 PM   #162
TS2
adept
 
Join Date: Mar 2010
Posts: 883
Re: The Michigan Lottery +EV thread

I checked NJ... they also only list the top 3 prizes. Can't calculate EV with just that.
TS2 is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Forum Jump


All times are GMT -4. The time now is 04:44 AM.


Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
Search Engine Optimisation provided by DragonByte SEO v2.0.33 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Copyright ę 2008-2010, Two Plus Two Interactive
 
 
Poker Players - Streaming Live Online