Home Scaling Oversmoothing Factors for Kernel Estimation of Spatial Relative Risk
Article Publicly Available

Scaling Oversmoothing Factors for Kernel Estimation of Spatial Relative Risk

  • Tilman M. Davies EMAIL logo
Published/Copyright: September 24, 2013
Become an author with De Gruyter Brill

Abstract

The bivariate kernel density-ratio estimator has developed popularity among epidemiologists as a flexible exploratory tool for examining the spatial variation in the risk of disease. This estimator is simply given as the quotient of a “case” density estimate describing the observed spatial locations of the disease under scrutiny and a “control” density estimate constructed using observed coordinates of a sample from the uninfected, at-risk population within some bounded geographical region. The way in which the bandwidth(s) for these case and control kernel estimates must be chosen naturally plays a critical role in the interpretation of the resulting risk surface estimate. Recent work has indicated that employment of a particular bandwidth factor for the densities, based on a well-known maximal smoothing principle of the kernel estimator, has the potential to perform well over other bandwidth selectors in terms of estimate proximity to the true (unknown in practice) risk surface. However, calculation of this bandwidth in practice requires specification of a rather arbitrary scalar measure of spread. In this work, we explore the possibility of using triangle dimensions for calculation of the scale, motivated by similar efforts in linear regression variance estimation. The effects on risk surface estimate quality in terms of the integrated squared error are empirically investigated via simulation, and a real-world example illustrates use of the methods in practice.

1 Introduction

The typical heterogeneity observed in the spatial dispersions of various populations over a given geographical area has made the flexibility of bivariate kernel density estimation particularly attractive to researchers wishing to investigate these distributions. One key discipline where this is apparent is that of environmental epidemiology, where the spatial variation of some disease of interest based on collected point-process data of diseased entities (i.e. “cases”) makes up a kernel density estimate. To correct for any natural geographical variation in the at-risk population, the density estimate of a sample of undiseased “controls” is also calculated. Recent examples include Prince et al. (2001), who examined the spatial variation in risk of primary biliary cirrhosis in an area of northeastern England; childhood leukemia in the US state of Ohio was geographically modeled by Wheeler (2007); and Sanson et al. (2011) used the methodology to compare different models for the prediction of foot-and-mouth disease in Ireland. A number of additional examples in spatial epidemiology can be found in the comprehensive text by Waller and Gotway (2004).

The idea of a density ratio, or relative risk function, was first introduced by Bithell (1990, 1991). Subsequent investigations in the statistical literature of the properties and performance of the kernel-smoothed relative risk function were carried out in e.g. Kelsall and Diggle (1995), Clark and Lawson (2004), Hazelton and Davies (2009). An understandably common thread in these works, due to the impact it has on the quality and validity of the kernel estimates, is the issue of bandwidth calculation. Shown to be critical in affecting the extremity of the bias and variance inherent in the resulting kernel-smoothed densities and density ratios, it is important that in practice the bandwidth(s) be chosen to allow resulting estimates to best represent the true, unknown distributions from which the data have assumed to arisen. In addition to realistically representing the risk variation, this has further implications for “secondary” analyses, such as testing for statistical significance of risk fluctuations using the estimated surface.

