journal article·2023-03-12Open access

Predicting PM2.5, PM10, SO2, NO2, NO and CO Air Pollutant Values with Linear Regression in R Language

Zoltan Kazi, Snezana Filip, Ljubica Kazi

Applied Sciences· Volume 13· Issue 6

Abstract

Air pollution is one of the most challenging and complex problems of our time. This research presents the prediction of air pollutant values based on using an R program with linear regression. The research sample consists of obtained values of air pollutants such as sulphur dioxide (SO2), particulate matter (PM10, PM2.5), carbon monoxide (CO), nitrite oxides (NO, NO2, and NOX), atmospheric data pressure (p), temperature (T), and relative humidity (rh). The research data were collected from the city of Belgrade air quality monitoring reports, published by the Environmental Protection Agency of the Republic of Serbia. The report data were transformed into a form suitable for processing by the R program and used to derive prediction functions based on linear regression upon pairs of air pollutants. In this paper, we describe the R program that was created to enable the correlation of air pollutants with linear regression, which results in functions that are used for the prediction of pollutant values. The correlation of pollutants is presented graphically with diagrams created within the R GUI environment. The predicted data were categorized according to air pollution standard ranges. It has been shown that the derived functions from linear regression enable predictions that are well correlated with the data obtained by automatic acquisition from air quality monitoring stations. The R program was created by using R language statements without any additional packages, and, therefore, it is suitable for multiple uses in a diversity of application domains with minor adjustments to appropriate data sets.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Air Quality Monitoring and Forecasting · Air Quality and Health Impacts · Atmospheric chemistry and aerosols

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Technical Faculty “Mihajlo Pupin”, University of Novi Sad, 23000 Zrenjanin, Serbia

References (49)

