Introduction

Spatial filtering can be used to create smoothed maps of health and ecological patterns [14]. Since population distributions are highly heterogeneous in space, an ordinary point plot of all cases is not useful. Smoothing data by adjusting for the population at risk is necessary to identify areas with higher disease rates [5]. Smoothing disease data can provide the true relative risk of a disease across a study area [6]. There are other reasons to filter health and ecological data. Field survey data gathering systems usually generate errors. Filtering removes random noise caused by inaccurate records or mislocated cases [1, 7, 8]. There are many intervening factors at the individual level that may influence spatial processes of disease phenomena. For instance, an individual's biological or socioeconomic status may influence their health status. Neighbors usually have similar risk, particularly for environmentally related diseases, unless the spatial process of the disease is exclusively affected by individual-level characteristics. Also, some risk factors of diseases genuinely operate at the population level [9].

People do not live in isolation; they live in groups (neighborhood) that may influence their life style, health, and health seeking behavior. Thus, a neighborhood level study is sometimes essential to identify important public health problems and to generate hypotheses about their potential causes [9]. Twigg et al. showed that the behavioral practices of an individual are influenced by neighbors [10]. Some variables do not make sense at the individual scale and should be modeled as ecological variables. For instance, a household with a good sanitation system can be exposed to bad sanitation from neighbors. Ecological factors are more meaningful if the data are measured by neighborhood. Spatial filtering can be used to model such neighborhood level phenomena.

Ecological variables can be measured at different geographic scales from local to global. In ecology, it is well known that observation scales influence ecological inference [1113]. Determining the neighborhood size (or the area) over which densities of the phenomena are estimated is important. A large neighborhood makes the data flat over the entire study area whereby important local level variation is obscured that could point to ecological associations. In contrast, a small neighborhood may reveal individualistic patterns [1], and that may not be useful for identifying ecological relationships with health outcomes. Defining an optimal neighborhood size is difficult [14, 15]. Bailey and Gatrell [16] suggested exploring different sizes and looking at the variation at those scales to come up with an optimal neighborhood size. However, literature that describes methodologies for selecting the optimal size of neighborhood is scarce. Thus, one often chooses the scale arbitrarily, and the use of an arbitrary scale may yield spurious outcomes. This paper introduces a methodological approach for selecting the optimal neighborhood size that can be used to measure ecological variables and to investigate ecological links with local variation of diseases.

Methodology

The Study area

Health and socioeconomic data of a study area in Khanh Hoa Province, on the coast of central Vietnam, were used to test the proposed method. The size of the study area is 740 square kilometers consisting of 33 communes in two districts: Nha Trang (151 square kilometres) and Ninh Hoa (589 square kilometres). A dynamic population database is maintained for the study area which is updated on yearly basis. In 2002, the population of the study area was 329,596, of which 54% of the population is from Nha Trang. We created a household-level geographic information system (GIS) database that includes a point for each active household (described below) in 2002. The household settlements are clustered, leaving a large portion non-inhabited land within the administrative boundaries, which led us to define household-based working study area by creating 500 meters radius buffer around each household point and dissolving boundaries between buffers (Figure 1). This resulted in a 394 square kilometres working study area for the entire population and 79 square kilometres for Nha Trang specifically.

Figure 1
figure 1

The geographic features of the study area in Vietnam. Map showing the geographic characteristics of the study area along with the geographic positing of the study area in Vietnam

The GIS data

In 2003, we conducted a global positioning system (GPS) survey using handheld receivers to identify the geographic locations of every household in the study area. A base map of commune boundaries and other geographic features (e.g., rivers, roads, railways, lakes) was first acquired in digital format. The household GPS survey data were projected in the same geographic referencing system (i.e., Transverse Mercator) so that the household points could be accurately integrated with the study area base map. When several households shared a single structure or closely connected structures a single point was plotted. We received a list of 72,152 households from the census 2002. A total of 3,587 households could not be included in the GIS for a variety of reasons (e.g., migration out, living on a military base with no access, and household confirmation was not possible due to the absence of household members). Thus, the GIS was created for the 68,565 households, which were referenced spatially by 32,542 points. Several checks were made for missing households, misallocations, and wrong identification numbers, and the erroneous data were corrected. Finally, the household data were mapped in groups (the smallest geographic entity), and their positions were verified by ground-truthing.

