wrong

To live a creative life ...

“To live a creative life, we must lose our fear of being wrong.”

~ Joseph Chilton Pearce

A “Minority Report” Monte Carlo simulation in Scala

This article shares the source code for a Monte Carlo simulation that I wrote in Scala. It was inspired by the movie Minority Report, as well as my own experience.

Background

For the purposes of this simulation, imagine that you have three people that are each “right” roughly 80% of the time. For instance, if they take a test with 100 questions, each of the three individuals will get 80 of the questions right, although they may not get the same questions right or wrong. Given these three people, my question to several statisticians was, “If two of the people have the same answer to a given question, what are the odds that they are correct? Furthermore, if all three of them give the same answer to a question, what are the odds that they are right?”

Review of Trailguru iPhone application

I downloaded an iPhone app named Trailguru recently, and was hoping to give a review of it, but I had no luck with it this morning. I walked a little more than 2.25 miles, but as this screenshot shows, Trailguru says I walked only 0.38 miles:

Trailguru iPhone app screenshot