Robust methods for stock market data analysis