A method for modeling ground PM2.5 concentration considering global spatial autocorrelation and local heterogeneity
By constructing the global and local spatial weight matrix, extracting the global and local spatial influence factors, and combining the regression idea to build the global-local spatial regression model, the problem of the traditional PM2.5 modeling method failing to consider the global and local spatial influences at the same time is solved and improved In order to improve the model accuracy and estimation effect, a continuous PM2.5 concentration distribution map was generated.
Patent Information
- Application Number
- CN202111121091.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-24
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-09-24
AI Technical Summary
Traditional PM2.5 regression modeling methods only consider global spatial autocorrelation or local spatial heterogeneity separately, failing to eliminate the influence of global and local spatial effects at the same time, resulting in insufficient model accuracy.
Using a modeling method that takes into account global spatial autocorrelation and local spatial heterogeneity, by constructing global and local spatial weight matrices, extracting global and local spatial influencing factors, and combining regression ideas to build a global-local spatial regression model to eliminate spatial autocorrelation. Correlated and idiosyncratic effects.
It improves the PM2.5 modeling accuracy and estimation effect, generates a continuous PM2.5 concentration distribution map covering the entire study area, and enhances the flexibility and robustness of the model.
Smart Images

Figure CN113901384B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of spatial statistical analysis service application, and in particular relates to a ground PM2.5 concentration modeling method that takes into account global spatial autocorrelation and local spatial heterogeneity. Background Art
[0002] PM2.5 is the main pollutant of air pollution. It has a huge impact on people's production and life, and it is also extremely harmful to human health. In recent years, the problem of air pollution has been paid more and more attention. Ground PM2.5 concentration monitoring stations have been established across the country, but the number of monitoring stations is limited and unevenly distributed. With the development of remote sensing technology, some scholars have begun to use remote sensing data to invert PM2.5 concentration. Commonly used PM2.5 inversion data include aerosol optical depth (AOD), normalized difference vegetation index (NDVI), digital elevation model (DEM), and various meteorological factors and pollution source data. Common models for PM2.5 inversion using remote sensing data include ordinary least squares regression (OLS), land use regression (LUR), geographically weighted regression (GWR), spatial filter value (ESF) and spatial error (SEM) models.
[0003] The distribution of PM2.5 is affected by spatial effects and has spatial autocorrelation and spatial heterogeneity. The spatial distribution of PM2.5 is continuous and has spatial autocorrelation; PM2.5 is also affected by factors such as topography, meteorological factors, and pollution sources, which change with the change of location and have spatial heterogeneity. Traditional PM2.5 regression modeling methods only consider global spatial autocorrelation or local spatial heterogeneity separately, without considering global and local spatial effects at the same time, that is, the regression model only weakens the impact of spatial effects to a certain extent.
[0004] In order to eliminate the influence of global and local spatial effects at the same time, the present invention proposes a ground PM2.5 concentration modeling method that takes into account global spatial autocorrelation and local spatial heterogeneity. The present invention believes that local spatial influence can be divided into two parts, one part is the spatial influence caused by the local environmental conditions themselves; the other part is the global spatial influence and the local manifestation of the global influence. This is the combination of global and local spatial regression modeling. The present invention extracts global spatial influencing factors and local spatial influencing factors through the global spatial weight matrix and the local spatial weight matrix respectively. When extracting the local spatial influencing factors, the global spatial influencing factors are used as factor data, and the local spatial influencing factors are extracted together with the factor data such as aerosol thickness, meteorological factors, and pollution sources, and then regression modeling is performed together with the global spatial influencing factors to obtain a ground PM2.5 concentration estimation model. Summary of the invention
[0005] Based on remote sensing data and pollution source data, the PM2.5 concentration of ground stations is modeled and the PM2.5 concentration of locations without stations is estimated. The invention aims to simultaneously consider global and local spatial effects, combine global and local regression ideas, eliminate the influence of global spatial autocorrelation factors and local heterogeneous factors, and further improve the PM2.5 modeling accuracy and estimation effect.
[0006] See also Figure 1 , the technical solution adopted by the present invention comprises the following steps:
[0007] Step 1: Data acquisition and processing. Obtain the PM2.5 ground monitoring values of the meteorological station, and obtain the factor data related to ground PM2.5 from various data sources. Aerosol thickness products are significantly correlated with PM2.5 concentrations and are required independent variables. Meteorological data, pollution source data, and other factor data are selected based on the climate characteristics and data quality of the study area. All data are preprocessed, including deleting null values and outliers, projection conversion, and unification of time and space resolutions.
[0008] Step 2: Construct a global spatial weight matrix. Based on the projection coordinates of the meteorological station data, construct a global spatial weight matrix for all stations in the study area, and centralize it into a symmetric matrix to convert the spatial relationship into a weight value. The construction method is: based on adjacency; or based on inverse distance weighting; or a composite type.
[0009] Step 3: Extraction of global spatial factors: Based on the global spatial weight matrix, the global spatial impact factor is extracted according to the degree of spatial autocorrelation, which is recorded as Eα.
[0010] Step 4: Construct a local spatial weight matrix. Select a spatial weight function and construct a local spatial weight matrix for each site and the other sites within the local spatial influence range of the site. The local spatial influence range is optimized and determined in step 5.
[0011] Step 5: Determine the local spatial influence range. The local spatial influence range is also called bandwidth. The weight function is very sensitive to the choice of bandwidth, and the optimal bandwidth needs to be selected. Commonly used methods for selecting the optimal bandwidth include cross-validation, AIC criterion, Bayesian information criterion, and stability index.
[0012] Step 6: Extraction of local spatial factors: Based on the local spatial weight matrix and the optimal bandwidth, a weighted local least squares regression is performed to extract the local spatial influencing factor, which is recorded as βx.
[0013] Step 7: Construct a global-local spatial regression model. The global spatial impact factor Eα extracted in step 3 and the local spatial impact factor βx extracted in step 6 are regressed to model the global spatial impact factor Eα representing global spatial autocorrelation and the local spatial impact factor βx representing local spatial heterogeneity. The global spatial factor and the local spatial factor are used to construct a regression model to form the following model:
[0014]
[0015] Where E is the set of spatial feature vectors of global spatial influencing factors, and α is the coefficient of the set of spatial feature vectors of global spatial influencing factors; (u i , v i ) is the horizontal and vertical coordinates of the coordinate system of the i-th sampling point, β0(u i , v i ) is the intercept term of the regression equation for the i-th sampling point; β k (u i , v i ) is the kth regression parameter at the i-th sampling point, x ik is the kth independent variable at the i-th sampling point; α i is the coefficient of the spatial feature vector set of the i-th sampling point; ε i is the random error of the ith region, satisfying the basic assumptions such as zero mean, homoscedasticity, and mutual independence.
[0016] Step 8: Evaluation and analysis. Calculate the model accuracy evaluation index. The evaluation index includes the model's goodness of fit (R 2 ), adjusted goodness of fit (Adj.R 2 ), root mean square error (RMSE), mean absolute percentage error (MAPE), mean absolute error (MAE) and Moran's I of the residual. The model is tested for robustness, and the cross-validation method is often used to calculate the above indicators.
[0017] In the above-mentioned ground PM2.5 concentration modeling method that takes into account global spatial autocorrelation and local heterogeneity, in step 1, the temporal and spatial resolutions of the factors are unified and projected to be consistent with the temporal and spatial resolutions and spatial reference system of the AOD data. The pollution source data, such as point and line data such as factory locations and road network density, are used to calculate their kernel density to obtain a raster image covering the entire study area.
[0018] In the above-mentioned ground PM2.5 concentration modeling method that takes into account global spatial autocorrelation and local heterogeneity, step 2 specifically includes
[0019] Step 2.1:
[0020] (1) Construct the spatial weight matrix W1 based on the adjacency relationship. Construct the Thiessen polygon of the site, and construct the global spatial weight matrix according to the Bishop adjacency, Rook adjacency and Queen adjacency methods.
[0021] (2) Construct the spatial weight matrix W1 based on inverse distance weighting. Construct the adjacency relationship based on the distance between sites, convert the distance into weight value through kernel function, and obtain the global spatial weight matrix. Kernel function can be divided into exponential, Gaussian, and spherical models. The specific formula is as follows:
[0022]
[0023]
[0024]
[0025] Wherein, formulas (1), (2), and (3) are exponential, Gaussian, and spherical models, respectively. i, j represent position i and position j, respectively. W i,j represents the adjacency (weight) between locations i and j. r represents the maximum distance of edges in the minimum spanning tree of all sites.
[0026] (3) Based on the composite construction of spatial weight matrix W1. For example, K-nearest neighbor matrix and weight matrix based on adjacency relationship and distance. K-nearest neighbor matrix, first determine a threshold K, search for the K nearest neighbors of each site, and construct the adjacency matrix, W i,j Represents the adjacency (weight) between location points i and j; constructs a weight matrix based on adjacency and distance. First, a threshold d is determined, and each site is searched for other sites whose distance does not exceed the threshold d. The two sites are considered to be adjacent. i,j =1, otherwise it is not adjacent, W i,j =0, construct the weight matrix.
[0027] Step 2.2: Matrix centering. The matrix W1 obtained in the above steps is centralized to a symmetric matrix W. The centralization formula is as follows:
[0028]
[0029] Where I represents the n-dimensional identity matrix, 11 T is an n×n matrix with all elements equal to 1, where n represents the number of monitoring sites in the study area.
[0030] In the above-mentioned ground PM2.5 concentration modeling method that takes into account global spatial autocorrelation and local heterogeneity, step 3 specifically includes
[0031] Step 3.1: Calculate the eigenvalues and eigenvectors of the spatial weight matrix W and perform preliminary screening. Solve for the eigenvalues and obtain the eigenvalue λ i and the eigenvector E i There are two conditions for the initial screening: one is its eigenvalue λ i >0; second, according to the empirical model, the following conditions are required:
[0032]
[0033] where λ i represents the feature value to be screened, λ max Represents the largest eigenvalue. Preliminarily screen out the spatial eigenvectors that meet the conditions.
[0034] Step 3.2: Screening of spatial feature vectors. Use the stepwise regression method to screen out the spatial feature vectors that give the best evaluation results. The specific steps are as follows:
[0035] Step 3.2.1: Sorting spatial eigenvectors. Arrange the spatial eigenvectors after the initial screening from small to large according to the eigenvalue size to obtain the spatial eigenvector set E.
[0036] Step 3.2.2: Add the vectors of the spatial feature vector set E to the ordinary least squares regression equation of PM2.5 and each factor as independent variables, and calculate the AIC value of the regression equation.
[0037] Step 3.2.3: Select the regression equation Y with the smallest AIC value from step 3.2.3 k , the corresponding spatial eigenvector is E k , and then from the spatial eigenvector set E, remove E k The eigenvectors outside are added to the regression equation Y k , and calculate the AIC value of the regression equation.
[0038] Step 3.2.4: Determine whether the AIC value has decreased significantly. If so, repeat step 3.2.3. If the AIC value has hardly decreased, stop adding feature vectors to the regression equation and record the feature vectors that have been added to the regression equation. These feature vectors are the feature vector set that is selected to optimize the evaluation criteria.
[0039] In the above-mentioned ground PM2.5 concentration modeling method that takes into account global spatial autocorrelation and local heterogeneity, in step 4,
[0040] The spatial weight functions include distance threshold function, exponential function, Gaussian function, double square function, and cubic function, as shown in formulas 6 to 11 respectively.
[0041]
[0042]
[0043]
[0044]
[0045]
[0046] Among them, W i,j represents the adjacency (weight) between position points i and j, dij represents the distance between position points i and j, where b is a non-negative decay parameter used to describe the functional relationship between weight and distance, called bandwidth. The larger the bandwidth, the slower the weight decays with increasing distance; the smaller the bandwidth, the faster the weight decays with increasing distance.
[0047] In the above-mentioned ground PM2.5 concentration modeling method that takes into account global spatial autocorrelation and local heterogeneity, in step 5, the cross validation (CV) method is used to calculate the optimal bandwidth.
[0048]
[0049] Indicates that the regression parameter estimation does not include the regression point itself, that is, the regression calculation is performed only based on the points around the regression point. The b with the smallest CV value is the optimal bandwidth.
[0050] In the above-mentioned ground PM2.5 concentration modeling method that takes into account global spatial autocorrelation and local heterogeneity, there are two methods for cross-validation in step 8. (1) K-fold cross-validation. The K value is determined according to the amount of data, and K is usually selected as 5, 8 or 10. (2) Subsampling validation. The data is divided into two parts, one as the modeling set and the other as the test set.
[0051] In the above-mentioned ground PM2.5 concentration modeling method taking into account global spatial autocorrelation and local heterogeneity, step 8 specifically includes:
[0052] Step 8.1: Model accuracy evaluation. Calculate the R of the obtained model. 2 , adjusted R 2 Adj.R 2 , root mean square error (RMSE), mean absolute error (MAE) and Moran's index (Moran's I) of the residual are used as evaluation indicators to verify the accuracy of the proposed ground PM2.5 concentration estimation model taking into account global spatial autocorrelation and local spatial heterogeneity.
[0053]
[0054] Where yi is the observed PM2.5 concentration at site i, is the mean value of the observed data, is the PM2.5 concentration of site i predicted by the model, and n is the number of monitoring sites.
[0055]
[0056] Where p is the number of independent variables; R 2 and Adj.R 2 The value range is 0 to 1. The larger the value, the higher the model accuracy.
[0057]
[0058]
[0059] The meanings of the parameters in the formula are the same as above. The smaller the RMSE and MAE, the higher the model accuracy.
[0060]
[0061] where e i is the PM2.5 concentration residual of site i obtained by the model, is the average value, c ij is the inverse distance spatial weight between sites i and j. The value range of I is -1 to 1. The closer the value is to 0, the weaker the residual spatial autocorrelation is and the more reliable the model is.
[0062] Step 8.2: Cross-validation. The cross-validation method used is the 8-fold cross-validation method to evaluate the prediction accuracy of the model for PM2.5 concentrations in non-site areas. The PM2.5 site data and independent variable data obtained in step 1 and the screened spatial feature vectors obtained in step 3 are randomly divided into 8 parts, 7 parts are selected as training sets each time, and modeling is performed according to the above steps. The remaining 1 part is used as a test set, and the independent variables of the test set are brought into the model obtained from the training set, and the root mean square error of the test set is calculated; after each data set has been tested once, the average of the 8 root mean square errors RMSE is calculated, which is the result of cross-validation. The smaller the RMSE, the higher the prediction accuracy of the model, the stronger its robustness, and the stronger its applicability.
[0063] Step 8.3: Grid calculation. Step 7 obtained the mathematical statistical model of ground PM2.5 concentration, and also obtained the correlation coefficients of various factors at various locations in the entire study area. Convert each location point in the study area into a grid image, and set the grid values as the coefficient values of each factor. Interpolate the extracted spatial feature vector into a grid image with the same resolution as AOD covering the entire study area, and then perform grid calculation. Multiply the factor correlation coefficient raster image by the factor raster image and then add them. Finally, add the intercept term to obtain the estimated value of ground PM2.5 concentration.
[0064] Step 8.4: Outlier processing. Due to the existence of errors, the PM2.5 concentration value in a very small part of the PM2.5 concentration distribution map obtained in step 10 may be negative. There may also be a small number of abnormally high PM2.5 concentration values, which need to be processed. Negative PM2.5 concentration values indicate that the PM2.5 concentration at that point is low, so the PM2.5 concentration value is set to 0. At the same time, a threshold is set for the PM2.5 concentration value. All PM2.5 concentration values exceeding the threshold are modified to the threshold for visualization, and finally a continuous ground PM2.5 concentration distribution map is obtained.
[0065] Therefore, the present invention has the following advantages:
[0066] 1. Effectively eliminate the influence of global spatial autocorrelation factors and local heterogeneous factors. Taking spatial autocorrelation and spatial heterogeneity into consideration at the same time, the global spatial influencing factors and local spatial influencing factors are extracted to improve the model accuracy.
[0067] 2. PM modeling methods and global spatial influencing factors are very flexible. There are many choices for global spatial factors, such as the eigenvector of the spatial weight matrix, the lag term of the spatial lag model, etc. There are also many choices for local regression models. In addition to the geographically weighted regression model, other spatially variable coefficient regression models can also be selected. Appropriate global and local regression modeling methods can be selected based on the research area and research data quality.
[0068] 3. The PM2.5 concentration distribution map can cover the entire study area. Based on the existing PM2.5 monitoring stations, the PM2.5 concentration values at places without monitoring stations can be obtained, thereby obtaining a continuous PM2.5 spatial distribution map, which is convenient for subsequent related analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 It is a flow chart of the technical solution of the present invention.
[0070] Figure 2 is a flow chart of an embodiment of the present invention.
[0071] Figure 3This is a sub-flow chart for constructing a global spatial weight matrix in step 2 of an embodiment of the present invention. Specific implementation methods
[0072] In order to facilitate those skilled in the art to understand and implement the present invention, the present invention is further described below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments described herein are only used to illustrate and explain the present invention and are not used to limit the present invention.
[0073] The problem to be solved by the present invention is that PM2.5 distribution is affected by spatial effects, and the traditional PM2.5 regression modeling method only considers global spatial autocorrelation or local spatial heterogeneity, lacks simultaneous consideration of local spatial effects and global spatial effects. In response to these problems, the present invention proposes a ground PM2.5 concentration modeling method that takes into account global spatial autocorrelation and local heterogeneity, constructs a ground PM2.5 concentration estimation model, and then produces a PM2.5 concentration spatial distribution map.
[0074] See also Figure 2 The ground PM2.5 concentration modeling method provided by the present invention taking into account global spatial autocorrelation and local heterogeneity includes the following steps:
[0075] Step 1: Data acquisition and processing. PM2.5 data comes from the national urban air quality real-time publishing platform, which publishes real-time PM2.5 concentration data of each monitoring station every hour. Perform quality checks on PM2.5 station data and remove obvious outliers. Remote sensing aerosol optical thickness (AOD) data can be obtained from existing aerosol products. Meteorological factors such as temperature, air pressure, relative humidity, planetary boundary layer height, precipitation, wind speed, etc. will affect the generation and diffusion process of PM2.5, and thus affect the spatial distribution of ground PM2.5 concentration; other factors such as vegetation coverage, land use, population density, elevation, factory and road distribution density, etc., also affect the spatial distribution of ground PM2.5 concentration to a certain extent. Factor data can be selected according to the climate characteristics and data quality of the study area, and then all data are preprocessed. The original PM2.5 data is the average concentration per hour, and the daily, monthly, seasonal and annual average concentration values can be calculated in turn. The remaining influencing factors also unify the time resolution to the same time resolution as the PM2.5 data. In terms of spatial resolution, the remaining influencing factors need to be converted into a spatial resolution consistent with the AOD data. The spatial resolution can be adjusted by resampling or spatial interpolation. Factory data and road network data are point data and line data, respectively, which can be converted into raster data covering the entire study area by calculating their kernel density. Data with a different spatial reference system from the aerosol optical thickness needs to be projected, and the spatial reference system must be the same as the aerosol optical thickness. After preprocessing, extract the data of each factor at the PM2.5 monitoring station.
[0076] Step 2: Construct a global spatial weight matrix. Three methods can be used to construct a spatial weight matrix based on the projection coordinates of the meteorological station data. (1) Based on adjacency relationship; (2) Based on inverse distance weighting; (3) Composite type. Figure 2 The specific steps are as follows:
[0077] Step 2.1:
[0078] (1) Construct the spatial weight matrix W1 based on the adjacency relationship. Construct the Thiessen polygon of the site, and construct the global spatial weight matrix according to the Bishop adjacency, Rook adjacency and Queen adjacency methods.
[0079] (2) Construct the spatial weight matrix W1 based on inverse distance weighting. Construct the adjacency relationship based on the distance between sites, convert the distance into weight value through kernel function, and obtain the global spatial weight matrix. Kernel function can be divided into exponential, Gaussian, and spherical models. The specific formula is as follows:
[0080]
[0081]
[0082]
[0083] Wherein, formulas (1), (2), and (3) are exponential, Gaussian, and spherical models, respectively. i, j represent position i and position j, respectively. W i,j represents the adjacency (weight) between locations i and j. r represents the maximum distance of edges in the minimum spanning tree of all sites.
[0084] (3) Based on the composite construction of spatial weight matrix W1. For example, K-nearest neighbor matrix and weight matrix based on adjacency relationship and distance. K-nearest neighbor matrix, first determine a threshold K, search for the K nearest neighbors of each site, and construct the adjacency matrix, W i,j Represents the adjacency (weight) between location points i and j; constructs a weight matrix based on adjacency and distance. First, a threshold d is determined, and each site is searched for other sites whose distance does not exceed the threshold d. The two sites are considered to be adjacent. i,j =1, otherwise it is not adjacent, W i,j =0, construct the weight matrix.
[0085] Step 2.2: Matrix centering. The matrix W1 obtained in the above steps is centralized to a symmetric matrix W. The centralization formula is as follows:
[0086]
[0087] Where I represents the n-dimensional identity matrix, 11T is an n×n matrix with all elements equal to 1, and n represents the number of monitoring stations in the study area.
[0088] Step 3: Extraction of global spatial factors. All global spatial factors are represented by the eigenvectors of the spatial weight matrix. The eigenvalues corresponding to the eigenvectors are used for screening, and the significant eigenvectors are extracted as global spatial factors using stepwise regression. Figure 3 , the specific steps are as follows:
[0089] Step 3.1: Calculate the eigenvalues and eigenvectors of the spatial weight matrix W and perform preliminary screening. Solve for the eigenvalues and obtain the eigenvalue λ i and the eigenvector E i There are two conditions for the initial screening: one is its eigenvalue λ i >0; second, according to the empirical model, the following conditions are required:
[0090]
[0091] where λ i represents the feature value to be screened, λ max Represents the largest eigenvalue. Preliminarily screen out the spatial eigenvectors that meet the conditions.
[0092] Step 3.2: Screening of spatial feature vectors. Use the stepwise regression method to screen out the spatial feature vectors that give the best evaluation results. The specific steps are as follows:
[0093] Step 3.2.1: Sorting spatial eigenvectors. Arrange the spatial eigenvectors after the initial screening from small to large according to the eigenvalue size to obtain the spatial eigenvector set E.
[0094] Step 3.2.2: Add the vectors of the spatial feature vector set E to the ordinary least squares regression equation of PM2.5 and each factor as independent variables, and calculate the AIC value of the regression equation.
[0095] Step 3.2.3: Select the regression equation Y with the smallest AIC value from step 3.2.3 k , the corresponding spatial eigenvector is E k , and then from the spatial eigenvector set E, remove E k The eigenvectors outside are added to the regression equation Y k , and calculate the AIC value of the regression equation.
[0096] Step 3.2.4: Determine whether the AIC value has decreased significantly. If so, repeat step 3.2.3. If the AIC value has hardly decreased, stop adding feature vectors to the regression equation and record the feature vectors that have been added to the regression equation. These feature vectors are the feature vector set that is selected to optimize the evaluation criteria.
[0097] Step 4: Construct a local spatial weight matrix. Select an appropriate spatial weight function to construct a local spatial weight matrix for each site and the other sites within the local spatial influence range of the site. Spatial weight functions include distance threshold function, exponential function, Gaussian function, double square function, and cubic function, as shown in formulas 6 to 11, respectively.
[0098]
[0099]
[0100]
[0101]
[0102]
[0103] Among them, W i,j represents the adjacency (weight) between position points i and j, dij represents the distance between position points i and j, where b is a non-negative decay parameter used to describe the functional relationship between weight and distance, called bandwidth. The larger the bandwidth, the slower the weight decays with increasing distance; the smaller the bandwidth, the faster the weight decays with increasing distance.
[0104] Step 5: Calculate the optimal bandwidth. The choice of bandwidth is very sensitive. Too large a bandwidth will lead to too large a deviation in the estimation of the regression parameters, while too small a bandwidth will lead to too large a variance in the estimation of the regression parameters. The cross validation (CV) method is used to calculate the optimal bandwidth.
[0105]
[0106] Indicates that the regression parameter estimation does not include the regression point itself, that is, the regression calculation is performed only based on the points around the regression point. The b with the smallest CV value is the optimal bandwidth.
[0107] Step 6: Regression modeling to obtain factor coefficients. Construct a ground PM2.5 concentration estimation model that takes into account global spatial autocorrelation and local heterogeneity. The specific formula is as follows:
[0108]
[0109] Among them, (u i , v i ) is the coordinate of the i-th sampling point; β k (u i , v i ) is the kth regression parameter at the i-th sampling point, E is the set of spatial feature vectors of global spatial influencing factors, α is the coefficient of the spatial feature vector set of global spatial influencing factors, α i is the coefficient of the spatial feature vector set of the i-th sampling point. i is the random error of the ith region, satisfying the basic assumptions such as zero mean, homoscedasticity, and mutual independence.
[0110] Step 7: PM2.5 concentration prediction: Based on the model established in step 6, estimate the PM2.5 concentration in the entire study area without PM2.5 monitoring stations.
[0111] Step 8: Model accuracy evaluation. Calculate the R of the obtained model. 2 , adjusted R 2 (Adi.R 2 ), root mean square error (RMSE), mean absolute error (MAE) and Moran's index (Moran's I) of the residual are used as evaluation indicators to verify the accuracy of the proposed ground PM2.5 concentration estimation model that takes into account global spatial autocorrelation and local spatial heterogeneity.
[0112]
[0113] where y i is the observed PM2.5 concentration at site i, is the mean value of the observed data, is the PM2.5 concentration of site i predicted by the model, and n is the number of monitoring sites.
[0114]
[0115] Where p is the number of independent variables; R 2 and Adj.R 2 The value range is 0 to 1. The larger the value, the higher the model accuracy.
[0116]
[0117]
[0118] The meanings of the parameters in the formula are the same as above. The smaller the RMSE and MAE, the higher the model accuracy.
[0119]
[0120] where e iis the PM2.5 concentration residual of site i obtained by the model, is the average value, c ij is the inverse distance spatial weight between sites i and j. The value range of I is -1 to 1. The closer the value is to 0, the weaker the residual spatial autocorrelation is and the more reliable the model is.
[0121] Step 9: Cross-validation. The cross-validation method used is the 8-fold cross-validation method to evaluate the prediction accuracy of the model for PM2.5 concentration in non-site areas. The PM2.5 site data and independent variable data obtained in step 1 and the screened spatial feature vectors obtained in step 3 are randomly divided into 8 parts, 7 parts are selected as training sets each time, and modeling is performed according to the above steps. The remaining 1 part is used as a test set, and the independent variables of the test set are brought into the model obtained by the training set, and the root mean square error of the test set is calculated; after each data set has been tested once, the average of the 8 root mean square errors RMSE is calculated, which is the result of cross-validation. The smaller the RMSE, the higher the prediction accuracy of the model, the stronger its robustness, and the stronger its applicability.
[0122] Step 10: Grid calculation. Step 6 obtained the mathematical statistical model of ground PM2.5 concentration, and also obtained the correlation coefficients of various factors at various locations in the entire study area. Each location point in the study area is converted into a grid image, and the grid values are set as the coefficient values of each factor. The extracted spatial feature vector is interpolated into a grid image with the same resolution as AOD covering the entire study area, and then the grid calculation is performed. The factor correlation coefficient raster image is multiplied by the factor raster image and then added. Finally, the intercept term is added to obtain the estimated value of ground PM2.5 concentration.
[0123] Step 11: Outlier processing. Due to the existence of errors, the PM2.5 concentration distribution map obtained in step 10 may have negative PM2.5 concentration values in a very small area. There may also be a small number of abnormally high PM2.5 concentration values, which need to be processed. Negative PM2.5 concentration values indicate that the PM2.5 concentration at that point is low, so the PM2.5 concentration value is set to 0. At the same time, a threshold is set for the PM2.5 concentration value. All PM2.5 concentration values exceeding the threshold are modified to the threshold for visualization, and finally a continuous ground PM2.5 concentration distribution map is obtained.
[0124] It should be understood that the above description of the preferred embodiments of the present invention is relatively detailed, but it cannot be regarded as a limitation on the scope of patent protection of the present invention. Under the enlightenment of the present invention, ordinary technicians in this field can make substitutions or modifications within the scope of protection of the claims of the present invention, all of which fall within the scope of protection of the present invention. The scope of protection requested for the present invention shall be based on the attached claims.
Claims
1. A ground PM2.5 concentration modeling method that takes into account global spatial autocorrelation and local heterogeneity, characterized in that: The following steps are involved: Step 1: Data acquisition and processing; obtain the PM2.5 ground monitoring values of the meteorological station, and obtain the factor data related to the ground PM2.5 from various data sources; the aerosol thickness product is significantly correlated with the PM2.5 concentration and is a necessary independent variable; meteorological data, pollution source data and other factor data are selected according to the climate characteristics and data quality of the study area; preprocess all data, including deleting null values and outliers, projection conversion, and unification of time and space resolution; Step 2: Construct a global spatial weight matrix. According to the projection coordinates of the meteorological station data, construct a global spatial weight matrix for all stations in the study area, and centralize it into a symmetric matrix to convert the spatial relationship into a weight value. The construction method is: based on adjacency relationship; or based on inverse distance weighting; or composite type; Step 3: Extraction of global spatial factors: Based on the global spatial weight matrix, the global spatial impact factor is extracted according to the degree of spatial autocorrelation, which is recorded as Eα; Step 4: Construct a local spatial weight matrix; select a spatial weight function to construct a local spatial weight matrix for each site and the other sites within the local spatial influence range of the site. The local spatial influence range is optimized and determined in step 5; Step 5: Determine the local spatial influence range; the local spatial influence range is also called bandwidth. The weight function is very sensitive to the choice of bandwidth, and the optimal bandwidth needs to be selected. The methods for selecting the optimal bandwidth include cross-validation, AIC criterion, Bayesian information criterion, and stationarity index; Step 6: Extraction of local spatial factors: Based on the local spatial weight matrix and the optimal bandwidth, perform weighted local least squares regression to extract the local spatial influencing factor, recorded as βx; Step 7: Construct a global-local spatial regression model; perform regression modeling on the global spatial impact factor Eα extracted in step 3 and the local spatial impact factor βx extracted in step 6. Specifically, the global spatial impact factor Eα representing the global spatial autocorrelation and the local spatial impact factor βx representing the local spatial heterogeneity are used to construct a regression model using the global spatial factor and the local spatial factor to form the following model: Where E is the set of spatial feature vectors of global spatial influencing factors, and α is the coefficient of the set of spatial feature vectors of global spatial influencing factors; (u i ,v i ) is the horizontal and vertical coordinates of the coordinate system of the i-th sampling point, β0(u i ,v i ) is the intercept term of the regression equation for the i-th sampling point; β k (u i ,v i ) is the kth regression parameter at the i-th sampling point, x ik is the kth independent variable at the i-th sampling point; α i is the coefficient of the spatial feature vector set of the i-th sampling point; ε i is the random error of the ith region, satisfying the basic assumptions of zero mean, homoscedasticity, and independence; Step 8: Evaluation and analysis; Calculate the model accuracy evaluation index; the evaluation index includes the model's goodness of fit (R 2 ), adjusted goodness of fit (Adj.R 2 ), root mean square error (RMSE), mean absolute percentage error (MAPE), mean absolute error (MAE) and Moran's I of the residual; and the model was tested for robustness, and the above indicators were calculated using the cross-validation method.
2. The method for modeling ground PM2.5 concentration taking into account global spatial autocorrelation and local heterogeneity as claimed in claim 1, characterized in that: In step 1, the temporal and spatial resolutions of the factors are unified and projected to be consistent with the temporal and spatial resolutions and spatial reference system of the AOD data; the pollution source data, including point and line data of factory locations and road network density, are used to calculate their kernel density to obtain a raster image covering the entire study area.
3. The method for modeling ground PM2.5 concentration taking into account global spatial autocorrelation and local heterogeneity as claimed in claim 1, characterized in that: Step 2 specifically includes Step 2.1: (1) Constructing a spatial weight matrix W1 based on adjacency relationships; constructing the Thiessen polygons of the site, and constructing a global spatial weight matrix based on Bishop adjacency, Rook adjacency, and Queen adjacency; (2) Based on the inverse distance weighting, the spatial weight matrix W1 is constructed; the adjacency relationship is constructed according to the distance between the sites, and the distance is converted into a weight value through the kernel function to obtain the global spatial weight matrix; the kernel function can be divided into exponential, Gaussian, and spherical models. The specific formula is as follows: Wherein, formulas (1), (2), and (3) are exponential, Gaussian, and spherical models, respectively; i, j represent position i and position j, respectively; W i,j represents the weight between location points i and j; r represents the maximum distance of the edges in the minimum spanning tree of all sites; (3) Construct a spatial weight matrix W1 based on a composite type; such as the K-nearest neighbor matrix and the weight matrix based on adjacency and distance; the K-nearest neighbor matrix, first determine a threshold K, search for the K nearest neighbors of each site, and construct the adjacency matrix, W i,j Represents the weight between location points i and j; constructs a weight matrix based on adjacency and distance. First, a threshold d is determined, and each site is searched for other sites whose distance does not exceed the threshold d. The two sites are considered to be adjacent. i,j =1, otherwise it is not adjacent, W i,j =0, construct the weight matrix; Step 2.2: Matrix centering: The matrix W1 obtained in the above steps is centralized into a symmetric matrix W; the centralization formula is as follows: Where I represents the n-dimensional identity matrix, 11 T is an n×n matrix with all elements equal to 1, where n represents the number of monitoring sites in the study area.
4. The method for modeling ground PM2.5 concentration taking into account global spatial autocorrelation and local heterogeneity as claimed in claim 1, characterized in that: Step 3 Specific include Step 3.1: Calculate the eigenvalues and eigenvectors of the spatial weight matrix W and perform preliminary screening; solve the eigenvalues to obtain the eigenvalue λ i and the eigenvector E i ; There are two conditions for the initial screening: one is its characteristic value λ i >0; second, according to the empirical model requirements, the following conditions are met: where λ i represents the feature value to be screened, λ max Indicates the largest eigenvalue; preliminarily screen out the spatial eigenvectors that meet the conditions; Step 3.2: Screening of spatial feature vectors: Screening out the spatial feature vectors that optimize the evaluation results according to the stepwise regression method; the specific steps are as follows: Step 3.2.1: Sorting spatial feature vectors: Arrange the spatial feature vectors after the initial screening from small to large according to the eigenvalue size to obtain the spatial feature vector set E; Step 3.2.2: Add the vectors of the spatial feature vector set E to the ordinary least squares regression equation of PM2.5 and each factor as independent variables, and calculate the AIC value of the regression equation; Step 3.2.3: Select the regression equation Y with the smallest AIC value from step 3.2.3 k , the corresponding spatial eigenvector is E k , and then from the spatial eigenvector set E, remove E k The eigenvectors outside are added to the regression equation Y k , and calculate the AIC value of the regression equation; Step 3.2.4: Determine whether the AIC value is significantly reduced. If so, repeat step 3.2.
3. If the AIC value is almost not reduced, stop adding the eigenvectors to the regression equation and record the eigenvectors that have been added to the regression equation. These feature vectors are the selected feature vector sets that make the evaluation criteria optimal.
5. The method for modeling ground PM2.5 concentration taking into account global spatial autocorrelation and local heterogeneity as claimed in claim 1, characterized in that: In step 4, The spatial weight functions include distance threshold function, exponential function, Gaussian function, double square function, and cubic function, as shown in formulas 6 to 11 respectively; Among them, W i,j represents the weight between position points i and j, dij represents the distance between position points i and j, where b is a non-negative decay parameter used to describe the functional relationship between weight and distance, called bandwidth; the larger the bandwidth, the slower the weight decays with increasing distance; the smaller the bandwidth, the faster the weight decays with increasing distance.
6. The method for modeling ground PM2.5 concentration taking into account global spatial autocorrelation and local heterogeneity as claimed in claim 1, characterized in that: In step 5, the optimal bandwidth is calculated using the cross validation (CV) method; It means that the regression parameter estimation does not include the regression point itself, that is, the regression calculation is only based on the points around the regression point; the b with the smallest CV value is the optimal bandwidth.
7. The method for modeling ground PM2.5 concentration taking into account global spatial autocorrelation and local heterogeneity as claimed in claim 1, characterized in that: There are two methods of cross-validation in step 8: (1) K-fold cross-validation; the K value is determined based on the amount of data, and K is usually selected to be 5, 8, or 10; (2) subsampling validation; the data is divided into two parts, one as the modeling set and the other as the test set.
8. The method for modeling ground PM2.5 concentration taking into account global spatial autocorrelation and local heterogeneity as claimed in claim 1, characterized in that: Step 8 specifically includes: Step 8.1: Model accuracy evaluation; calculate the R of the obtained model 2 , adjusted R 2 Adj.R 2 , root mean square error (RMSE), mean absolute error (MAE), and Moran's index (Moran's I) of the residual were used as evaluation indicators to verify the accuracy of the proposed ground PM2.5 concentration estimation model that takes into account global spatial autocorrelation and local spatial heterogeneity; where y i is the observed PM2.5 concentration at site i, is the mean value of the observed data, is the PM2.5 concentration of site i predicted by the model, and n is the number of monitoring sites; Where p is the number of independent variables; R 2 and Adj.R 2 The value range of is 0 to 1, and the larger the value, the higher the model accuracy; The meanings of the parameters in the formula are the same as above. The smaller the RMSE and MAE, the higher the model accuracy. where e i is the PM2.5 concentration residual of site i obtained by the model, is the average value, c ij is the inverse distance spatial weight between sites i and j; the value range of I is -1 to 1. The closer the value is to 0, the weaker the residual spatial autocorrelation is and the more reliable the model is; Step 8.2: Cross-validation; The cross-validation method used is the 8-fold cross-validation method to evaluate the prediction accuracy of the model for PM2.5 concentration in non-site areas; the PM2.5 site data and independent variable data obtained in step 1 and the screened spatial feature vectors obtained in step 3 are randomly divided into 8 parts, 7 parts are selected as training sets each time, and modeling is performed according to the above steps. The remaining 1 part is used as a test set, and the independent variables of the test set are brought into the model obtained by the training set, and the root mean square error of the test set is calculated; after each data set has been tested once, the average of the 8 root mean square errors RMSE is calculated, which is the result of cross-validation; the smaller the RMSE, the higher the prediction accuracy of the model, the stronger its robustness, and the stronger its applicability; Step 8.3: Grid calculation; Step 7 obtained the mathematical statistical model of ground PM2.5 concentration, and also obtained the correlation coefficients of various factors at various locations in the entire study area; each location point in the study area was converted into a grid image, and the grid values were set as the coefficient values of each factor; the extracted spatial feature vector was interpolated into a grid image with the same resolution as AOD covering the entire study area, and then grid calculation was performed, the correlation coefficient raster image of the factor was multiplied by the factor raster image and then added, and finally the intercept term was added to obtain the estimated value of ground PM2.5 concentration; Step 8.4: Outlier processing; The PM2.5 concentration distribution map obtained in step 10 may have negative PM2.5 concentration values in a very small number of areas due to the existence of errors. There may also be a small number of abnormally high PM2.5 concentration values, which need to be processed; negative PM2.5 concentration values indicate that the PM2.5 concentration at that point is low, so the PM2.5 concentration value is set to 0, and a threshold is set for the PM2.5 concentration value. All PM2.5 concentration values exceeding the threshold are modified to the threshold for visualization, and finally a continuous ground PM2.5 concentration distribution map is obtained.
