Predicting PM2.5, PM10, SO<sub>2</sub>, NO<sub>2</sub>, NO and CO Air Pollutant Values with Linear Regression in R Language
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 (SO<sub>2&l...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2023-03-01
|
Series: | Applied Sciences |
Subjects: | |
Online Access: | https://www.mdpi.com/2076-3417/13/6/3617 |
_version_ | 1797613744240459776 |
---|---|
author | Zoltan Kazi Snezana Filip Ljubica Kazi |
author_facet | Zoltan Kazi Snezana Filip Ljubica Kazi |
author_sort | Zoltan Kazi |
collection | DOAJ |
description | 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 (SO<sub>2</sub>), particulate matter (PM10, PM2.5), carbon monoxide (CO), nitrite oxides (NO, NO<sub>2</sub>, and NO<sub>X</sub>), 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. |
first_indexed | 2024-03-11T06:59:02Z |
format | Article |
id | doaj.art-e507a7b8cdf34e12991ffef1ce5cfdb8 |
institution | Directory Open Access Journal |
issn | 2076-3417 |
language | English |
last_indexed | 2024-03-11T06:59:02Z |
publishDate | 2023-03-01 |
publisher | MDPI AG |
record_format | Article |
series | Applied Sciences |
spelling | doaj.art-e507a7b8cdf34e12991ffef1ce5cfdb82023-11-17T09:24:20ZengMDPI AGApplied Sciences2076-34172023-03-01136361710.3390/app13063617Predicting PM2.5, PM10, SO<sub>2</sub>, NO<sub>2</sub>, NO and CO Air Pollutant Values with Linear Regression in R LanguageZoltan Kazi0Snezana Filip1Ljubica Kazi2Technical Faculty “Mihajlo Pupin”, University of Novi Sad, 23000 Zrenjanin, SerbiaTechnical Faculty “Mihajlo Pupin”, University of Novi Sad, 23000 Zrenjanin, SerbiaTechnical Faculty “Mihajlo Pupin”, University of Novi Sad, 23000 Zrenjanin, SerbiaAir 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 (SO<sub>2</sub>), particulate matter (PM10, PM2.5), carbon monoxide (CO), nitrite oxides (NO, NO<sub>2</sub>, and NO<sub>X</sub>), 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.https://www.mdpi.com/2076-3417/13/6/3617R languageprogrammingair pollutionprediction modellinear regression |
spellingShingle | Zoltan Kazi Snezana Filip Ljubica Kazi Predicting PM2.5, PM10, SO<sub>2</sub>, NO<sub>2</sub>, NO and CO Air Pollutant Values with Linear Regression in R Language Applied Sciences R language programming air pollution prediction model linear regression |
title | Predicting PM2.5, PM10, SO<sub>2</sub>, NO<sub>2</sub>, NO and CO Air Pollutant Values with Linear Regression in R Language |
title_full | Predicting PM2.5, PM10, SO<sub>2</sub>, NO<sub>2</sub>, NO and CO Air Pollutant Values with Linear Regression in R Language |
title_fullStr | Predicting PM2.5, PM10, SO<sub>2</sub>, NO<sub>2</sub>, NO and CO Air Pollutant Values with Linear Regression in R Language |
title_full_unstemmed | Predicting PM2.5, PM10, SO<sub>2</sub>, NO<sub>2</sub>, NO and CO Air Pollutant Values with Linear Regression in R Language |
title_short | Predicting PM2.5, PM10, SO<sub>2</sub>, NO<sub>2</sub>, NO and CO Air Pollutant Values with Linear Regression in R Language |
title_sort | predicting pm2 5 pm10 so sub 2 sub no sub 2 sub no and co air pollutant values with linear regression in r language |
topic | R language programming air pollution prediction model linear regression |
url | https://www.mdpi.com/2076-3417/13/6/3617 |
work_keys_str_mv | AT zoltankazi predictingpm25pm10sosub2subnosub2subnoandcoairpollutantvalueswithlinearregressioninrlanguage AT snezanafilip predictingpm25pm10sosub2subnosub2subnoandcoairpollutantvalueswithlinearregressioninrlanguage AT ljubicakazi predictingpm25pm10sosub2subnosub2subnoandcoairpollutantvalueswithlinearregressioninrlanguage |