Statistics for Design and Implementation of an IoT Based Indoor Air Quality Monitoring System