The fact that we are dealing with a density-ratio estimate means specific smoothing requirements differ to those of a standalone density estimate. A well-received cross-validation approach for computing “optimal” bandwidths, based on minimization of the integrated squared error (ISE) of the log-transformed relative risk function, was introduced in Kelsall and Diggle (1995). However, aside from being computationally expensive, cross-validation has known drawbacks (see for example Scott and Terrell 1987). An alternative data-driven method for bandwidth selection for the log-risk function was considered in Davies and Hazelton (2010). This oversmoothing bandwidth, introduced by Terrell (1990), uses the theory of kernel estimators to analytically derive the bandwidth that may be interpreted as an “upper bound”, i.e. larger bandwidths will not benefit the ISE. Generally deemed to produce standalone kernel density estimates that are too smooth (that is, too biased – see for example comments in Wand and Jones 1995), using this selector for a common case–control bandwidth in density ratios has the potential to perform well due to asymptotic bias cancelations in areas where the case and control densities are equal (Kelsall and Diggle (1995), Davies and Hazelton (2010).

In practice, however, there is a notable problem in computation of the oversmoothing bandwidth when isotropic smoothing is utilized (by far the most common technique in practice) for estimation of a risk function. The oversmoothing bandwidth formula is dependent upon a multiplicative scalar estimate of spread which is able to adequately describe the variation, and scale, along both x- and y-axes. It is obvious that a poorly or naïvely chosen value has the capability to completely overwhelm any benefits arising from the oversmoothing theory.

This work therefore aims to examine several options for this scalar measure of spread and examine, through a simulation study, if one stands out in performance against the others. Of particular interest is the application of a novel trigonometric method for calculating this value, using the medians of the network of triangles formed by the observed data. To provide a point of reference, the simulation study also considers the cross-validation method for density estimation (see e.g. Bowman and Azzalini 1997). We proceed as follows. Section 2 introduces the kernel estimator of relative risk and motivates the potential for the oversmoothing bandwidth. Section 3 describes the oversmoothing formula and discusses the new triangular approach for the scaling multiplier. The problem scenarios and simulation study results, in terms of the ISEs in comparison to the true risk functions, are covered in Section 4. A real-world example illustrating the benefits of the oversmoothing factor in practice is provided in Section 5, and concluding comments and possible future research are discussed in Section 6.

2 Kernel-smoothed relative risk

2.1 Estimator

Falling within some geographical region , we observe two spatial point patterns and which represent cases and controls, respectively. Assuming that X and Y have arisen from independent Poisson processes with respective densities f and g, the goal in practice is to estimate the ratio in order to attain the relative risk surface (Bithell 1990, 1991). The initial work by Kelsall and Diggle (1995) explored in detail the substitution of these unknown densities with corresponding planar kernel density estimates and , giving

[1]
[1]

where

[2]
[2]

and where for some kernel function K, and is an edge-correction factor.

Controlling the amount of smoothing applied to the observations via the kernel function, and are critical to the quality of the estimates from eq. [2]. A poor (i.e. too large or too small) choice of bandwidth for a given estimate has the result of providing an unrealistic impression of the true density. Preference is therefore typically given to some form of “data-driven” bandwidth selection, as opposed to subjective selection, which is often simply based on a visual inspection of the estimate.

Of lesser importance when compared with “appropriate” selection of the bandwidth(s) is the choice of K (see e.g. Wand and Jones 1995; Silverman 1986). For theoretical convenience, it is usually preferable to choose K as a radially symmetric probability density – and the Gaussian kernel (where represents Euclidian norm) is arguably the most common kernel used in the applied literature. Given the practical focus of this work, we will therefore implement the Gaussian K in the subsequent investigations.

Finally, note that it is often sensible to work with the estimated risk function [1] on the log-scale, giving . Kelsall and Diggle (1995) argue that this is important, as in performing this transformation we are effectively “[treating] the two sets of points symmetrically”. We will proceed based on this recommendation.

2.2 Asymptotic properties

In their asymptotic investigation into the properties of the kernel density-ratio estimator in which they make some standard regularity assumptions, Kelsall and Diggle (1995) are able to show that

[3]
[3]

and

[4]
[4]

for points z which lie inside a reasonable distance away from the edge (this is primarily determined by the magnitude of the smoothing parameters). In eq. [3], we have that and . In eq. [4], .

With these properties, we note that a “bias/variance trade-off” exists, a feature typical of smoothing problems. Larger bandwidths will increase bias at a reduction in variability and smaller bandwidths will have the opposite effect. In terms of the bias, however, eq. [3] suggests that we can effectively eliminate much of the bias for the log-risk function in areas where if we choose a common case–control bandwidth . Based on this, and some numerical results, Kelsall and Diggle (1995) concluded that choosing h to be the same for both and was preferable to choosing and separately. This finding in turn motivated Davies and Hazelton (2010) to briefly experiment with Terrell’s oversmoothing principle for choosing a common h (based on pooling the case–control data) in estimation of the risk function, due to the corresponding reduction in variance. The hope was that the potential bias cancelations where the two densities are very similar would prevent excessive overall bias, which has been noted as a potential concern when using the oversmoothing factor in standalone density estimation (Terrell, 1990; Wand and Jones, 1995). It turned out that the oversmoothing bandwidth appeared to perform quite well where it was used in that work, which motivates the current article where attention is focused on further investigation and fine tuning of this potentially beneficial and computationally inexpensive approach to risk function bandwidth calculation.

3 Oversmoothing

3.1 Factor

In his seminal work, George Terrell introduced the idea of the maximal smoothing principle in the context of density estimation via the histogram and the kernel estimator (Terrell 1990). The author demonstrated that knowledge of the scale of the recorded data “gives us tight upper bounds on the asymptotically optimal histogram bin width or kernel [bandwidth]”. It is then possible to use these properties to find such a smoothing parameter which satisfies this criterion, providing the oversmoothing bandwidth. As Terrell (1990) points out, this bandwidth, which is described as “the most smoothing compatible with the scale of the problem”, is taken to produce “conservative” density estimates which “tend to eliminate accidental features”. This is appealing from the point of view of kernel estimation of the relative risk function – although we may quite rightly be concerned about bias as a result of using a large bandwidth, the fact that we already are aware of the potential bias cancelations visible in eq. [3] for areas with means the corresponding reduction in variability in eq. [4] is particularly attractive from a practical perspective.

Defined generally for data of dimension d, Terrell (1990) provides the expression

where is the covariance matrix estimated from the observed data, and denotes the Gamma function. This provides the bandwidth matrix, which specifies different degrees of smoothing along each of the d axes (this type of structure is discussed a little more momentarily). Terrell (1990) also remarks that there exist other spread statistics which may be used in place of .

For our purposes, we are interested in isotropic smoothing on ; this is by far the most common dimension and smoothing style encountered in real-world applications of the kernel log-relative risk function (indeed, this author is currently unaware of any deviations from this scheme in the applied literature). Let the desired scalar bandwidth be denoted , which is found with

where U is a scalar term giving a single measure of spread (on the scale of standard deviation) for the data set at hand. The factor OS is found by simplification of the square-bracketed term above when and is given with

[5]
[5]

Note that for a Gaussian K, it is easy to show that .

Thus, the objective here is to find a scaling parameter U, such that we do not inappropriately mask or amplify [5]. To do this for our case–control data, we first pool the two data sets such that . Crucially, this in a way means we assume that the case and control distributions share a similar spatial behavior. Where we cannot make this assumption, it may be more sensible to access the few methods designed for density-ratio bandwidth selection which retain the distinction between case and control marks. However, current work in Davies (2013) highlights the myriad of practical problems associated with these more complicated methods. As such, it should be stressed that use of OS in this setting is a computationally and conceptually simpler alternative to methods designed specifically for case–control data, but one with an equally important role to play should fast and stable bandwidth selection for exploratory data analysis via the kernel-smoothed risk function be key.

Continuing along this thread, pooling the two samples would typically imply that in eq. [5]. Often in practice, however, there is a notable difference in sample sizes (most commonly there are more controls than cases). In the same way, we must take care in choosing U such that it is representative of the “overall” scale of the data, we must also be wary of calculating OS. If indeed , we do not wish this bandwidth factor to be “blurred” (i.e. too heavily influenced) by an large total sample size if there is such a distinct discrepancy between the counts in the two groups. In an effort to assist sensitivity to a possible large difference between and , we replace n in eq. [5] by .

The “geometric mean sample size” , which results in a value that falls between the two sample sizes yet closer to the smaller, is based primarily on the above heuristic reasoning. The presence of very different case–control sample sizes is not at all uncommon in practice and the need to be wary of potential adverse effects resulting from pooling the data sets should be kept in mind. We therefore assume that this is implemented in studying the relative risk surface estimates below. Our perceptions of the relative performances of the various scaling methods studied in the simulations in Section 4 are not affected by such a decision. Rather, it is the implementation of for individual data sets in practice where becomes more important.

It is also worth once more highlighting that our use of OS in this context, and indeed our investigation of various scalar U in the following sections, clearly implies imposition of isotropic smoothing. This raises the question as to how appropriate this approach will be in situations where the x- and y-coordinates of a given point pattern are on very different scales. In such a setting, we may need to turn to implementation of more complicated bandwidth matrices , which can allow for different levels of smoothing along each axis. Another option is to re-scale the raw data so that these differences in axis scalings are eliminated – a process referred to as sphering. The density/risk surface may then be isotropically smoothed, and the result back-transformed to the original scales. That being said, there is no theoretical evidence to suggest that this is appropriate for anything but Gaussian-distributed data (cf. Chapter 4 of Wand and Jones 1995). At any rate, the computational simplicity and ease-of-use of remains practically appealing, particularly for quick exploratory purposes. As mentioned briefly above, in this author’s experience with applications of the kernel-smoothed relative risk function to real-world epidemiological data to date, there have been no compelling reasons to employ anisotropic smoothing.

Davies and Hazelton (2010) used a straightforward estimate of U by computing the mean of the Gaussian-scaled interquartile ranges (IQR) of the coordinates in Z on both x- and y-axes (see also Silverman 1986). This represents a so-called axis-specific measure of spread and is an admittedly simple fix to the problem of finding a scalar U for the bivariate data sets. In the simulations which follow, we will therefore also compare the triangle-based methods with an appropriate axis-specific counterpart (see the definition for XY.MAD below).

3.2 Trigonometric methods

The approaches described here were inspired by the interesting work in Rousseeuw and Hubert (1996), where the aim is to estimate the error variance in simple linear regression without the need to turn to residuals of the fitted line itself. A subsequent evaluation of Rousseeuw and Hubert’s technique was shown to perform its role well in Schettlinger et al. (2010). We build on these ideas to make them relevant to choosing a suitable U based on spatial point process data and estimation of the risk function.

Consider the network of up to non-degenerate triangles formed by the spatial observations on as per Figure 1 (instances of three distinct collinear points are ignored). Scale may then be estimated from suitable interior measurements involving these triangles. We consider two different versions of trigonometric scaling here. First, the grand mean interior triangle height and width, and second, the grand mean of a certain proportion of the medians of the triangles.

Figure 1 The network of 120 triangles formed by 10 randomly generated points
Figure 1

The network of 120 triangles formed by 10 randomly generated points

The first scaler we explore is computed as the grand mean interior widths and heights of the triangles. Use of these width and height measurements represents a straightforward modification of the technique in Rousseeuw and Hubert (1996), who appropriately used height measurements only in their regression variance problem. The fact that this appeared to perform well in that setting provides some heuristic reasoning to experiment with our width–height scaler here. Given any non-degenerate triangle ABC with a positive area, the interior width and height values can easily be computed by sorting the x- and y-axis values and some elementary geometry. First, assume the vertices , , and are sorted according to the x-coordinate, i.e. we will have either or such that . Then the vertical height measurement associated with this triangle, , is given as

where denotes absolute value. For the horizontal width of a non-zero area triangle, , we now assume the vertices A, B, and C are labeled with respect to increasing y-coordinate values, in the sense that we will now have either or with . Then,

For convenience, the left column of Figure 2 provides illustrative examples showing the widths and heights of three different triangles. As we can see, these measurements will always parallel the two axes. With a total of N triangles formed by the points in Z, the corresponding triangle-based width–height scaler (TRI.WH) for OS is given with

[6]
[6]
Figure 2 Three different illustrative examples of the width–height lengths (left column) and the medians (right column) obtained from possible triangles. In the triangle median plots, the  represents the centroid, with the bold-dashed portion of each median representing the “two-thirds” used in the MAD calculation
Figure 2

Three different illustrative examples of the width–height lengths (left column) and the medians (right column) obtained from possible triangles. In the triangle median plots, the represents the centroid, with the bold-dashed portion of each median representing the “two-thirds” used in the MAD calculation

where the subscript i refers to the ith distinct triangle with vertices ABC.

The second scaler is motivated by the three medians, , , and , of each non-degenerate triangle. Triangle medians, which protrude internally from each vertex to the midpoint of the opposite side, all meet at the same point – the centroid. The distance along each median from the vertex which spawns it to the centroid is always twice as long as the remaining distance from the centroid to the opposite edge. Use of Apollonius’ theorem yields the total median lengths:

A triangle centroid, whose coordinates are computed as the mean of A, B, and C, is interpreted as the “center of balance” of an “evenly weighted” set of vertices. As such, knowledge of the median lengths affords us a convenient approach to estimation of a scalar measure of spread for point process data, analogous to the mean absolute deviation (MAD) in the univariate setting. Inspection of the right-hand column of Figure 2 shows why this is the case: by making use of two-thirds of each median length and averaging, we are effectively computing the scalar MAD for our 2-dimensional data. In the same fashion as the TRI.WH scaler, the TRI.MAD scaler for OS will be computed by taking the grand mean of all “two-third” median lengths, namely

[7]
[7]

where denotes the median from vertex A of the ith distinct triangle ABCi; similarly for and .

The TRI.MAD scaler is particularly appealing in that the triangle medians are not restricted in terms of angular movement. Intuitively, by using TRI.MAD, we therefore might hope to capture “more information” from our planar-dispersed data in computation of the required scaling parameter when compared with a measure such as TRI.WH (or indeed an even simpler axis-specific value for U). To help demonstrate this, we also use in the following section the axis-specific version of the mean absolute deviation scaler XY.MAD, which is simply the mean of the univariate MAD of all x-axis and y-axis coordinates computed separately, for all n points in the pooled case–control data set Z. More formally, let and denote all x- and corresponding y-coordinates in Z respectively. Then,

[8]
[8]

where

with and .

4 Simulation study

4.1 Scenario definitions

We compare the performance of the various scaling approaches to OS in five synthetic problem scenarios, all defined on the unit square such that . For each scenario, the “true” control density g is defined in terms of normal mixtures, and scaled to integrate to unity over . A corresponding “true” relative risk surface r is then defined using a particular formulation involving exponential functions. Additional scaling takes place for r to ensure. At each iteration, controls are sampled randomly from g. Case “candidates” are sampled from g and accepted/rejected with probabilities proportional to r, until the desired number is reached. Figure 3 displays filled contour plots of the control densities, case densities, and corresponding risk functions for the five problems; the specific formulations are provided in Table 1. In this table, represents the bivariate Gaussian density edge corrected to , centered at a and standard deviation b ( refers to the identity matrix). All computations are performed using the statistical programming environment R (R Development Core Team, 2012), using the contributed packages spatstat (Baddeley and Turner 2005) for random point generation, and sparr (Davies et al. 2011) for risk function estimation.

The scenarios have been designed in an effort to loosely reflect what we may be likely to observe in practice. In Problem 1, we observe a mildly bimodal yet quite “gentle” dispersion of raw risk ranging from 0.82 to 1.73. There are three distinct modes in both the control and risk functions of Problem 2; the risk reaches higher levels over an interval of . Problem 3 has an underlying control population characterized by an elongated “bump” and a smaller circular density on the western border. There exists a small, sharp peak in risk within the latter area, with the raw risk ranging from 0.39 to 3.34. Problem 4 exhibits several areas of point aggregation surrounding a larger central mode and a corresponding risk interval of . The final problem, Problem 5, is designed in contrast to the others to have an extreme maximum risk value. The control density is perfectly uniform, but the risk surface now includes a tight peak in the center of ; risk interval is . Though less likely to occur in practice, this scenario will be an interesting comparison to the others. Some additional comments concerning computational costs of the trigonometric methods are warranted. In practice, evaluation of the total network of triangles for a given pattern of size n would require operations. This quickly increases the computational expense beyond tolerable levels for sample sizes much larger than, say, . This problem can be avoided by taking the required measurements on a suitably large random sample of the possible triangles; the number of triangles used subsequently replaces N in eqs [6] and [7]. In the simulations which follow, we will compute these scalers based on 20,000 randomly sampled triangles, which keeps computational expense relatively small. Some experimentation (not shown here) revealed increasing this number did little to change the estimated scaling factor in each case.

Figure 3 Filled contour plots of the pre-determined control densities (left column), evaluated case densities (middle column), and pre-determined log-risk functions (right column) for the five problem scenarios. Note that the case density formulae are not explicitly given as these functions are simply evaluated as the product of the control density and the (raw) risk function following the design. To highlight this, the f header is parenthesized
Figure 3

Filled contour plots of the pre-determined control densities (left column), evaluated case densities (middle column), and pre-determined log-risk functions (right column) for the five problem scenarios. Note that the case density formulae are not explicitly given as these functions are simply evaluated as the product of the control density and the (raw) risk function following the design. To highlight this, the f header is parenthesized

Table 1

Definitions of control densities g and risk functions r for the synthetic problem scenarios

ProblemTarget definition
1
2
3
4
5

4.2 Discrepancy results

To provide some comparative measure to the OS bandwidths using TRI.WH, TRI.MAD, and the simpler XY.MAD, we run the simulations including risk functions estimated using bandwidths calculated by the common single-density least-squares cross-validation (LSCV) on the pooled data Z. This is of particular interest as LSCV bandwidths are chosen to approximately minimize the mean ISE with the true density. A good general discussion on LSCV can be found in e.g. Bowman and Azzalini (1997).

The performance of the different scaling measures for OS (TRI.WH, TRI.MAD, and XY.MAD), as well as use of the LSCV bandwidths, is measured in terms of the ISE of the iterated log-risk surfaces with the true . That is, ISE . We also use a weighted ISE, WISE , which aims to amplify the error in areas where there exist risk peaks or “hotspots” (typically of interest in practice).

Simulations are carried out over 200 iterations for two sample size sets: and . As mentioned above, use of the trigonometric scaling approaches was restricted at each iteration to a random sample of 20,000 non-degenerate triangles and it was found that increasing this to much larger values did little to improve performance at a noticeable increase in computational expense. Boxplots of the ISE and WISE for the simulations are displayed in Figures 4 (Problems 1 to 3) and 5 (Problems 4 and 5), and Table 2 provides means and standard deviations of these error measures in each situation.

Figure 4 Boxplots of the log(ISE) (left) and log(WISE) (right) with  (white) and  (gray) for Problems 1–3
Figure 4

Boxplots of the log(ISE) (left) and log(WISE) (right) with (white) and (gray) for Problems 1–3

Figure 5 Boxplots of the log(ISE) (left) and log(WISE) (right) with  (white) and  (gray) for Problems 4 and 5
Figure 5

Boxplots of the log(ISE) (left) and log(WISE) (right) with (white) and (gray) for Problems 4 and 5

Table 2

Means and parenthesized standard deviations of the ISE and WISE results obtained in each setting

ProblemMethodISEWISE
1TRI.WH8.48 (0.84)7.13 (0.82)5.23 (0.83)3.88 (0.82)
TRI.MAD8.19 (0.82)6.88 (0.80)4.94 (0.82)3.64 (0.80)
XY.MAD9.17 (0.85)7.73 (0.85)5.92 (0.85)4.48 (0.85)
LSCV10.45 (0.92)9.52 (0.91)7.20 (0.93)6.27 (0.92)
2TRI.WH5.85 (0.42)4.92 (0.32)3.74 (0.54)2.90 (0.43)
TRI.MAD5.81 (0.42)4.90 (0.31)3.71 (0.54)2.88 (0.42)
XY.MAD6.27 (0.43)5.26 (0.34)4.16 (0.57)3.24 (0.50)
LSCV6.98 (0.80)6.21 (0.49)4.93 (0.95)4.27 (0.70)
3TRI.WH10.56 (0.91)9.04 (0.91)10.43 (0.92)8.91 (0.92)
TRI.MAD9.56 (0.91)8.09 (0.86)9.42 (0.93)7.94 (0.88)
XY.MAD10.65 (0.88)9.16 (0.90)10.52 (0.89)9.03 (0.91)
LSCV11.64 (0.74)11.39 (0.67)11.52 (0.74)11.26 (0.67)
4TRI.WH5.94 (0.46)5.00 (0.34)2.89 (0.56)2.67 (0.33)
TRI.MAD5.92 (0.46)4.98 (0.34)2.90 (0.56)2.67 (0.33)
XY.MAD6.44 (0.46)5.44 (0.37)2.84 (0.61)2.52 (0.38)
LSCV7.34 (0.86)6.90 (0.55)3.08 (0.54)2.40 (0.45)
5TRI.WH5.68 (0.34)4.89 (0.21)5.25 (0.28)4.97 (0.18)
TRI.MAD5.69 (0.34)4.89 (0.21)5.25 (0.28)4.96 (0.19)
XY.MAD6.03 (0.34)5.07 (0.23)5.09 (0.38)4.73 (0.25)
LSCV5.60 (0.66)4.92 (0.38)5.26 (0.41)4.98 (0.48)

Inspection of the ISE results for Problem 1, we note the TRI.MAD OS bandwidths provide some level of improvement in both median ISE and WISE over the other considered options. TRI.WH also performs well, with the axis-specific scaling measure, XY.MAD, struggling somewhat to match the overall performance of the other two scalers for OS. Use of the LSCV bandwidth is the worst performer in this setting; the relatively mild risk increase over a sizeable portion of for this problem has called for larger bandwidths naturally provided by the OS factor.

The differences in errors between the TRI.WH and TRI.MAD OS scalers for Problem 2 are almost indistinguishable. The LSCV methodology has again fallen behind OS in terms of median ISE and WISE, the relative instability in this bandwidth selection mechanism is also apparent with a larger spread of errors. Problem 3 exhibits both a wide risk “bump” and a tall sharp spike. Results indicate the OS bandwidth with TRI.MAD scaling has clearly provided the best median measures of ISE. TRI.WH scaling retains a second-place position, albeit with very similar behavior to axis-specific XY.MAD scaling. Once more, the LSCV bandwidths are inferior. Even with the WISE increasing the error “importance” where the tight risk hotspot is at its highest, oversmoothing with TRI.MAD remains the favorable option.

Problem 4, with many small risk hotspots, and Problem 5, with the single excessive risk spike, continue to support TRI.MAD and TRI.WH as the best scalers (followed closely by XY.MAD) in terms of median ISE (similar to the results for Problem 2). However, things begin to change when we examine the WISE results for these two problems. As the risk fluctuations have become much larger (recall the maximums of 3.91 and 9.45 for 4 and 5, respectively), the weighting has finally begun to move the errors in favor of the smaller bandwidths which tend to be provided by LSCV. This is understandable, as there would naturally exist a point at which oversmoothing will be unable to adequately capture the true risk magnitudes as they become extreme. Despite this, WISE is entirely dependent upon the scale of the weighting, and it could sensibly be argued that such risk levels (particularly as in Problem 5) are less likely to be observed in practice.

A broad interpretation of these results indicate that the TRI.MAD and TRI.WH scalings, coupled with OS, provide good risk function estimates in terms of overall error, especially when we do not expect excessive peaks in the risk surface (which is typically the case in this author’s experience). Use of the simpler alternative that is XY.MAD scaling can also perform well under certain conditions, but not as consistently as TRI.MAD. Implementation of LSCV for such problems appears somewhat less appealing in light of these findings.

4.3 Empirical sampling distributions under CSR

The question of just how the various triangle measurements are distributed based on a given point pattern is a difficult question to answer. Such knowledge would be useful in understanding more about the role of such methods for provision of a univariate measure of scale for our bivariate data. In order to shed some initial light on this issue, a sensible starting point is to consider the empirical sampling distributions of these quantities under the assumption of complete spatial randomness (CSR).

As a quick experiment, point patterns of size 200 and 1,400 are generated in the unit square under CSR. In each of 200 iterations for each sample size, 20,000 triangles are again randomly selected, and the widths, heights, and medians are computed. Note that given the square window and the fact that the width–height measurements will always parallel the two axes, the distribution of triangle widths under CSR will be identical to that of the heights. Histograms corresponding to the total collection of widths and medians for the larger sample size are plotted in Figure 6.

Figure 6 Histograms of the recorded triangle widths (left) and medians (right) for point patterns generated under the condition of complete spatial randomness
Figure 6

Histograms of the recorded triangle widths (left) and medians (right) for point patterns generated under the condition of complete spatial randomness

We note a steadily decreasing sampling distribution for the triangle widths, bounded by zero and the maximum width of the study window, 1. By comparison, the distribution of medians is unimodal with a slight right skew. A cursory examination of the corresponding collections of widths and medians from data sets arising from the synthetic problem scenarios in Section 4 (not shown) reveals these distributions in all cases to closely resemble those in Figure 6. This is not necessarily surprising – we must keep in mind that with these triangle measurements we are merely attempting to provide a univariate measure of scale for these point patterns. Thus, since the study window has not changed, and all generated point patterns under these scenarios yield some form of point coverage over much of the unit square (even if some areas tend to be “heavier” in point concentration than others), we should expect the overall distributions of triangle measurements to remain very similar to one another. Where we can expect this to change is the situation in which points only occupy a relatively small portion of the window, with few if any observations anywhere else. A deeper investigation into these sampling distributions and their behavior, both theoretically and practically, would make an interesting future research problem.

5 Application: humberside leukemia and lymphoma

To demonstrate the use of OS on real-world data, we analyze as an illustrative example a data set first presented in Cuzick and Edwards (1990), and available in the R package spatstat (Baddeley and Turner, 2005). The data comprise 62 cases of childhood leukemia and lymphoma and 141 randomly selected controls from the birth register collected between 1974 and 1986 in the North Humberside region of England. Figure 7 provides a plot of the data.

Figure 7 Cases and controls for the Humberside data set
Figure 7

Cases and controls for the Humberside data set

For these data, we compute two relative risk surfaces with the Gaussian kernel and a fixed, common case–control bandwidth. The first is based upon a bandwidth selected by the overall worst performer in the simulations, namely the single-density LSCV selector executed on the pooled data set. The second is based upon the favored method resulting from interpretation of the simulations, namely the OS bandwidth with the median scaling parameter (TRI.MAD), which again is computed using 20,000 randomly selected triangles from the pooled data set. In addition to these two risk function estimates, we also compute asymptotically derived tolerance contours (see Hazelton and Davies 2009) used to highlight areas of statistically significant peaks in risk (more computationally expensive Monte-Carlo tolerance contours were initially proposed by Kelsall and Diggle, 1995).

The LSCV method produces a bandwidth of 16.4 units. The surface and corresponding tolerance contours are given in the left-hand panel of Figure 8 (the contours are drawn at a significance level of 5%). The TRI.MAD OS method produces a markedly larger bandwidth of 46.2 units – its surface and tolerance contours are given in the right-hand panel of Figure 8.

Figure 8 The two estimated log-risk functions for the Humberside data, with 5% asymptotic tolerance contours. Note the marked differences in the overall ranges of log risk
Figure 8

The two estimated log-risk functions for the Humberside data, with 5% asymptotic tolerance contours. Note the marked differences in the overall ranges of log risk

The effect of the far smaller bandwidth arising from implementation of the LSCV approach is evident upon a visual inspection of the function estimates. The range of estimated risk, on the log scale, is excessive – from around –20 to 30. The surface has several minor sub-regions highlighted as statistically significant. However, the validity of many of these areas in terms of statistical significance should be questioned. Comparing the observed data in Figure 7 with the LSCV surface reveals that many of these contours simply surround single case observations – it may well be unreasonable to draw epidemiological conclusions with respect to truly heightened disease risk when only one observation is solely responsible for such peaks.

In stark contrast, the larger bandwidth provided by the TRI.MAD OS method has yielded a far less “volatile” risk surface. The range of log-risk is now far more subdued, with none of the excessively tall peaks or deep troughs as in the LSCV surface. There is now only one sub-region flagged as statistically significant by the tolerance contours. This area was also identified by the LSCV surface, though any interpretive impact it may have is weakened by the large number of other flagged hotspots (as we noted, many of which result from mere single case observations). With less doubt over the reliability of the contours in the OS surface, one could argue we may therefore be more “confident” of the validity of the OS-estimated Humberside risk surface when comparing it to the LSCV version.

In short, “more smoothing” is usually preferred to “less smoothing” in applications of the kernel estimator for spatial densities and density ratios. This is due to a clear reduction in variability of the resulting surface estimate with a larger bandwidth. The detrimental effects of too small a bandwidth possibly include excessive risk estimates and questionable identification of statistically significant sub-regions. These features have been observed in the current illustrative example which, in support of results from our simulation study, has also indicated the promising performance of OS as a seemingly sensible option for selection of risk function bandwidths.

6 Closing remarks

The calculation of kernel-smoothed density ratios in an effort to estimate spatial relative risk functions relies heavily on “appropriate” choices of bandwidth. By taking advantage of a bias cancelation in areas of equal case and control density, it was argued in Davies and Hazelton (2010) that the oversmoothing factor introduced in Terrell (1990) could provide benefits in terms of variance control, and this view was supported in their simulation study.

Here we have turned attention to the amount of scaling applied to the OS factor, critical in the final size of the bandwidth. A new suggestion for estimation of the scale of the observed data, using measurements based on the network of formed triangles, was explored via simulation. Two trigonometric measures of scale were tested, one based on interior triangle widths and heights, the other based on use of the triangular equivalent of mean absolute deviation via use of triangle medians and their distances from the centroid. Both performed well (in terms of proximity to the “true” surfaces) in comparison to the axis-specific version of the MAD when applied to find a suitable OS bandwidth and subsequently estimate risk surfaces for simulated data sets. A “standard” least-squares cross-validation method was also tested; its performance disappointing in comparison to the OS-scaled methods, due at least in part to the deficiencies associated with undersmoothing the requisite densities. These issues were also highlighted via an illustrative example concerning childhood leukemia and lymphoma cases in North Humberside, England.

Regardless of scaling, OS is a simple and fast approach to calculating a bandwidth that stacks up well against more computationally demanding cross-validation methods. Concerns about excessive bias are alleviated by cancelations that occur if we are dealing with the density ratio. The findings here motivate many possible future research objectives. One possibility would be to empirically investigate further the use of OS in adaptively smoothed kernel density ratios as covered in Davies and Hazelton (2010). Use of spatially adaptive smoothing in problems in geographical epidemiology is often noted as being preferable to fixed-bandwidth estimation (see Benschop et al. (2008) as an applied example), particularly when the spatial distribution of interest is highly heterogeneous. However, important practical questions surrounding initial assignment and selection of the “pilot” and “global” bandwidths for Davies and Hazelton (2010) adaptive risk function remain unanswered. It would be interesting to see if similar benefits arising from use of the triangle median scaler, for example, would be apparent in some way for the adaptive risk function. Another possibility for future work would be to further examine the role of triangle networks in the context of scale estimation for spatial data. Finding an analytic expression for the sampling distribution of the triangle medians under complete spatial randomness, for example, will likely prove a challenging yet worthwhile endeavor.

Acknowledgments

The author is grateful to two anonymous reviewers and an editor whose critiques led to significant improvements to the manuscript. Associate Professor David J. Bryant (Dept. of Mathematics & Statistics, University of Otago) is thanked for his helpful comments. Partial financial support from a University of Otago Research Grant-in-aid (UORG): “Spatial Methods for Intensity Estimation and their Performance in Epidemiology” is also acknowledged.

References

Baddeley, A. J., Møller,J., and Waagepetersen,R. (2000). Non- and semi-parametric estimation of interaction in inhomogeneous point patterns. Statistica Neederlandica, 54:329350.Search in Google Scholar

Baddeley, A. J., and Turner,R. (2005). Spatstat: an R package for analyzing spatial point patterns. Journal of Statistical Software, 12(6):142.Search in Google Scholar

Benschop, J., Hazelton,M. L., Stevenson,M. A., Dahl,J., Morris,R. S., and French,N. (2008). Descriptive spatial epidemiology of subclinical salmonella infection in danish finisher pig herds: application of a novel method of spatially adaptive smoothing. Veterinary Research, 39(1):111.Search in Google Scholar

Bithell, J. F. (1990). An application of density estimation to geographical epidemiology. Statistics in Medicine, 9:691701.Search in Google Scholar

Bithell, J. F. (1991). Estimation of relative risk functions. Statistics in Medicine, 10:17451751.Search in Google Scholar

Bowman, A. W., and Azzalini,A. (1997). Applied Smoothing Techniques for Data Analysis: The Kernel Approach with S-Plus Illustrations. New York: Oxford University Press.Search in Google Scholar

Clark, A. B., and Lawson,A. B. (2004). An evaluation of non-parametric relative risk estimators for disease maps. Computational Statistics & Data Analysis, 47:6378.Search in Google Scholar

Cuzick, J., and Edwards,R. (1990). Spatial clustering for inhomogeneous populations. Journal of the Royal Statistical Society Series B, 52:73104.Search in Google Scholar

Davies, T. M. (2013). Jointly optimal bandwidth selection for the planar kernel-smoothed density-ratio. Spatial and Spatio-Temporal Epidemiology, 5:5165.Search in Google Scholar

Davies, T. M., and Hazelton,M. L. (2010). Adaptive Kernel estimation of spatial relative risk. Statistics in Medicine, 29(23):24232437.Search in Google Scholar

Davies, T. M., Hazelton,M. L., and Marshall,J. C. (2011). sparr: analyzing spatial relative risk using fixed and adaptive kernel density estimation in R. Journal of Statistical Software, 39(1):114.Search in Google Scholar

Hazelton, M. L., and Davies,T. M. (2009). Inference based on kernel estimates of the relative risk function in geographical epidemiology. Biometrical Journal, 51:98109.Search in Google Scholar

Kelsall, J. E., and Diggle,P. J. (1995). Kernel estimation of relative risk. Bernoulli, 1:316.Search in Google Scholar

Prince, M. I., Chetwynd,A., Diggle,P. J., Jarner,M., Metcalf,J. V., and James,O. F. W. (2001). The geographical distribution of primary biliary cirrhosis in a well-defined cohort. Hepatology, 34:10831088.Search in Google Scholar

R Development Core Team. (2012). R: a language and environment for statistical computing. R foundation for statistical computing, Vienna, Austria. ISBN 3-900051-07-0. http://www.R-project.org.Search in Google Scholar

Rousseeuw, P. J., and Hubert,M. (1996). Regression-free and robust estimation of scale for bivariate data. Computational Statistics & Data Analysis, 21:6785.Search in Google Scholar

Sanson, R. L., Harvey,N., Garner,M. G., Stevenson,M. A., Davies,T. M., Hazelton,M. L., O’Connor,J., Dubé,C., Forde-Folle,K. N., and Owen,K. (2011). Foot-and-mouth disease model verification and “relative validation” through a formal model comparison. Revue Scientifique Et Technique-Office International Des Epizooties, 30:527540.Search in Google Scholar

Schettlinger, K., Gelper,S., Gather,U., and Croux,C. (2010). Regression-based, regression-free and model-free approaches for robust online scale estimation. Journal of Statistical Computation & Simulation, 80(9):10231040.Search in Google Scholar

Scott, D. W., and Terrell,G. R.. (1987). Biased and unbiased cross-validation in density estimation. Journal of the American Statistical Association, 82:11311146.Search in Google Scholar

Silverman, B. W. (1986). Density Estimation for Statistics and Data Analysis. New York: Chapman and Hall.Search in Google Scholar

Terrell, G. R. (1990). The maximal smoothing principle in density estimation. Journal of the American Statistical Association, 85:470477.Search in Google Scholar

Waller, L. A., and Gotway,C. A. (2004). Applied Spatial Statistics for Public Health Data. New Jersey: Wiley.10.1002/0471662682Search in Google Scholar

Wand, M. P., and Jones,M. C. (1995). Kernel Smoothing. Boca Raton, FL: Chapman and Hall.10.1007/978-1-4899-4493-1Search in Google Scholar

Wheeler, D. C. (2007). A comparison of spatial clustering and cluster detection techniques for childhood leukemia incidence in Ohio, 1996–2003. International Journal of Health Geographics, 6(13):116.Search in Google Scholar

Published Online: 2013-9-24

©2014 by Walter de Gruyter Berlin / Boston

Downloaded on 26.9.2025 from https://www.degruyterbrill.com/document/doi/10.1515/em-2012-0008/html
Scroll to top button