The attribute data

We used two social variables, religion and literacy (i.e., years of schooling), and two enteric disease incidence variables (i.e., shigellosis and Vibrio parahaemolyticus). The disease incidence data were obtained from a population-based passive surveillance system that was begun in January 1997 [17]. The socioeconomic data were obtained from a 2002 population survey. The survey data shows approximately 85% of the population is secular, 10% Buddhist, and 5% Christian. Only 11% had not attended school, 37% had received a primary education, and the rest (52%) completed secondary or higher education.

The Vibrio parahaemolyticus data were derived from the disease surveillance of the study area from 1997 to 1999. V. parahaemolyticus, a gram-negative, halophilic bacterium, inhabits marine and estuarine environments. The microorganism was first identified as a cause of food borne illness in Japan in 1950 [18]. A polymerase chain reaction (PCR) based method to detect the toxR sequence specific to Vibro parahaemolyticus was used to identify cases as reported elsewhere [19]. The shigellosis study was carried out for three years (2001–2003) in Nha Trang in collaboration with the Diseases of the Most Impoverished Program [20]. All shigellosis cases were detected through microbiological test of stool samples.

Data categorization and manipulation

We categorized the two variables, literacy and religion, to define the social status of the study population. A person having six years of schooling or above was considered to be literate, and the religion was classified by Buddhist and non-Buddhist. Since the data were obtained at the individual level, the data were aggregated by spatially referenced household points. Neighborhood level data were then obtained for each of the spatially referenced points of household (32,542 points for the 329,596 individuals in 68,565 households) by aggregating household level data of surrounding neighbors using circular windows of various sizes. The neighborhood level social variables were estimated by the percentage of people living within neighborhoods, and the disease incidence variables were expressed in rates per 10,000 people. Our aim was to create a local-level neighborhood variable for these phenomena. Therefore, based on the working size of the study area and the spatial distribution of the population we set the minimum size to a 100-meter radius neighborhood and increased the size stepwise by 100 meters until a 2000 meter size was reached. This resulted in 20 different neighborhood sizes from which to select an optimal neighborhood size.

Statistical analysis

Since the data from smaller neighborhoods are individualistic in nature, a high variance value is expected. In contrast, a low variance value is expected for larger neighborhoods. A high variance value means that data are local and low variance means that they are global. To select an optimal size of neighborhood that can ensure that the ecological data are neither local nor global, we used Hartley's test of homogeneity of variance [21] that evaluates variation in variances across neighborhoods. The Hartley's test statistic, F MAX , is calculated by

where

= maximum value of the variances among groups

= minimum value of the variances among groups

Under the null hypothesis, the test assumes that the variances are equal. The critical value (CV) was calculated under the F-distribution with (k, n MAX - 1) degrees of freedom at α = 0.05. Here, k is the number of groups and n MAX is the maximum sample size among groups.

The Fmax test involved two steps. First the variance of each neighborhood was compared to the highest neighborhood variance (upper, Fmax1) and then they were compared with the lowest neighborhood variance (lower, Fmax2). A significant value (means the value does not fall within the CV) of Fmax1 indicates that the neighborhood does not have a global structure of data, and in contrast, a significant value in Fmax2 implies that the neighborhood data are not individualistic. The neighborhoods that are between the lower and the upper limits are the optimal neighbourhood sizes.

Results

There were 131 cases of Vibro parahaemolyticus in 127 household points in the entire study area for the three years of study (1997–1999), and 308 cases of shigellosis were observed in 295 household points for the year 2001 through 2003 in Nha Trang. Out of the total 329,596 population, 31,924 (9.7%) were Buddhists who were identified in 3,681 household points of the total study area. And, a total of 168,699 (51.2%) literate persons were observed in 30,069 household points.

