Do you know where your variables are?  
PerlMonks 
Re: How do I find peaks in noisy data?by dokkeldepper (Friar) 
on Apr 29, 2006 at 12:26 UTC ( #546487=note: print w/replies, xml )  Need Help?? 
Hi, one important point is missing so far. Most answers more or less assume implicitely that
As general as you stated the question none of these assumption needs to be fulfilled. For example a random walk with drift can produce extremely large values very fast. Or if the underlying data generating process has a distribution without a finite variance (f.e. CauchyDistribution) then the usual signal extraction mechanisms fail. The most prominent examples are stock returns which possibly have no finite variance. To make my complaints operational, you first need some good reason to assume that your data has some particular parametric distribution. Think about it. Then one can try to estimate the parameters and can identify the most unprobable values as "islands". Another way would try to do this nonparametrically. Usually one needs much more data for these techniques. Check: R and the related Rmodules on CPANWithout some idea about the nature of the data generating process there are to much whens and ifs to consider to give some usable perl code for your question.
In Section
Seekers of Perl Wisdom

