Measured the PGA Tour way.
Strokes gained compares each shot with how many strokes a player at a chosen level would need from the same spot. A shot that leaves you better off than that gains strokes; one that leaves you worse off loses them.
Noriv adds those up off the tee, on approach, around the green and on the greens, so you can see where a round was won and lost. Green always means gained and red always means lost.