Show source-provided references
1. Air pollution and development of asthma, allergy and infections in a birth cohort10.1183/09031936.00083406 ↗
2. Tusnio, N., Fichna, J., Nowakowski, P., and Tofilo, P. (2020). Air Pollution Associates with Cancer Incidences in Poland. Appl. Sci., 10.10.3390/app10217489 ↗
3. Balogun, H.A., Rantala, A.K., Antikainen, H., Siddika, N., Amegah, A.K., Ryti, N.R.I., Kukkonen, J., Sofiev, M., Jaakkola, M.S., and Jaakkola, J.J.K. (2020). Effects of Air Pollution on the Risk of Low Birth Weight in a Cold Climate. Appl. Sci., 10.10.20944/preprints202007.0680.v1 ↗
4. Traffic, susceptibility, and childhood asthma10.1289/ehp.8594 ↗
5. Atopic diseases, allergic sensitization, and exposure to traffic-related air pollution in children10.1164/rccm.200701-036OC ↗
6. Air quality assessment using a weighted Fuzzy Inference System10.1016/j.ecoinf.2016.04.005 ↗
7. A land use regression variable generation, modelling and prediction tool for air pollution exposure assessment10.1016/j.envsoft.2018.03.030 ↗
8. Context aware benchmarking and tuning of a TByte-scale air quality database and web service10.1007/s12145-021-00631-4 ↗
9. Prediction of Air Quality Index Using Supervised Machine Learning10.22214/ijraset.2022.43993 ↗
10. Spatial and temporal changes analysis of air quality before and after the COVID-19 in Shandong Province, China10.1007/s12145-021-00739-7 ↗
11. Predicting air quality: Improvements through advanced methods to integrate models and measurements10.1016/j.jcp.2007.02.024 ↗
12. Software-Supported Visualization of Mathematical Spatial-Time Distribution Models of Air-Pollutant Emissions
13. Applications of Python to evaluate environmental data science problems10.1002/ep.12786 ↗
14. Actuar: An R package for actuarial science
15. R: A Language for Data Analysis and Graphics10.1080/10618600.1996.10474713 ↗
16. R Foundation for Statistical Computing (2022, September 07). R Core Team. R: A Language and Environment for Statistical Computing. Available online: https://cran.r-project.org/doc/manuals/r-release/fullrefman.pdf.
17. Csárdi, G., and Salmon, M. (2022, September 07). rhub: Connect to ‘R-hub’. Available online: https://r-hub.github.io/rhub/authors.html.
18. LEA: An R package for landscape and ecological association studies10.1111/2041-210X.12382 ↗
19. CondMerg: An open source implementation in R language of conditional merging for weather radars and rain gauges observations10.1007/s12145-016-0278-y ↗
20. Picante: R tools for integrating phylogenies and ecology10.1093/bioinformatics/btq166 ↗
21. rFIA: An R package for estimation of forest attributes with the US Forest Inventory and Analysis database10.1016/j.envsoft.2020.104664 ↗
22. Lemenkova, P., and Debeir, O. (2022). R Libraries for Remote Sensing Data Classification by K-Means Clustering and NDVI Computation in Congo River Basin, DRC. Appl. Sci., 12.10.3390/app122412554 ↗
23. Seo, J.Y., and Lee, H.M. (2017, January 8–10). A study on statistical map of air pollution in Korea using R. Proceedings of the 4th International Conference on Computer Applications and Information Processing Technology CAIPT2017, Kuta Bali, Indonesia.10.1109/CAIPT.2017.8320675 ↗
24. Time series air quality forecasting with R Language and R Studio10.1088/1742-6596/1450/1/012064 ↗
25. openair—An R package for air quality data analysis10.1016/j.envsoft.2011.09.008 ↗
26. Prediction model of Air Pollutant Levels Using Linear Model with Component Analysis10.7763/IJESD.2015.V6.648 ↗
27. An efficient correlation based adaptive LASSO regression method for air quality index prediction10.1007/s12145-021-00618-1 ↗
28. Zheng, Y., Xiuwen, Y., Ming, L., Ruiyan, L., Zhangping, S., Eric, C., and Tiannui, L. (2015, January 10–13). Forecasting Fine-Grained Air Quality Based on Big Data. Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Sydney, Australia.10.1145/2783258.2788573 ↗
29. Data Mining Methods for Prediction of Air Pollution10.1515/amcs-2016-0033 ↗
30. Zhang, J., and Ding, W. (2017). Prediction of Air Pollutants Concentration Based on an Extreme Learning Machine: The Case of Hong Kong. Int. J. Environ. Res. Pub. He., 14.10.3390/ijerph14020114 ↗
31. From diagnosis to prognosis for forecasting air pollution using neural networks: Air pollution monitoring in Bilbao10.1016/j.envsoft.2007.09.003 ↗
32. Zhao, R., Gu, X., Xne, B., Zhang, J., and Ren, W. (2018). Short period PM2.5 prediction based on multivariate linear regression model. PLoS ONE, 13.10.1371/journal.pone.0201011 ↗
33. Choi, S.-M., and Choi, H. (2021). Statistical Modeling for PM10, PM2.5 and PM1 at Gangneung Affected by Local Meteorological Variables and PM10 and PM2.5 at Beijing for Non- and Dust Periods. Appl. Sci., 11.10.3390/app112411958 ↗
34. Satellite-Based NO2 and Model Validation in a National Prediction Model Based on Universal Kriging and Land-Use Regression10.1021/acs.est.5b05099 ↗
35. Prediction and forecasting of air quality index in Chennai using regression and ARIMA time series models
36. Estimating Fuzzy Linear Regression Model for Air Pollution Predictions in Baghdad City10.22401/JNUS.18.2.20 ↗
37. Prediction of air-pollutant concentrations using hybrid model of regression and genetic algorithm10.3233/JIFS-179678 ↗
38. Multiple linear regression and artificial neural networks based on principal components to predict ozone concentrations10.1016/j.envsoft.2005.12.002 ↗
39. Measurement Error in Epidemiologic Studies of Air Pollution Based on Land-Use Regression Models10.1093/aje/kwt127 ↗
40. Performance evaluation of mathematical predictive modeling for air quality forecasting10.1007/s10586-017-1667-9 ↗
41. Iskandaryan, D., Ramos, F., and Trilles, S. (2020). Air Quality Prediction in Smart Cities Using Machine Learning Technologies Based on Sensor Data: A Review. Appl. Sci., 10.10.3390/app10072401 ↗
42. Mapping urban air pollution using GIS: A regression-based approach10.1080/136588197242158 ↗
43. Predicting long-term average concentrations of traffic-related air pollutants using GIS-based information10.1016/j.atmosenv.2005.09.067 ↗
44. Deep learning spatiotemporal air pollution data in China using data fusion10.1007/s12145-020-00470-9 ↗
45. Evaluating the Design of the R language10.1007/978-3-642-31057-7_6 ↗
46. Environmental Protection Agency, Ministry of Environmental Protection, Republic of Serbia (2021, January 01). National Network of Automatic Stations for Air Quality Monitoring—Raw Data Obtained from Measuring Stations, Available online: http://www.amskv.sepa.gov.rs/stanicepodaci.php.
47. Environmental Protection Agency, Ministry of Environmental Protection, Republic of Serbia (2021, January 01). National Network of Automatic Stations for Air Quality Monitoring—Data View, Available online: http://www.amskv.sepa.gov.rs/pregledpodatakazbirni.php?lng=en.
48. Environmental Protection Agency, Ministry of Environmental Protection, Republic of Serbia (2022, August 31). National Network of Automatic Stations for Air Quality Monitoring—Criteria for Pollution Classification, Available online: http://www.amskv.sepa.gov.rs/kriterijumi.php?lng=en.
49. Jacob-Lopes, E., Queiroz Zepka, L., and Costa Deprá, M. (2021). Sustainability Metrics and Indicators of Environmental Impact, Industrial and Agricultural Life Cycle Assessment, Elsevier.