Demand forecasting with time series analysis