Calculating the scores
Lock TimeThe GPS speed will be given a score, ranging from A++ to F, where of course A++ is the best. The score is calculated in the following way:
First we calculate a weighted time score. Let t[i] be the search time (in number of seconds) for test i. The time score is then calculated as:
TimeScore = t + 5 * (t + t + t + t + t)
where 900 is the maximum possible value
Here we assume that a slow relock time is much worse than a slow first lock time. It is ok to wait a bit the first time you use your GPS, but if you have to wait a long time each time it is used, the user experience will be very bad.
Based on the weighted time score, the result will be given a mark based on the following formula:
Mark = TimeScore ^ (1/2.36)-1
rounded down to the nearest integer
This formula may look complex, but it just says that for the best marks (A++, A+, etc) the difference in time score between each mark is smaller than for the worst marks (F, E-, etc.)
A mark number of 1 will correspond to an A++, 2 will be A, 3 will be A-, and so on.
We can summarise the formula in the following table:
|From||To||Mark number||Mark letter|
Also, if the first test uses more than 12 minutes, or one of the other tests uses more than 3 minutes, the test will end and the timescore will be set to 900.
For each of the six tests done by the app, we will record the estimated accuracy from the GPS, in number of meters. This is the accuracy estimate which the GPS itself is providing. In addition, for each of the tests we will also get a location. If you are not moving, the locations should be exactly the same for all the tests. In practice however, they will most likely be different, and we can caclulate how many meters different they are.
We can then calculate an accuracy score:
AccuracyScore = (Avarage accuracy estimate + Avarage location difference) /2
To get the mark, we put this into the following forumula:
Mark = 16.2 * (1 - 1 / (1 + 0.05 * AccuracyScore))
The reasoning behind this formula is the same as for the lock time mark formula above. I.e. we want a small intervall between the best marks, and a bigger interval between the the worst marks. The table below shows the results of this formuala.
If you have any questions or comments, please send an e-mail to brettspill1000 at yahoo.no