Next Article in Journal
Flexible Active Power Control for PV-ESS Systems: A Review
Next Article in Special Issue
Potential and Mechanisms for Stable C Storage in the Post-Mining Soils under Long-Term Study in Mitigation of Climate Change
Previous Article in Journal
A Physically Inspired Equivalent Neural Network Circuit Model for SoC Estimation of Electrochemical Cells
Previous Article in Special Issue
Ultrasounds Energy as an Agent of Polyelectrolyte Modification Prior to Sewage Sludge Conditioning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Estimation of Prediction Error in Regression Air Quality Models

Faculty of Infrastructure and Environment, Czestochowa University of Technology, 69 Dabrowskiego St., 42-200 Czestochowa, Poland
Energies 2021, 14(21), 7387; https://doi.org/10.3390/en14217387
Submission received: 30 September 2021 / Revised: 27 October 2021 / Accepted: 4 November 2021 / Published: 5 November 2021
(This article belongs to the Special Issue Energy and Matter Recovery from Organic Waste Processing and Reuse)

Abstract

:
Combustion of energy fuels or organic waste is associated with the emission of harmful gases and aerosols into the atmosphere, which strongly affects air quality. Air quality monitoring devices are unreliable and measurement gaps appear quite often. Missing data modeling techniques can be used to complete the monitoring data. Concentrations of monitored pollutants can be approximated with regression modeling tools, such as artificial neural networks. In this study, a long-term set of data from the air monitoring station in Zabrze (Silesia, South Poland) was analyzed. Concentration prediction was tested for the main air pollutants, i.e., O3, NO, NO2, SO2, PM10, CO. Multilayer perceptrons were used to model the concentrations. The predicted concentrations were compared to the observed ones to evaluate the approximation accuracy. Prediction errors were calculated separately for the whole concentration range as well as for the specified concentration subranges. Some different measures of error were estimated. It was stated that the use of a single measure of the approximation accuracy may lead to incorrect interpretation. The application of one neural network to the entire concentration range results in different prediction accuracy in various concentration subranges. Replacing one neural network with several networks adjusted to specific concentration subranges should improve the modeling accuracy.

1. Introduction

The air pollutants can be gases or particles. The basic gas pollutants include O3, NO, NO2, SO2, CO, and volatile organic compounds (VOC). Aerosol pollutants usually appear as airborne particles, i.e., very fine particles made up of either solid or liquid matter that can stay for a long time suspended in the air and spread with the wind [1]. They are called PM10, PM2.5 or PM1.0, depending on the particle’s size. Air pollution comes from both natural and anthropogenic sources. In urban areas, the combustion of fuels, biomass, and organic waste is the main source of gaseous and particle pollution.
The impact of air pollution on the environment, economy, and human health are indisputable. It is also increasingly well documented in scientific reports. Air pollution is considered to be one of the most important factors influencing human health [2,3,4,5]. Polluted air can cause negative changes in living organisms, even when the concentrations do not exceed the permissible levels. Air pollution is linked to mental health disorders [6,7]. It has also been reported that air pollution can have negative economic effects related to lower employee productivity and labor supply [8,9,10,11]. The World Health Organization reported, that about 7 million people died in 2012 because of poor air quality [12]. This points to a significant global threat from air pollution. In many European countries particulate matter (measured as PM10 or PM2.5), NO2, and O3 concentrations are still above acceptable limits [13,14].
Air pollution is an important social, economic, and health problem, especially in highly urbanized areas. The level of pollutant concentration in the air is standardized and monitored all over the world. Air monitoring systems may differ from country to country, however, the basic measurement package includes monitoring of O3, NO, NO2, PM10, SO2, and CO concentration levels. The Polish air monitoring system is a part of the European Union system. The institution that controls the air monitoring in Poland is the Chief Inspectorate of Environmental Protection with its regional offices. This agency manages the entire domestic air monitoring system. The system acquires and collects measurement data of the air pollutants’ concentration levels at many individual air monitoring stations, according to the standardized measurement methods. Poland has the reputation of a country with heavily polluted air. The air monitoring station in Zabrze is located in Upper Silesia—the highest urbanized area in Poland. This station ranks among the 50 most polluted stations in the EU. Measurement data from this station were selected for this research purpose.
The results of air monitoring are the basis for the air quality assessment in zones represented by individual measurement stations. The measured concentration levels are compared with the air quality standards. The occurrence of exceedances of the permissible concentration levels should lead to the implementation of programs and actions which improve the air quality. However, a formal assessment of the air quality is only possible if the completeness of the measurement data is sufficient (usually it should exceed 90% on an annual basis). Deficient measurement series hinder a correct air quality assessment [15].
The data, collected continuously by air monitoring systems as hourly concentrations, are never complete. The need to introduce the interpolated values into the measurement gaps arises when the completeness of the analyzed time-series is too low [16,17]. The simplest imputation technique is linear interpolation. However, this method is not accurate enough, in particular, it fails when monitoring is interrupted for longer periods. The methods that exploit the knowledge gathered in historical data at the same monitoring station are more accurate. The most popular are modeling techniques, which provide prediction without recourse to any data coming from outside of the monitoring system. Such models may be called autonomous models [18,19]. Concentrations of pollutants measured at air monitoring stations can be modeled using prediction techniques based on regression analysis, time-series analysis, or other statistical methods [20,21]. To approximate a specified pollutant concentration at a specified time some predictors are used. They could be concentrations of other pollutants and meteorological parameters as well. The predictors must be correlated in some way with the variable to be predicted.
A modeling method should ensure the highest possible prediction accuracy. When actual data are available, the approximation quality can be assessed by comparing the actual values with the modeled values. The comparison of the actual and predicted data enables the calculation of the modeling error. Various measures of the approximation error are used, each of them results from a specific statistical approach [22,23]. Some of them, like the mean absolute error, the root mean squared error, the mean squared error, the mean absolute relative error, or the Pearson’s correlation coefficient are commonly known in statistics. Some, such as Willmott’s indexes of agreement, are especially recommended to atmospheric sciences [24,25,26].
Formerly, traditional statistical techniques have been used to create regression models. Recently, regression neural networks have been becoming more and more popular. The neural models allow for deeper data mining and obtaining more accurate models. The publications provide values of modeling errors averaged over the entire concentration range of the modeled pollutant [16,27,28,29]. During the modeling of O3 and CO concentrations, it was found that the error values may significantly differ in particular concentration ranges [30]. It seems advisable to perform tests on more pollutants and based on a dataset from a different air monitoring station.
The main aim of this analysis was the calculation of the approximation errors for the entire range of concentrations as well as for specified concentration subranges, separately for each pollutant. A long-term set of data was analyzed in the study. The data came from the air monitoring station in Zabrze (Silesia, South Poland). Concentration predictions were tested for main air pollutants, i.e., O3, NO, NO2, SO2, PM10 and CO. The multilayer perceptrons were used to model the concentrations. The predicted concentrations were compared to the observed ones to evaluate the approximation accuracy. The prediction errors were calculated for the whole concentration range as well as for the specified concentration subranges separately.

