analysis of stock data