Solving optimal stopping problems with statistical algorithms

Las Vegas and Everyday Life

Just as there are correct and incorrect ways of winning at certain games in Las Vegas – and although I am amazed at how few people actually take them into consideration to at least statistically give the casino as little chance as possible to win – it is important in everyday life to keep the upper hand in randomly driven processes and always consider the most likely possible outcome of such a situation.

However, what is demonstrably the optimal strategy, if you do the math, is sometimes of little practical value for stop problems. In a casino that pays back triple your bet after tossing a coin with a winning percentage of 50 percent, the theoretically correct approach would be to keep on playing and never quit. But, as you can imagine, the players would go home bankrupt every time if they followed this strategy.

Infos

  1. Secretary problem: https://en.wikipedia.org/wiki/Secretary_problem
  2. Optimal stopping: https://en.wikipedia.org/wiki/Optimal_stopping
  3. Christian, Brian, and Tom Griffiths. Algorithms to Live By: The Computer Science of Human Decisions. Henry Holt and Co. April 2016: http://algorithmstoliveby.com
  4. Vitality curve: https://en.wikipedia.org/wiki/Vitality_curve
  5. Listings for this article: ftp://ftp.linux-magazine.com/pub/listings/magazine/190

The Author

Mike Schilli works as a software engineer in the San Francisco Bay Area. He can be contacted at mailto:mschilli@perlmeister.com. Mike's homepage can be found at http://perlmeister.com.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • OSCON 2007

    More than 2500 open source enthusiasts met in Oregon for O'Reilly's annual OSCON convention.

  • Neural networks learn from mistakes and remember successes

    The well-known Monty Hall game show problem can be a rewarding maiden voyage for prospective statisticians. But is it possible to teach a neural network to choose between goats and cars with a few practice sessions?

  • Free Software Projects

    Free software covers such a diverse range of utilities, applications, and other assorted projects that it can be hard to find the perfect tool. We pick the best of the bunch. This month’s column covers file management with Xfe, IRC, the Sync2cd backup tool, and email printing with Muttprint.

  • Calculating Probability

    To tackle mathematical problems with conditional probabilities, math buffs rely on Bayes' formula or discrete distributions, generated by short Perl scripts.

  • McIntyre vs. Zacchiroli in Debian Leadership Battle

    Two developers have entered the race for the Debian Project Leadership. New candidate Stephano “Zack” Zacchiroli is challenging current leader Steve McIntyre, who is running for a second term in office.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News