News for hackers. Stuff that matters.
Re:Math behind Dope Wars drug trading for profit by SlyShy on Friday January 14, 2011 @12:55AM (#2102718)
I'm a little surprised such rudimentary math made it to the front page of Hacker News (at #2 even). Maybe it's time to pick a FP language and make posts about it all day, to scare some people away?
Re:Math behind Dope Wars drug trading for profit by Read_the_Genes on Friday January 14, 2011 @01:21AM (#2102778)
I agree, this math is terrible. Just. Terrible.

Please no one believe this post, it uses dubious statistics.

Re:Math behind Dope Wars drug trading for profit by jmtame on Friday January 14, 2011 @01:38AM (#2102802)
it depends on your assumptions. i updated some of the numbers, but if you have suggestions definitely feel free to add a comment.
Re:Math behind Dope Wars drug trading for profit by Read_the_Genes on Monday January 17, 2011 @03:20PM (#2113281)
Sorry to be so harsh, but this analysis is really lacking.

If you want to learn more about how to hedge bets, read about things like moment theory or the Kelly criterion.

Also, taking a measure like variance would be much more meaningful than just the spread of the payoff.

Re:Math behind Dope Wars drug trading for profit by jmtame on Friday January 14, 2011 @01:05AM (#2102737)
i went into it thinking the game used an algorithm of some type and i was surprised to find how simple it was. definitely not complex, mostly simple arithmetic.