Estimating a point on graph from multiple random values.

28 Views Asked by At

I am developing a mobile game app that needs to find a point on a map based on a set of observed values. The app allows users to touch points on a map to the closest proximity of where they think an event happened. The algorithm needs to determine the most likely point where the event could have happened based on those observations. Observations happen for x mins, then stop of x mins. This cycle continues. Each cycle delivers between 20 to 40 observations.

I need to be able to display a single point based on observations as the observations happen.

1

There are 1 best solutions below

0
On

If you assume that each user's guess is unbiased (i.e., all users are not consistently off by some amount) then you will want to set the most likely location to one of two values:

  1. The average coordinate value: (Avg of X, Avg. of Y) - More sensitive to each user's input but can be thrown off by a few very bad guessess
  2. The median coordinate value: (Median X, Median Y) - Coarser than the average, but as long as the majority of people have reasonably good guessess this esimator will provide a good estimate, regarless of the presence of really bad guesses.

To update, just keep re-calculating with more and more data as it comes in.