I trying to replicate a national weather forecasting competition verification for precipitation. The point is that a forecaster will enter a guess at the next days precipitation for a given location and then points are given to how close they get (lower score is better, like golf). I have read up on IF and AND statements and it have helped when doing an individual verification range but the problem is getting multiple ranges. On top of that I need to get all of this in one cell. Can someone point me in the right direction?
Here are the rules:
o .4 points for each .01 of error in the verification range from 0.00 - .10 inclusive
o .3 points for each .01 of error in the verification range from 0.11 to 0.25 inclusive
o .2 points for each .01 of error in the verification range from 0.26 to 0.50 inclusive
o .1 points for each .01 of error in the verification range over 0.50
o This is NOT an absolute error range. The score depends where you are on the scale.
Some Examples:
* If a forecaster gave a forecast of .17 and the verification was .30, the score would be (25 -17)*.3 + (30 - 25)*.2 = 3.4
* If a forecaster gave a forecast of .17 and the verification was .65, the score would be (25 -17)*.3 + (50 - 25)*.2 + (65-50)*.1 = 8.9
* If a forecaster gave a forecast of .17 and the verification was .02, the score would be (17 - 10)*.3 + (10 - 2)*.4 =5.3
* If a forecaster gave a forecast of .90 and the verification was .70, the score would be (90 - 70)*.1 = 2.0
* If a forecaster gave a forecast of .90 and the verification was .45, the score would be (90 - 50)*.1 + (50 - 45)*.2 = 5.0
* If a forecaster gave a forecast of .90 and the verification was 0, the score would be (90 - 50)*.1 + (50 - 25)*.2 + (25 -10)*.3 + (10 - 0) *.4 = 17.5
* If a forecaster gave a forecast of 1.07 and the verification was .80, the score would be (107 - 80)*.1 = 2.7
Here are the rules:
o .4 points for each .01 of error in the verification range from 0.00 - .10 inclusive
o .3 points for each .01 of error in the verification range from 0.11 to 0.25 inclusive
o .2 points for each .01 of error in the verification range from 0.26 to 0.50 inclusive
o .1 points for each .01 of error in the verification range over 0.50
o This is NOT an absolute error range. The score depends where you are on the scale.
Some Examples:
* If a forecaster gave a forecast of .17 and the verification was .30, the score would be (25 -17)*.3 + (30 - 25)*.2 = 3.4
* If a forecaster gave a forecast of .17 and the verification was .65, the score would be (25 -17)*.3 + (50 - 25)*.2 + (65-50)*.1 = 8.9
* If a forecaster gave a forecast of .17 and the verification was .02, the score would be (17 - 10)*.3 + (10 - 2)*.4 =5.3
* If a forecaster gave a forecast of .90 and the verification was .70, the score would be (90 - 70)*.1 = 2.0
* If a forecaster gave a forecast of .90 and the verification was .45, the score would be (90 - 50)*.1 + (50 - 45)*.2 = 5.0
* If a forecaster gave a forecast of .90 and the verification was 0, the score would be (90 - 50)*.1 + (50 - 25)*.2 + (25 -10)*.3 + (10 - 0) *.4 = 17.5
* If a forecaster gave a forecast of 1.07 and the verification was .80, the score would be (107 - 80)*.1 = 2.7