2. Materials and Methods

2.1. Air Monitoring Data

The concentrations of basic air pollutants at the monitoring station in Zabrze, used in the analysis, were measured in the years 2011–2016. The station belongs to the type of urban background monitoring site. It is located at 34 Curie-Sklodowska Street in the city of Zabrze—a highly urbanized area of Upper Silesia, South Poland. The examined data were obtained from the Voivodeship Inspectorate of Environmental Protection in Katowice, which managed the air monitoring in the region during the mentioned period. The analyzed time series included the hourly concentrations of O3, NO, NO2, SO2, PM10, CO as well as meteorological data such as temperature, wind speed, and solar radiation.
The concentration data were measured according to standardized reference methods for monitoring stations in the EU [31]. The reference methods were described in the following EN standards:
  • EN 14625:2012: Ambient Air—Standard method for the measurement of the concentration of ozone by ultraviolet photometry [32];
  • EN 14211:2012: Ambient air—Standard method for the measurement of the concentration of nitrogen dioxide and nitrogen monoxide by chemiluminescence [33];
  • EN 14212:2012: Ambient air—Standard method for the measurement of the concentration of sulfur dioxide by ultraviolet fluorescence [34];
  • EN 14626:2012: Ambient Air—Standard method for the measurement of the concentration of carbon monoxide by non-dispersive infrared spectroscopy [35];
  • EN12341:2014: Ambient Air—standard gravimetric measurement method for the determination of the PM10 or PM2.5 mass concentration of suspended particulate matter [36].
The devices measuring pollutants were placed in a thermostated kiosk. Each of them was equipped with auto-calibration systems. The measurements were carried out automatically.
The data subjected to the regression analysis consisted of 3 groups: time data, concentration data, and meteorological data. The following symbols were used to describe the variables:
  • D -day
  • H -hour
  • O3 -hourly O3 concentration, µg/m3
  • NO -hourly NO concentration, µg/m3
  • NO2 -hourly NO2 concentration, µg/m3
  • SO2 -hourly SO2 concentration, µg/m3
  • PM10 -hourly concentration of PM10, µg/m3
  • CO -hourly CO concentration, mg/m3
  • T -hourly mean temperature, °C
  • I -the hourly mean intensity of solar radiation, W/m2
  • WS -hourly mean wind speed, m/s.

2.2. Transformation of Time Data

In the case of the date, the discrete form of this variable was changed to a cyclic form in which the same values were assigned to the same dates in different years. This procedure allowed for assigning higher values to the dates in the winter months, with the maximum equal 1.00 for 31 December, and lower values to dates in the summer months with the minimum of 0.00 for 2 July. Thus, in the period from 2 July to 31 December, the date variable increases linearly by 0.005494 a day (in leap years by 0.005479) every day, while after December 31, it decreases at the same rate for half a year, reaching 0.00 again on 2 July.
In the case of the variable describing the time of day, the minimum value of 0.00 was assigned to 12 a.m., and the maximum value of 1.00 was assigned to 12 p.m. For hours from 12 a.m. to 12 p.m., the variable value increases linearly from 0.00 to 1.00 by 0.08333 for each subsequent hour and then decreases by 0.08333 for subsequent hours from 12 p.m. to 12 a.m.

2.3. Regression Models Concept

Artificial neural networks were used to build all regression models. Regression relationships present in the data were used to predict the concentrations of pollutants. In the specific case of the time series, the concentration of a selected pollutant was correlated with the time data, concentrations of other pollutants, and meteorological data. The knowledge hidden in the data can be used to make predictions according to the pattern shown in Figure 1.

2.4. Artificial Neural Networks

