I used the trimmean function on the following array of numbers:

50, 20,20, 20, 20, 5

I specified that I wanted to remove one-third of observations. So, i expected the formula would remove 50 and 5 and calculate the average of the remaining numbers.

But the answer obtained wasn't 20.

Why not?