Study of forecasting techniques