Scoring deviation from elements

12 Views Asked by At

I'm thinking about how to score deviation from elements.

I have a target elements: $[10,4,8,20]$, and candidate elements: $[9,3,9,21]$ and $[10,4,8,16]$.

Calculate deviation between the target and candidates $[-1,-1,1,1]$ and $[0,0,0,4]$ results in the sum of absolute of difference $[4]$, $[4]$ so, they are same as $[4]$.

I wonder that which one is better? And is there a statistical scoring method?

Thanks in advance.