Statistics for Financial forecasting using machine learning