I have a set of numbers.
I want to run standard deviation on those numbers.
Before running this process ,I first want to clean/eliminate numbers that are not close to most values.
For example, assume that I have the numbers: 1, 2, 1, 3, 1, 4, 4, 2, 7, 3002, 3, 3, 35000, 1, 2, 2, 9, 9 ,8, 8, 9, 698511.
Now, I want to remove the numbers 3002, 35000 and 698511 and run STD on the rest.
How can it be done?
Thanks.