# PQStat - Baza Wiedzy

### Pasek boczny

en:przestrzenpl:wglpl

## Spatial smoothing

The idea of spatial smoothing is obtaining a better (more stable and less noisy) value of the variable. The most common methods of building such a variable are based on borrowing the information from neighboring areas or on using a larger amount of information from the studied region (L.A. Waller 2004 1), Luc Anslin 2006 2)).

As a result, the values of the tested variable with elements will be transformed into a new, smoothed variable with elements ### Local smoothing

The researcher can control the analysis by selecting the distance/neighborhood matrix of the objects, setting the eigenpotential for the object to be smoothed, and indicating the smoothing method.

Spatial weighting matrix

Information about the neighborhood of objects and their mutual distances is defined in the spatial weights matrix. If a neighborhood matrix is used for smoothing - carrying only information information about neighbors (1) or not (0), then only the objects neighbouring with the tested one will have an influence on the obtained result, and the size of this influence will be the same for all neighbors. When a researcher wants to gradate the size of this influence, he should choose a matrix with arbitrary positive values. At the same time, it is important to remember that a larger value in the weight matrix gives a greater influence on the smoothing result. Therefore, in order for closer objects to have a greater influence on the obtained result than distant objects, they should have a higher weight in the matrix. Such an effect can be achieved by using, for example, an inverse Euclidean distance matrix inside a circle of radius . Then, closer objects will have a greater influence on the resulting score than distant ones, and the influence of objects outside the circle will be zero. For more extensive methods of constructing weight matrices, have a look at patial weight matrix and Similarity matrix.

Eigenpotential

The eigenpotential of the smoothed object determines the amount of influence of information about the test object on the smoothed value for that object.

Eigenpotential value

The eigenpotential value sets the size of the elements placed on the main diagonal of the weight matrix. By default, the eigenpotential value is set to 1. If it is set to zero ( ), the smoothed value of the tested object is calculated based only on the information contained in neighboring objects. On the other hand, increasing the value of the eigenpotential increases its share in the calculation of the smoothed value for that object.

Potential value correction

The setting of the eigenpotential value alone determines the influence of the tested object on the obtained result, but it does not define by how much this influence is to be greater/lesser than that of the neighbouring objects (elements off the main diagonal of the weight matrix). The dependence of the value on the main diagonal of the matrix both on the given value of the potential and on the values of other elements of the matrix allows to determine the size of the influence of the tested object in relation to neighbouring objects. Correction of the potential value is given by the formula: As a result, selecting the potential value correction option and setting the potential value to magnitude 3, for example, ensures that the effect of information about the test object on the smoothed value for that object will be three times that of its neighboring objects.

Methods

• Locally weighted average

This transformation consists in calculating the arithmetic mean of the values of the variable for the object under study (according to the potential) and its neighboring objects (according to the given weight matrix). The observed value is transformed to a smoothed value according to the formula: where: –- number of spatial objects (number of points or polygons), –- are the values of the variable for the objects being compared, –- elements of the spatial weight matrix.

• Locally weighted median

This transformation consists in calculating the median of the values of the variable for the object under study (according to the potential) and its neighboring objects (according to a given matrix of weights). In order to determine it a neighborhood matrix is necessary, where weights are binary values. The value of one in the matrix means neighboring objects and zero means no neighboring.

• Locally weighted average (corrected)

In the process of smoothing coefficients built on the basis of dividing two variables, determination of locally weighted average can be improved. The numerator and the denominator are smoothed and only then the quotient is created on the basis of these smoothed values. In this way, you can, for example, smooth the incidence rates determined in the course of epidemiological studies, where the numerator is the number of patients and the denominator is the size of the exposed population. In effect, objects with a larger population, will have a greater impact on the result of smoothing - therefore the denominator of the smoothed coefficient is called the adjustment variable.

The observed value of the coefficient is converted to a smoothed value according to the formula: where: –- number of spatial objects (number of points or polygons), –- elements of the spatial weight matrix.

• Empirical Local Bayes Smoothing (corrected)

The method of local Bayes smoothing was developed as one way to deal with the instability of the coefficients associated with small data counts and was described in detail by Waller (2004 3)). Smoothing aims to improve the locally weighted mean (adjusted) so as to reduce its variance.

The observed value of the coefficient is converted to a smoothed value according to the formula: where: – locally weighted average (adjusted), –- shrink factor, jeśli    –- is the average population size, –- elements of the spatial weight matrix.

The shrinkage factor balances the local average with the observed value of the coefficient . When the population size of the adjustment variable is small, then nd the estimated value is close to the locally weighted adjusted mean . When the population size is large, then and the estimated value approaches the true value observed at that site .

2022/02/09 12:56
1) , 3)
Waller L.A., Gotway C.A. (2004), Applied Spatial Statistics for Public Health Data. New York: John Wiley and Sons
2)
Anselin L., Lozano N., Koschinsky J. (2006) Rate Transformations and Smoothing. GeoDa Center Research Report, https://geodacenter.asu.edu
en/przestrzenpl/wglpl.txt · ostatnio zmienione: 2022/02/16 17:13 przez admin

### Narzędzia strony 