All neural models used a multilayer perceptron with five neurons in a single hidden layer (Figure 2). Such a relatively simple structure of a neural network allows for efficient exploration of the knowledge hidden in the data [37]. Six perceptrons were created, one for each pollutant as the output, and with 10 other variables as the inputs, The choice of the input variables for each of the 6 models is presented in Table 1.
The analysis was carried out using the Artificial Neural Network module in the Statistica program. During the neural network training, the analyzed set of data was randomly divided into three different subsets: the training subset (70% of cases), the verification subset (15% of cases), and the test subset (15% of cases). The BFGS (Broyden-Fletcher-Goldfarb-Shanno) algorithm was used in the network learning process. The weights were initialized randomly before starting the network training. A logistic activation function was used in the neurons of the hidden layer as well as at the output. Each neural network was trained 5 times, and then the best model was selected for further analysis. The learning process was limited to 200 epochs. This number of epochs is sufficient to stabilize the modeling error. A learning rate of 0.1 was assumed. The random Gaussian initialization of the network was used. The sum of squares (SOS) was assumed as the error function.
The time series of the 6-year measurement period included 52,608 hourly cases. Only 25,523 of them were the cases with no missing data for any variable and they were used to train the networks. When the best network was chosen, the approximation errors were calculated for the entire range of concentrations as well as for several concentration subranges. The errors and their variability in different subranges were analyzed further.

2.5. Estimation of Prediction Error

The values of the prediction errors were estimated based on divergences between the predicted concentrations (model outputs) yi and the actual concentrations xi. Seven different categories of approximation error were calculated for each regression model. The corresponding formulas were listed below, where n—number of observations, y ¯ —average value in the set of predicted concentrations, x ¯ —average value in the set of observed concentrations:
MAE—mean absolute error:
M A E = 1 n i = 1 n x i y i
MSE—mean squared error:
M S E = i = 1 n x i y i 2 n
RMSE—root mean squared error:
R M S E = i = 1 n x i y i 2 n
MARE—mean absolute relative error:
M A R E = i = 1 n y i x i x i n
r—Pearson’s correlation coefficient:
r = i = 1 n x i x ¯ y i y ¯ i = 1 n x i x ¯ 2 i = 1 n y i y ¯ 2
d—Willmott’s index of agreement:
d = 1 i = 1 n y i x i 2 i = 1 n y i x ¯ + x i x ¯ 2
d1—modified Willmott’s index of agreement:
d 1 = 1 i = 1 n y i x i i = 1 n y i x ¯ + x i x ¯

3. Results

The approximation errors were calculated for 6 air pollutants: O3, NO, NO2, SO2, PM10, CO. The hourly concentrations of these pollutants were modeled. The prediction was performed using multilayer perceptrons. For each of the pollutants, one, the most accurate of the created neural networks, was chosen. The modeled concentration sets were compared to the actual concentrations to assess the prediction error. The modeling errors of the hourly concentrations were averaged over the entire 6-year period (2011–2016). The seven different measures of the prediction error were calculated, listed above, separately for each pollutant. The errors were estimated for the entire range of observed concentrations as well as for several concentration subranges. The error values are shown in Table 2, Table 3, Table 4, Table 5, Table 6 and Table 7, separately for each pollutant. The tables also show the number of observations as well as the mean observed and predicted concentrations in the various ranges of concentrations.

3.1. Modelling of O3 Concentrations

The prediction results of the O3 concentrations were presented in Table 2. The error measures, such as the MAE, MSE, and RMSE, behave alike. They achieve the minimum values for the first O3 concentration subrange (0–20 μg/m3), which is the most numerous one. Moving to higher concentration subranges the modeling precision decreases alongside the decrease of the number of observations. The opposite changes are shown by the mean absolute relative error (MARE). The r, d, d1 measures have much lower values in the specified subranges than in the entire concentration range.

3.2. Modelling of NO Concentrations

The prediction results of the NO concentrations are presented in Table 3. The values of MAE, MSE, and RMSE behave alike. They achieve the minimum values for the first NO concentration subrange (0–20 μg/m3) which is also the most numerous subrange. These errors gradually increase, with minor variations, as we move to higher concentration subranges. In the same direction, the number of observations in the subranges decreases. The opposite changes are shown by values of MARE, r, d, d1. In the case of r, d, d1 the decreasing of values may be interpreted as a loss of the modeling accuracy. Similar to the ozone r, d, d1 have much lower values in the specified subranges than in the entire concentration range.

3.3. Modelling of NO2 Concentrations

The prediction results of the NO2 concentrations are presented in Table 4. The MAE, MSE, and RMSE achieve the minimum values for the first NO2 concentration subrange (0–20 μg/m3). This subrange is also the most numerous one. Moving to higher concentrations, the MAE, MSE, and RMSE values in subranges increase. It means that modeling accuracy decreases. In the same direction, the number of observations in the subranges decreases. The opposite changes are shown by values of other errors: MARE, r, d, and d1. The decreasing values of r, d, and d1 may be interpreted as the loss of modeling accuracy. R, d, d1 show much lower values in the specified subranges than in the entire concentration range.

3.4. Modelling of SO2 Concentrations

The prediction results of the SO2 concentrations are presented in Table 5. The error measures, such as MAE, MSE, and RMSE, achieve the minimum values for the first SO2 concentration subrange (0–10 μg/m3). This subrange is also the most numerous one. Moving to the higher concentration subranges the prediction precision decreases, and the number of observations also decreases. The opposite changes are shown by the MARE, r, d, and d1. When the subrange width is bigger, the values of r, d, and d1 may increase. In the wide subranges, 100–200 μg/m3 and 200–308 μg/m3 these values are bigger than in the narrow subranges, for example, 90–100 μg/m3. The highest values of these measures are observed for the entire concentration range.

3.5. Modelling of PM10 Concentrations

The prediction results of the PM10 concentrations are presented in Table 6. The MAE, MSE, and RMSE achieve the minimum values for the second PM10 concentration subrange (20–40 μg/m3). This subrange is also the most numerous one. Moving from the second subrange to the higher subranges these errors increase. It means that modeling accuracy decreases. In the same direction, the number of observations in the subranges decreases. The values of the MARE gradually decrease as we move to the higher concentration subranges. The decreasing of the r, d, d1 values is observed up to the subrange (140–160 μg/m3). For the wider subranges, i.e., for the subranges above 200 μg/m3, the values of r, d, d1 are higher, which can be explained by the effect of the range extension. The highest values of these three measures were estimated for the entire concentration range (0–1000 μg/m3).

