Statistics for Machine Learning Based Air Pollution Monitoring And Forecasting with IOT System