I am trying to calculate the average without throwing away a small number of distant numbers (i.e. 1,2,1,2,3,4,50), one 50 will throw off the whole average.
If I have a list of numbers like this:
19,20,21,21,22,30,60,60
Average value 31
Median 30
The mode is 21 and 60 (averaged to 40.5 )
But everyone can see that most are in the range 19-22 (5 inches, 3 outputs), and if you get an average of only the main range of 20.6 (a big difference than any number above)
I think you can get it like this:
c + dr
c - , d - , r - . , - , .
, 19,20,21,21,22 5 , 4 , 3 (22 - 19). , 5 + 4-3 = 6
, 8 + 6-41 = -27
, , . 21 :
<19 > 19-19, 19-20, 19-21, 19-22, 19-30, 19-60, 20-20, 20-21, 20-22, 20-30, 20-60, 21-21, 21-22, 21-30, 21-60, 22-22, 22-30, 22-60, 30-30, 30-60, 60-60
, .
, - ?