3.6. Modelling of CO Concentrations

The prediction results of the CO concentrations in subranges are presented in Table 7. The MAE, MSE, and RMSE achieve the minimum values for the first CO concentration subrange (0–1 mg/m3). This is also the most numerous subrange. Moving from this subrange to the higher subranges these errors increase up to the subrange (4–5 mg/m3). In the same direction, the number of observations in the subranges decreases quickly. For the higher subranges, the uptrends are disrupted. Up to this subrange (4–5 mg/m3) also the decreasing of the r, d, d1 values is observed. For the higher subranges, the trend is disrupted. The highest values of r, d, d1 were estimated for the entire concentration range (0–9 mg g/m3).

3.7. The Comparison of Real and Predicted Concentrations

The scatterplots of the observed and the predicted concentration values for O3, NO, NO2, SO2, PM10 and CO are presented in Figure 3. The scatterplots show that neural prediction models underestimate the values for the higher concentrations. The same assessment results from comparing the averages of the actual and the predicted concentrations in the specified subranges for the pollutants (Table 2, Table 3, Table 4, Table 5, Table 6 and Table 7). This effect applies to all the studied pollutants.

4. Discussion

The error measures based on differences between the sets of real and predicted concentrations, such as MAE, MSE, and RMSE, behave in like manner. They achieve the minimum values for the most numerous concentration subranges. For most pollutants, measured at the station Zabrze, it is the first subrange with the lowest concentrations. The only exception is the PM10, for which the second subrange (20–40 µg/m3) is the most numerous one. A similar effect was noted in the previous studies for a dataset from another air monitoring station in Lodz (central Poland) [30]. In that work, the error values for two pollutants O3 and CO were calculated. The most numerous subranges showed the lowest values of MAE, MSE, and RMSE: the third concentration subrange of O3 (40–60 µg/m3) and the concentration subrange (0.3–0.4 mg/m3) of CO. Both in the earlier and the current studies, the values of the remaining measures of modeling accuracy, i.e., MARE, r, d, and d1, did not always reach optimal values in the same subranges. For all the pollutants, the mean absolute relative error (MARE) is extremely high in the first subrange of the actual concentrations. In the subsequent subranges, the values of MARE decrease rapidly. The MARE value can be misleading at very low concentrations of the pollutants, close to 0.0 µg/m3 (or 0.0 mg/m3 for CO). For the zero concentration, it is not feasible to calculate the MARE. For the concentrations close to 0 µg/m3, the MARE values can be extremely high, regardless of the differences between the actual and predicted values. This measure cannot be recommended for assessing the accuracy of models in the subranges of the lowest concentrations. The formulas for r, d, and d1 measures refer to the averages and the distance of the individual measurements from the averages. Generally, these measures have much lower values in the narrow subranges than in the entire concentration range. Comparing values of r, d, and d1 for the entire range model with the error values for subranges can lead to false conclusions, for example, that modeling over the entire concentration range is more accurate than modeling in subranges. In any concentration subranges, the model does not reach values of the coefficients r, d, d1 obtained for the entire range. The value of r, calculated for the entire concentration ranges of different pollutants, is in the scope 0.88–0.95, for all the pollutants. Usually, such values are considered to exhibit good modeling quality. However, a deeper analysis of the r values in the subranges leads to completely different conclusions. For example, the r value for the entire range of NO concentrations equals 0.933, but for the subrange (180–200 µg/m3) it equals −0.323 (Table 3). The negative sign means a negative correlation of the actual and the predicted concentrations in this subrange. This result shows that it is necessary to carefully draw conclusions about the accuracy of the models based on the value of r. The accuracy measures such as r, d, d1 fail when assessing the prediction precision, but these measures can be used for a comparison of precisions of models created for different air pollutants.
The errors based on differences between the actual and the predicted concentrations, like MAE, MSE, RMSE, show better prediction quality. However, the neural networks adapted to the whole range of concentrations cannot predict with the same quality in different concentration subranges. Moving on to less numerous concentration subranges, the modeling precision falls due to fewer training cases. This is due to the specific nature of machine learning. The adaptation process is predominated by the cases from the most numerous concentration ranges. The MSE formula is based on the sum of squared errors of the individual cases. The sum of squares (SOS) is also assumed as the error function during the neural network adaptation process. Thus, the neural network adaptation process leads to the minimization of the MSE error as well as related errors, i.e., RMSE and MAE. The advantage of measures such as MAE, MSE, RMSE is the ability to reflect real modeling accuracies in different concentration subranges.
In publications on modeling the air pollutant concentrations, the dominant approach is to create a single model that works across the entire concentration range. Among the publications, there are those in which only one measure of prediction accuracy is used, for example, MAE [38] or R2 [39]. This approach seems risky, especially when using measures such as R2, which are highly dependent on the concentration range. It is advisable to use several different error measures to avoid misinterpretation.

5. Conclusions

Based on the results of the analysis, the following conclusions were drawn:
  • The use of a single measure of the approximation accuracy may lead to incorrect interpretation, especially when the measures refer in their formulas to the averages and the distances from averages. Such measures include Pearson’s correlation coefficient r and Willmott’s indexes of agreement d, d1.
  • Measures like MAE, MSE, RMSE properly reflect the difficulties in modeling the concentrations in the entire range as well as in different subranges of concentrations.
  • The average relative errors like MARE cannot be recommended for assessing the accuracies of autonomous models.
  • The application of one neural network to the entire concentration range results in different prediction accuracy in various concentration subranges It is advisable to replace one neural network with several networks (submodels) adapted to specific concentration subranges. An entire-range model can be used initially to obtain predicted concentrations, and then the initially predicted concentration values can be classified into individual subranges and modeled more precisely in submodels.

