Looking for an industry standard on how to summarize RAG (Red, Amber, Green) ratings.
I have seen
Red-1
Amber-3
Green-5
(# of Red *1) + (# of Amber * 3) + (# of Green * 5) / Total #
If result = 1-2.5 then Red
If result = 2.6-3.5 then Amber
If result = ? 3.6 then Green
RAG Number =
(-1.0*nrRed - 0.5*nYellow + 1.0*nGreen) / (nrRed + nYellow + nGreen) =
(-1.0*5 - 0.5*8 + 1.0*12)/( 5 + 8 + 12) = (-5 - 4 + 12)/25 = 3/25 = 0.12
If all items are green, then below RAG score = 1.0.RAG Number =
(-2.0*nrRed - 0.75*nYellow + 1.0*nGreen) / (nrRed + nYellow + nGreen) =
(-2.0*5 - 1.0*8 + 1.0*12)/( 5 + 8 + 12) = (-10 -8 + 12)/25 = -6/25 = -0.24
With this formulation, the RAG Number can be in the range -2.0 to +1.0.RAG Number =
(Wr *nRed + Wy *nYellow + Wg *nGreen) / (nRed + nYellow + nGreen)
Midpoint_RY = (Wr + Wy) / 2
Midpoint_YG = (Wy + Wg) / 2
In our example, Wr = -1.0, Wy = -0.5, Wg = 1.0. Using these coefficients, and the midpoint scheme, the demarcations areRED: [-1.0 .. -0.75]
YELLOW: (-0.75 .. +0.25]
GREEN: (+0.25 .. +1.0]
where a bracket [ or ] means "include in range"Wr = -3.0; Wy = 0.0; Wg = +3.0;
RED: [-3.0 .. -1.0]
YELLOW: (-1.0 .. +1.0]
GREEN: (+1.0 .. +3.0]
For this scheme, the function looks like:function [rag_score, RAG_Result] = RAG(Wr, Wy, Wg, nR, nY, nG)
rag_score = (Wr *nR + Wy *nY + Wg *nG) / (nR + nY + nG);
if rag_score <= -1
RAG_Result = 'RED';
elseif rag_score <= 1
RAG_Result = 'YELLOW';
else
RAG_Result = 'GREEN';
end
end
Executing the function results:
[Wr, Wy, Wg] = [-3, 0, 3]
[nR, nY, nG] = [5, 8,12]
[rag_score, RAG_Result] = RAG(Wr, Wy, Wg, nR, nY, nG)
rag_score = 0.8400
RAG_Result = YELLOW
If nY=0 (with nR=5 and nG=12, as before), then rag_score = 1.2353 and RAG_Result = GREEN. Adding the 8 Yellow items to the mix brought that rag_score down closer to 0, enough so, to turn the GREEN result to an YELLOW result.
For example, payment of invoice dates:
On time - Good so green or could be Neutral so amber with paid early being only criteria for Good
Late - how late is late? One week, one month? All depends on the company's cash flow or customer credit agreements.