The data variances for the Vibro parahaemolyticus incidence rates under various neighborhood sizes show a declining trend with an increase in neigborhood size (Figure 2). The rapid decline observed at smaller scales virtually disappears with larger neighborhood sizes. The pattern is similar for shigellosis as well as for both socioeconomic variables (figures not shown).

Figure 2
figure 2

The data variance by neighborhood size. Graphical presentation of the data variances for the Vibro parahaemolyticus incidence in Khanh Hoa, Vietnam under various sizes of neighborhood.

The test results for homogeneity variance of Vibro parahaemolyticus incidence rates under various neighborhood sizes are listed in Table 1. The Fmax1 test statistic at the level α = 0.05 shows a neighborhood size above 900 meters would reveal the global structure of the data, and the Fmax2 statistic shows that any neighborhoods below 200 meters would make the data too individualistic. Thus, the choice of optimal neighborhood lies between 200 and 900 meters. Considering the values of several parameters such as minimum population size, skewness and kurtosis of the incidence rate, we argue that a 500-meter neighborhood is optimal size for modeling the local variation of the disease incidence.

Table 1 Descriptive statistics and results of variance ratio (Fmax) test for the Vibrio parahaemolyticus incidence under various neighborhoods, Khanh Hoa Province, Vietnam, 1997–99. (n = 29,211)

When looking at literacy, the Fmax1 test statistic shows a neighborhood above 600 meters would reveal the global pattern, and the Fmax2 test statistic demonstrates any neighborhoods below 700 meters would make the data individualist (Table 2). In this case, we believe that 700 meters is the optimal size because the difference between Fmax1 and CV1 is smaller than the difference between Fmax2 and CV2 of a 600-meter neighborhood. The summary statistics and test results of religious status under various neighborhood sizes are shown in Table 3. For religion, a 700-meter size neighborhood is also appropriate.

Table 2 Descriptive statistics and results of variance ratio (Fmax) test for the literacy status under various neighborhoods, Khanh Hoa Province, Vietnam, 2002. (n = 32,542)
Table 3 Descriptive statistics and results of variance ratio (Fmax) test for the ethnicity status under various neighborhoods, Khanh Hoa Province, Vietnam, 2002. (n = 32,542)

The test results for the choice of optimal neighborhood size for shigellosis obtained from the Nha Trang subpopulation are shown in Table 4. The Fmax1test statistic reveals that a neighborhood size over 800 meters would produce a global pattern. On the other hand, the Fmax2 test statistic illustrates that a neighborhood below 300 meter would yield an individualistic pattern. Out of the choices between 400 and 800 meters, we suggest a 400 meter neighborhood size based on the criteria mentioned above for Vibro parahaemolyticus.

Table 4 Descriptive statistics and results of variance ratio (Fmax) test for shigella incidence under various neighborhoods, Nha Trang, Vietnam, 1999–2001. (n = 13565)

To get an understanding of local geographic variation of the disease and social variables, we created isopleth maps with the spatially smoothed data by using the optimal neighborhood sizes. Spatially smoothed data are more appropriate for disease and ecological mapping than the raw data [22]. A widely used geostatistical interpolation method called kriging [23, 24] was used to create those maps. The maps ware produced as a quintile distribution for the respective phenomenon. Figure 3 shows the local geographic pattern of the Vibro parahaemolyticus incidence rate in Khanh Hoa province, Figure 4 shows the geographic pattern of literacy status in Khanh Hoa province, Figure 5 shows the pattern of religion in Khanh Hoa province, and Figure 6 shows the pattern of shigellosis incidence in Nha Trang. All of the maps show clear local geographic variation of the phenomena.

Figure 3
figure 3