Funding

The scientific research was funded by the statute subvention of the Czestochowa University of Technology, Faculty of Infrastructure and Environment, BS/PB-400-301/21.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The author would like to thank the Voivodeship Inspectorate of Environmental Protection in Katowice for providing the regional air monitoring data which were used in the analysis.

Conflicts of Interest

The author declares no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Kumar, P. Airborne Particles: Origin, Emissions and Health Impacts; Nova Science Publisher’s, Inc.: Hauppauge, NY, USA, 2017. [Google Scholar]
  2. Hoffmann, B.; Roebbel, N.; Gumy, S.; Forastiere, F.; Brunekreef, B.; Jarosinska, D.; Walker, K.D.; Van Erp, A.M.; O’Keefe, R.; Greenbaum, D.; et al. Air Pollution and Health: Recent Advances in Air Pollution Epidemiology to Inform the European Green Deal: A joint workshop report of ERS, WHO, ISEE and HEI. Eur. Respir. J. 2020, 56, 2002575. [Google Scholar] [CrossRef] [PubMed]
  3. Gurjar, B.R.; Molina, L.T.; Ojha, C.S.P. Air Pollution: Health and Environmental Impacts; CRC Press: Boca Raton, FL, USA, 2010. [Google Scholar] [CrossRef]
  4. Adamkiewicz, G.; Liddie, J.; Gaffin, J.M. The Respiratory Risks of Ambient/Outdoor Air Pollution. Clin. Chest Med. 2020, 41, 809–824. [Google Scholar] [CrossRef]
  5. Finicelli, M.; Squillaro, T.; Galderisi, U.; Peluso, G. Crossroads Between the Exposure to Environmental Particulate Pollution and the Obstructive Pulmonary Disease. Int. J. Mol. Sci. 2020, 21, 7221. [Google Scholar] [CrossRef] [PubMed]
  6. Peterson, B.S.; Rauh, V.A.; Bansal, R.; Hao, X.; Toth, Z.; Nati, G.; Walsh, K.; Miller, R.L.; Arias, F.; Semanek, D.; et al. Effects of Prenatal Exposure to Air Pollutants (Polycyclic Aromatic Hydrocarbons) on the Development of Brain White Matter, Cognition, and Behavior in Later Childhood. JAMA Psychiatry 2015, 72, 531–540. [Google Scholar] [CrossRef] [PubMed]
  7. Kim, Y.; Manley, J.; Radoias, V. Air Pollution and Long Term Mental Health. Atmosphere 2020, 11, 1355. [Google Scholar] [CrossRef]
  8. Chang, T.; Zivin, J.G.; Gross, T.; Neidell, M. Particulate Pollution and the Productivity of Pear Packers. Am. Econ. J. Econ. Policy 2016, 8, 141–169. [Google Scholar] [CrossRef] [Green Version]
  9. Graff-Zivin, J.; Neidell, M. The Impact of Pollution on Worker Productivity. Am. Econ. Rev. 2012, 102, 3652–3673. [Google Scholar] [CrossRef] [Green Version]
  10. Hanna, R.; Oliva, P. The Effect of Pollution on Labor Supply: Evidence from a Natural Experiment in Mexico City. J. Public Econ. 2015, 122, 68–79. [Google Scholar] [CrossRef] [Green Version]
  11. Aragon, F.; Miranda, J.; Oliva, P. Particulate Matter and Labor Supply: The Role of Caregiving and Non-linearities. J. Environ. Econ. Manag. 2017, 86, 295–309. [Google Scholar] [CrossRef] [Green Version]
  12. World Health Organization. 7 Million Premature Deaths Annually Linked to Air Pollution. Available online: www.who.int/mediacentre/news/releases/2014/air-pollution/en (accessed on 29 April 2021).
  13. Maesano, I. The Air of Europe: Where Are We Going? Eur. Respir. Rev. 2017, 26, 170024. [Google Scholar] [CrossRef] [Green Version]
  14. European Environment Agency. Air Quality in Europe-2020 Report. No. 12/2018; Publications Office of the European Union: Luxembourg, 2020. [Google Scholar]
  15. Ministry of Climate and Environment (Polish Government). Regulation on the Evaluation of Levels of Substances in the Air. 11 December 2020. Available online: http://isap.sejm.gov.pl/isap.nsf/DocDetails.xsp?id=WDU20200002279 (accessed on 30 September 2021). (In Polish)
  16. Plaia, A.; Bondi, A.L. Single Imputation Method of Missing Values in Environmental Pollution Data Sets. Atmos. Environ. 2006, 40, 7316–7330. [Google Scholar] [CrossRef]
  17. Gentili, S.; Magnaterra, L.; Passerini, G. Handling Missing Data: Applications to Environmental Analysis; Latini, G., Passerini, G., Eds.; Wit Press: Southampton, UK, 2004. [Google Scholar]
  18. Hoffman, S. Environmental Engineering; Pawłowski, L., Dudzińska, M.R., Pawłowski, A., Eds.; Taylor & Francis Group: London, UK, 2007; pp. 349–353. [Google Scholar]
  19. Hoffman, S. Approximation of Imission Level at Air Monitoring Stations by Means of Autonomous Neural Models. Environ. Prot. Eng. 2012, 38, 109–119. [Google Scholar] [CrossRef]
  20. Milionis, A.E.; Davies, T.D. Regression and Stochastic Models for Air Pollution-I. Review, Comments and Suggestions. Atmos. Environ. 1994, 28, 2801–2810. [Google Scholar] [CrossRef]
  21. Gardner, M.W.; Dorling, S.R. Artificial Neural Networks (the Multilayer Perceptron)––A Review of Applications in the Atmospheric Sciences. Atmos. Environ. 1998, 32, 2627–2636. [Google Scholar] [CrossRef]
  22. Venkatram, A. Computing and Displaying Model Performance Statistics. Atmos. Environ. 2008, 42, 6862–6868. [Google Scholar] [CrossRef]
  23. Mouton, A.M.; De Baets, B.; Goethals, P.L.M. Ecological Relevance of Performance Criteria for Species Distribution Models. Ecol. Model. 2010, 221, 1995–2002. [Google Scholar] [CrossRef]
  24. Willmott, C.J. Some Comments on the Evaluation of Model Performance. Bull. Am. Meteorol. Soc. 1982, 63, 1309–1313. [Google Scholar] [CrossRef] [Green Version]
  25. Willmott, C.J.; Ackleson, S.G.; Davis, R.E.; Feddema, J.J.; Klink, K.M.; Legates, D.R.; O’Donnell, J.; Rowe, C.M. Statistics for the Evaluation and Comparison of Models. J. Geophys. Res. 1985, 90, 8995–9005. [Google Scholar] [CrossRef] [Green Version]
  26. Willmott, C.J.; Robeson, S.M.; Matsuura, K. A Refined Index of Model Performance. Int. J. Climatol. 2011, 32, 2088–2094. [Google Scholar] [CrossRef]
  27. Dorling, S.R.; Gardner, M.W. Statistical Surface Ozone Models: An Improved Methodology to Account for Non-linear Behaviour. Atmos. Environ. 2000, 34, 21–34. [Google Scholar] [CrossRef]
  28. Karppinen, A.; Kukkonen, J.; Elolähde, T.; Konttinen, M.; Koskentalo, T.; Rantakrans, E. A Modelling System for Predicting Urban Air Pollution: Comparison of Model Predictions with the Data of an Urban Measurement Network in Helsinki. Atmos. Environ. 2000, 34, 3735–3743. [Google Scholar] [CrossRef]
  29. Nagendra, S.S.M.; Khare, M. Modelling Urban Air Quality Using Artificial Neural Network. Clean. Technol. Environ. Policy 2005, 7, 116–126. [Google Scholar] [CrossRef]
  30. Hoffman, S. Assessment of Prediction Accuracy in Autonomous Air Quality Models. Desalination Water Treat. 2015, 57, 1322–1326. [Google Scholar] [CrossRef]
  31. The European Parliament and The Council of the European Union. Directive 2008/50/EC of the European Parliament and of the Council of 21 May 2008 on Ambient Air Quality and Cleaner Air for Europe. Off. J. Eur. Union 2008, 152, 1–44. [Google Scholar]
  32. EN 14625:2012; Ambient Air—Standard Method for the Measurement of the Concentration of Ozone by Ultraviolet Photometry.
  33. EN 14211:2012; Ambient Air—Standard Method for the Measurement of the Concentration of Nitrogen Dioxide and Nitrogen Monoxide by Chemiluminescence.
  34. EN 14212:2012; Ambient Air—Standard Method for the Measurement of the Concentration of Sulphur Dioxide by Ultraviolet Fluorescence.
  35. EN 14626:2012; Ambient Air—Standard Method for the Measurement of the Concentration of Carbon Monoxide by Non-dispersive Infrared Spectroscopy.
  36. EN 12341:2014; Ambient Air—Standard Gravimetric Measurement Method for the Determination of the PM10 or PM2.5 Mass Concentration of Suspended Particulate Matter.
  37. Hoffman, S. Application of Neural Networks in Regression Modelling of Air Pollution Concentrations; Wydawnictwa Politechniki Częstochowskiej: Częstochowa, Poland, 2004. (In Polish) [Google Scholar]
  38. Trenchevski, A.; Kalendar, M.; Gjoreski, H.; Efnusheva, D. Prediction of Air Pollution Concentration Using Weather Data and Regression Models. In Proceedings of the 8th International Conference on Applied Innovations in IT, (ICAIIT); Issue 1, Siemens, E., Mylnikov, L., Eds.; Anhalt University of Applied Sciences; Perm National Research Polytechnic University: Koethen, Germany, 2020; Volume 8. [Google Scholar]
  39. Maleki, H.; Sorooshian, A.; Goudarzi, G.; Baboli, Z.; Birgani, Y.T.; Rahmati, M. Air pollution prediction by using an artificial neural network model. Clean Technol. Environ. Policy 2019, 21, 1341–1352. [Google Scholar] [CrossRef] [PubMed]
