Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks, I am looking to take a list of numbers and identify the "global min" of each set, and then subsequently print the difference between each item of the set and the established "global min". I'm fine at this procedure, but I am struggling to code a method of eliminating outliers from inclusion
the following is example data that is not an issue
A 4 A 4 A 3 A 2 B 1 B 5 B 6
Here the "global min" for "A" and "B", are 2 and 1 respectively and I can use these values to find difference between each instance( line) of A or B
The following is data example of two situations causing me issues
C 1 C 80000 C 2 C 4 C 1200 D .1 D 1500 D 1700 D 2100 D 3200
In C, the global min is fine, but outlier 80,000 will skew results and should be removed. In D, .1 will be set as the "global min" but it is a mistake and 1500 should be set as the true global min.
Any and all thoughts would be very appreciated!! Thanks
|
|---|