Local geographic pattern of Vibro parahaemolyticus incidence rate in Khanh Hoa province, Vietnam. The map was created based on the household point locations, thus the upper part of the study where no households are located have been omitted during the creation of the surface map. The lighter tones indicate lower Vibro parahaemolyticus incidence rate and the darker tones indicate higher Vibro parahaemolyticus incidence rate.

Figure 4
figure 4

Local geographic pattern of literacy status in Khanh Hoa province, Vietnam. The map was created based on the household point locations, thus the upper part of the study where no households are located have been omitted during the creation of the surface map. The lighter tones indicate lower literacy status and the darker tones indicate higher literacy status.

Figure 5
figure 5

Local geographic pattern of ethnicity status in Khanh Hoa province, Vietnam. The map was created based on the household point locations, thus the upper part of the study where no households are located have been omitted during the creation of the surface map. The lighter tones indicate lower proportion of ethnically minority group and the darker tones indicate higher proportion of the ethnically minority group.

Figure 6
figure 6

Local geographic pattern of shigella incidence rate in Nha Trang, Vietnam. The map was created based on the household point locations, thus the upper part of the study where no households are located have been omitted during the creation of the surface map. The lighter tones indicate lower shigella incidence rate and the darker tones indicate higher shigella incidence rate.

Discussion and conclusion

The Hartley's Fmax test of homogeneity provides a solution for determining the optimal neighborhood size for modeling the local variation of health and social determinants. The methodological approach illustrates that the choice of optimal neighborhood is data dependent. Vibrio parahaemolyticus incidence requires a scale from 200 and 900 meters, and we argued that a 500 meter neighborhood is most appropriate based on the values of other parameters. The choice of neighborhood size for social variables (i.e., literacy and religion) ranged from 600 to 700 meters, and we suggested 700 meters for both. Similarly, out of the options between 300 and 800 meters for shigellosis incidence in Nha Trang, we suggest a 400 meter neighborhood. The maps produced using optimal neighborhood sizes show clear local geographic variation of the respective phenomenon suggesting the suitability of the approach. Since the ecological process may differ from one variable to another [25], different optimal neighborhood sizes are expected. The results of our analyses confirm this notion.

Measuring ecological data at a neighborhood scale to understand the spatial variability requires considerable knowledge of the phenomenon being measured [26]. For example, dissemination of an innovation may diffuse to close neighbors through literate persons. However, the media through which it diffuses is assumed spatially heterogeneous. For instance, a friendly neighborhood may accelerate the innovation, but disputes among neighbors may impede diffusion of the innovation. It would be ideal to assign weight for these social factors while measuring ecological variables, but that requires considerable knowledge about the spatial process of the phenomenon. For sanitation status, a poorly constructed latrine can be an important source of pollution by spreading fecal matter to nearby areas. Therefore, a distance decay weight can be applied here considering there is an inverse relationship from the source of pollution [27].

Since spatial filtering smoothes data, average errors may be inherent in the data [28]. Such ecological bias [29] can be more apparent in a predefined geographic area than within the natural boundary created through spatially smoothed data using optimal neighborhood modeling. Ecological bias may also be present when modeling variables with large neighborhood sizes.

One of the biggest problems in spatial epidemiology and ecological exposure assessment is in identifying geographic patterns [29] through spatial interpolation. Selection of an interpolation method has strong implications on the representation of spatial patterns as well as on the accuracy of interpolated data [30]. Interpolating the data based on spatially smoothed data obtained by an optimal neighborhood size could provide more accuracy in the local variation of the phenomena being measured. The optimal neighborhood may help ecological analysis in two ways: aggregating the data (both dependent and independent variables) using optimal neighbourhood scales and performing the analysis at the ecological level, or by limiting the dependent variable at the individual level, but attaching ecological covariates (obtained through optimal neighbourhood size) to each individual [31].

A scientifically validated method is required to assist geographic research [32], and to properly use GIS technology in health and ecological studies [33]. In our paper, we have outlined a method to choose optimal neighbourhood sizes for addressing local spatial variation of disease and social determinants. The method can be useful in health and ecological studies.