Figure 1. The pattern of regression modeling shows the concept for O3 prediction.
Figure 1. The pattern of regression modeling shows the concept for O3 prediction.
Energies 14 07387 g001
Figure 2. An architecture diagram of the multilayer perceptron with five neurons in a single hidden layer.
Figure 2. An architecture diagram of the multilayer perceptron with five neurons in a single hidden layer.
Energies 14 07387 g002
Figure 3. Scatterplots of observed and predicted concentration values; (a) scatterplot for O3; (b) scatterplot for NO; (c) scatterplot for NO2; (d) scatterplot for SO2; (e) scatterplot for PM10; (f) scatterplot for CO; the explicit form of the regression equations are included in the legends; a red line for equations y = x; a blue line for regression equations.
Figure 3. Scatterplots of observed and predicted concentration values; (a) scatterplot for O3; (b) scatterplot for NO; (c) scatterplot for NO2; (d) scatterplot for SO2; (e) scatterplot for PM10; (f) scatterplot for CO; the explicit form of the regression equations are included in the legends; a red line for equations y = x; a blue line for regression equations.
Energies 14 07387 g003
Table 1. Classification of predictors for each of the 6 models.
Table 1. Classification of predictors for each of the 6 models.
Predicted Variable
(Output)
Predictors (Inputs)
GDO3NONO2COSO2PM10WSTI
O3++ ++++++++
NO+++ +++++++
NO2++++ ++++++
CO+++++ +++++
SO2++++++ ++++
PM10+++++++ +++
Table 2. Values of approximation errors calculated for different subranges and the entire range of O3,obs concentrations (hourly data, Zabrze 2011–2016); O3,obs means real O3 concentration, and O3,pred means predicted O3 concentration.
Table 2. Values of approximation errors calculated for different subranges and the entire range of O3,obs concentrations (hourly data, Zabrze 2011–2016); O3,obs means real O3 concentration, and O3,pred means predicted O3 concentration.
Subranges of O3,obs Concentrations
g/m3
Number of ObservationsO3,obs Average Concentration in the Subrange
g/m3
O3,pred Average Concentration in the Subrange
g/m3
MAE μg/m3MSE (μg/m3)2RMSE μg/m3MARErdd1
0 ÷ 2078818.913.66.786.49.31.0820.5420.6020.445
20 ÷ 40562629.632.28.7125.411.20.3060.3510.5300.388
40 ÷ 60520149.447.39.3139.611.80.1900.3570.5210.373
60 ÷ 80342968.763.612.0221.514.90.1750.3460.4580.327
80 ÷ 100183488.983.711.9242.615.60.1350.3540.4430.323
100 ÷ 120905108.6101.712.9266.016.30.1180.2790.4190.307
120 ÷ 140443127.9117.714.3324.018.00.1120.2080.3390.236
140 ÷ 160144147.9134.814.4312.417.70.0970.3560.3850.267
160 ÷ 18059166.7145.221.4511.522.60.1280.3890.2750.153
180 ÷ 2005188.9151.137.81539.839.20.199−0.3370.2300.137
0 ÷ 20025 52342.342.39.2148.212.20.4800.9270.9610.817
Table 3. Values of approximation errors calculated for different subranges and the entire range of NOobs concentrations (hourly data, Zabrze 2011–2016), NOobs means real NO concentration, and NOpred means predicted NO concentration.
Table 3. Values of approximation errors calculated for different subranges and the entire range of NOobs concentrations (hourly data, Zabrze 2011–2016), NOobs means real NO concentration, and NOpred means predicted NO concentration.
Subranges of NOobs Concentrations
g/m3
Number of ObservationsNOobs Average Concentration in the Subrange
g/m3
NOpred Average Concentration in the Subrange
g/m3
MAE μg/m3MSE (μg/m3)2RMSE μg/m3 MARErdd1
0 ÷ 2022,3394.14.62.317.84.20.731 *0.7070.8020.651
20 ÷ 40167928.127.89.2138.611.80.3300.3510.5210.373
40 ÷ 6067048.342.414.2324.418.00.2910.2990.4000.285
60 ÷ 8032968.355.919.9591.024.30.2890.0530.2640.192
80 ÷ 10017088.377.226.21013.831.80.2970.2350.2510.178
100 ÷ 120110109.591.030.11320.136.30.2750.1930.2220.159
120 ÷ 14073128.9116.328.81310.436.20.2240.2000.2210.164
140 ÷ 16041148.3122.334.41719.041.50.2330.2220.1940.134
160 ÷ 18028170.0164.831.31301.036.10.1840.1370.2080.138
180 ÷ 20028189.2168.133.91640.740.50.178−0.3230.1170.085
200 ÷ 57256286.4248.951.13927.562.70.1960.8830.8920.689
0 ÷ 57225,52310.210.13.971.78.50.676 *0.9330.9650.829
* cases with NOobs = 0 were removed to calculate MARE.
Table 4. Values of approximation errors calculated for different subranges and the entire range of NO2,obs concentrations (hourly data, Zabrze 2011–2016), NO2,obs means real NO2 concentration, and NO2, pred means predicted NO2 concentration.
Table 4. Values of approximation errors calculated for different subranges and the entire range of NO2,obs concentrations (hourly data, Zabrze 2011–2016), NO2,obs means real NO2 concentration, and NO2, pred means predicted NO2 concentration.
Subranges of NO2,obs Concentrations
g/m3
Number of ObservationsNO2, obs Average Concentration in the Subrange
g/m3
NO2,pred Average Concentration in the Subrange
g/m3
MAE μg/m3MSE (μg/m3)2RMSE μg/m3MARErdd1
0÷2012,50111.513.83.826.15.10.4050.6340.7370.551
20÷40890228.428.86.160.47.80.2170.5040.6730.492
40÷60311947.542.68.3104.010.20.1740.3810.5360.374
60÷8076867.656.113.8273.416.50.2030.3310.3980.273
80÷10017786.966.921.6614.424.80.2470.1380.2520.168
100÷12044107.879.928.41121.233.50.2640.3550.2400.154
120÷14012128.878.050.93318.757.60.3960.2160.1310.086
0÷14025,52324.224.35.662.57.90.3040.8810.9330.772
Table 5. Values of approximation errors calculated for different subranges and the entire range of SO2,obs concentrations (hourly data, Zabrze 2011–2016), SO2,obs means real SO2 concentration, and SO2,pred means predicted SO2 concentration.
Table 5. Values of approximation errors calculated for different subranges and the entire range of SO2,obs concentrations (hourly data, Zabrze 2011–2016), SO2,obs means real SO2 concentration, and SO2,pred means predicted SO2 concentration.
Subranges of SO2,obs Concentrations
g/m3
Number of ObservationsSO2,obs Average Concentration in the Subrange
g/m3
SO2,pred Average Concentration in the Subrange
g/m3
MAE μg/m3MSE (μg/m3)2RMSE μg/m3 MARErdd1
0 ÷ 1012,8425.27.53.018.04.20.8130.3890.5040.374
10 ÷ 20565214.014.24.839.56.30.3440.3510.5060.375
20 ÷ 30295224.322.97.178.88.90.2920.2720.3960.284
30 ÷ 40182534.331.48.6119.510.90.2520.2230.3250.235
40 ÷ 50102944.239.610.1170.913.10.2290.1860.2720.205
50 ÷ 6056654.047.712.4235.115.30.2290.1710.2430.172
60 ÷ 7034864. 355.914.1306.917.50.2200.1590.2170.157
70 ÷ 8021674.664.116.7422.120.50.2240.0700.1750.127
80 ÷ 9013683.869.619.4567.023.80.2320.1140.1470.114
90 ÷ 1009194.583.419.4575.224.00.2060.0250.1580.128
100 ÷ 200214127.6107.827.51383.837.20.2120.4930.6200.480
200 ÷ 30812227.2195.234.91624.440.30.1490.6410.5740.386
0 ÷ 30825,52317.417.35.472.58.50.5490.9040.9480.789
Table 6. Values of approximation errors calculated for different subranges and the entire range of PM10,obs concentrations (hourly data, Zabrze 2011–2016), PM10,obs means real PM10 concentration, and PM10,pred means predicted PM10 concentration.
Table 6. Values of approximation errors calculated for different subranges and the entire range of PM10,obs concentrations (hourly data, Zabrze 2011–2016), PM10,obs means real PM10 concentration, and PM10,pred means predicted PM10 concentration.
Subranges of PM10, obs Concentrations
g/m3
Number of ObservationsPM10,obs Average Concentration in the Subrange
g/m3
PM10,pred Average Concentration in the Subrange
g/m3
MAE μg/m3MSE (μg/m3)2RMSE μg/m3MARErdd1
0 ÷ 20611213.221.88.7114.110.70.9510.2770.3950.282
20 ÷ 40885928.830.56.989.39.50.2430.3740.5620.426
40 ÷ 60446848.345.011.6209.414.50.2390.3180.4580.327
60 ÷ 80214668.963.916.5412.120.30.2400.2720.3700.259
80 ÷ 100111188.884.219.0579.624.10.2140.2270.3190.233
100 ÷ 120770108.9102.122.2781.428.00.2030.1780.2640.191
120 ÷ 140565128.8122.525.41013.431.80.1970.1230.2200.163
140 ÷ 160361149.8141.229.31396.737.40.195−0.0200.1550.120
160 ÷ 180254169.2161.333.31676.040.90.1970.1280.1800.127
180 ÷ 200198188.5178.333.31846.343.00.1760.3130.2180.168
200 ÷ 400560262.7243.442.82903.053.90.1650.6620.7770.571
400 ÷ 60078481.7445.581.710,393.8102.00.1690.5500.6260.449
600 ÷ 80034689.1649.277.010,356.4101.80.1140.4250.4940.326
800 ÷ 10006884.2791.592.711,590.8107.70.1010.6070.5030.374
0 ÷ 100025,52351.151.312.3363.619.10.4040.9480.9730.818
Table 7. Values of approximation errors calculated for different subranges and the entire range of COobs concentrations (hourly data, Zabrze 2011–2016), COobs means real CO concentration, and COpred means predicted CO concentration.
Table 7. Values of approximation errors calculated for different subranges and the entire range of COobs concentrations (hourly data, Zabrze 2011–2016), COobs means real CO concentration, and COpred means predicted CO concentration.
Subranges of COobs Concentrations
mg/m3
Number of ObservationsCOobs Average Concentration in the Subrange
mg/m3
COpred Average Concentration in the Subrange
mg/m3
MAE mg/m3MSE (mg/m3)2RMSE mg/m3 MARErdd1
0÷121,9350.4260.4470.0930.0170.1310.2560.8060.8920.713
1÷233031.5361.4330.2600.1120.3350.1740.8040.8780.677
2÷35112.3912.2360.3550.1960.4430.1480.5230.6460.464
3÷41683.4243.0560.5990.7120.8440.1790.4820.4450.317
4÷5554.3213.6990.8701.7401.3190.2060.4390.2860.247
5÷6165.3965.2700.5960.4870.6980.1100.8990.7060.473
6÷7166.6016.3070.6960.6920.8320.1060.4480.4710.324
7÷8257.4317.2980.4210.2660.5160.056−0.012 0.3880.301
8÷958.4027.7880.6140.4390.6620.0730.4440.4170.262
0÷925,5230.6150.6150.1210.0390.1970.2440.9470.9720.832
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Hoffman, S. Estimation of Prediction Error in Regression Air Quality Models. Energies 2021, 14, 7387. https://doi.org/10.3390/en14217387

AMA Style

Hoffman S. Estimation of Prediction Error in Regression Air Quality Models. Energies. 2021; 14(21):7387. https://doi.org/10.3390/en14217387

Chicago/Turabian Style

Hoffman, Szymon. 2021. "Estimation of Prediction Error in Regression Air Quality Models" Energies 14, no. 21: 7387. https://doi.org/10.3390/en14217387

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop