## Figures

## Abstract

Standard deviational ellipse (SDE) has long served as a versatile GIS tool for delineating the geographic distribution of concerned features. This paper firstly summarizes two existing models of calculating SDE, and then proposes a novel approach to constructing the same SDE based on spectral decomposition of the sample covariance, by which the SDE concept is naturally generalized into higher dimensional Euclidean space, named standard deviational hyper-ellipsoid (SDHE). Then, rigorous recursion formulas are derived for calculating the confidence levels of scaled SDHE with arbitrary magnification ratios in any dimensional space. Besides, an inexact-newton method based iterative algorithm is also proposed for solving the corresponding magnification ratio of a scaled SDHE when the confidence probability and space dimensionality are pre-specified. These results provide an efficient manner to supersede the traditional table lookup of tabulated chi-square distribution. Finally, synthetic data is employed to generate the 1-3 multiple SDEs and SDHEs. And exploratory analysis by means of SDEs and SDHEs are also conducted for measuring the spread concentrations of Hong Kong’s H1N1 in 2009.

**Citation: **Wang B, Shi W, Miao Z (2015) Confidence Analysis of Standard Deviational Ellipse and Its Extension into Higher Dimensional Euclidean Space. PLoS ONE 10(3):
e0118537.
doi:10.1371/journal.pone.0118537

**Academic Editor: **Duccio Rocchini, Fondazione Edmund Mach, Research and Innovation Centre, ITALY

**Received: **April 18, 2014; **Accepted: **January 20, 2015; **Published: ** March 13, 2015

**Copyright: ** © 2015 Wang et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited

**Data Availability: **All relevant data are within the paper and its Supporting Information files.

**Funding: **Mr. Bin Wang is the beneficiary of a doctoral grant from the AXA Research Fund. This study was supported by grants from the Ministry of Science and Technology of China (Project no. 2012BAJ15B04), the National Natural Science Foundation (Project no. 41331175), and National Administration of Surveying, Mapping and Geoinformation of China (Ling Jun Ren Cai). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

**Competing interests: ** The authors have declared that no competing interests exist.

## Introduction

Standard deviation arises as one of the classical statistical measures for depicting the dispersion of univariate features around its center. Its evolution in two dimensional space arrives at the standard deviational ellipse (SDE), which was firstly proposed by Lefever [1] in 1926. Ever since then, SDE has long served as a versatile GIS tool for delineating the bivariate distributed features. It is typically employed for sketching the geographical distribution trend of the features concerned by summarizing both of their dispersion and orientation. Although SDE’s arrival once aroused great attention, a certain amount of consequent criticism followed as well, mainly due to the fact that Lefever’s defined curve is not an ellipse [2], but the standard deviation curve (SDC) as nominated by Gong [3].

Wide utilization potentialities exerted by SDE are extensively found in many research fields and commercial industries. For instance, Smith and Cheeseman [4] employ it for estimating the spatial uncertainty between coordinate frames representing the relative locations of a mobile robot. Besides, SDE has also been adopted to quantitatively analyze the orientation anisotropy in contaminant barrier particles [5], and explore the geographical distribution of household activity or travel behavior thereby promoting the policy formulation in response to urban travel reduction strategies [6]. Meanwhile, geographically profiling of the distributional trend for a series of crimes [7,8] by SDE might detect a relationship to particular physical features such as some restaurants or apartments and even the lairs of the criminals. Mapping groundwater well samples for some kind of contaminant could identify how and to what extent the toxin is spreading, which consequently, may be conducive to deploy the responding mitigation strategies [9]. Moreover, comparing the coverage area, shape, and overlap of ellipses for various racial or ethnic groups may provide insights regarding racial or ethnic segregation [10]. Furthermore, graphing ellipses for a disease outbreak such as malaria surveillance [11] over time can potentially make the real-time prediction of its spatial spread trend, since the central tendency and dispersion are two principal aspects attracting the concerns from epidemiologists.

As a GIS tool for delineating spatial point data, SDE is mainly determined by three measures: average location, dispersion (or concentration) and orientation. In addition to the traditional mean center (gravity of the distribution) suggested by Lefever [1], weighted mean or median could also be the alternative options, together with the weighted covariance of observations which evolve into some variants of the SDE [12]. It is worth noting that SDE also lays the foundation for many other advanced models, such as the minimum covariance determinant estimator (MCD) [13,14] for outlier detections and elliptic spatial scan statistic [15] employed in spatiotemporal disease surveillance. From the perspective of practical implementation, Alexandersson [16] once wrote an *ellip* command for graphing the confidence ellipses in Stata 8, though the latest version being Stata 13 already.

Although SDE has extensive applications in various fields ever since 1926, it still has not been correctly clarified sometimes. For instance, from the latest resources in ArcGIS Help 10.1 describing how standard deviational ellipse works, it is stated that one, two and three standard deviation(s) can encompass approximately 68%, 95% and 99% of all input feature centroids respectively, supposing the features concerned follow a spatially normal distribution. However, this content corresponds to the well-known 3-sigma rule with respect to univariate normal distribution, rather than bivariate case. Worse still, there is even an attached illustration therein depicting several bivariate geographical features located within a planar map. Obviously, such confusing interpretation may mislead the GIS users to believe the univariate 3-sigma rule remains valid in two-dimensional Euclidean space, or even higher dimensions.

For fully clarifying the implications of SDE, Sect. 2 below devotes to firstly summarizing two existing models of deriving the SDE’s calculation formulas, and secondly proposing a novel approach for constructing the same SDE based on spectral decomposition of the sample covariance, by which SDE concept is further extended into higher dimensional Euclidean space, named standard deviational hyper-ellipsoid (SDHE). Most of all, rigorous recursion formulas are then derived for calculating the confidence levels of scaled SDHE with arbitrary magnification ratios in any dimensional space. Besides, an inexact-newton method based iterative algorithm is also proposed for solving the corresponding magnification ratio of a scaled SDHE when the confidence probability and space dimensionality are pre-specified. Finally, synthetic data is employed to generate the 1–3 multiple SDEs and SDHEs in two and three dimensional spaces, respectively. Meanwhile, exploratory analysis by means of SDEs and SDHEs are also conducted for measuring the spread concentrations of Hong Kong’s H1N1 in 2009.

## Methods

First two subsections below devotes to a brief summarization of two classical approaches to generating the standard deviational ellipses in 2D. After that, a novel approach based on spectral decomposition of the covariance matrix is introduced which achieves the same calculation formula of SDE. This spectral decomposition based approach will be adopted for constructing the generalized standard deviational (hyper-)ellipsoids into higher dimensional Euclidean space in the next Sect. 3.

### 2.1 Explore the orientated data for extreme standard deviations

Standard deviational ellipse delineates the geographical distribution trend by summarizing both dispersion and orientation of the observed samples. There are already several approaches to obtaining the computational formula of SDE. The upcoming discussed method presented by Yuill [12] was actually a melioration of Lefever’s original model [1] despite of suffering from certain criticisms [2].

Suppose a series of independent identically distributed samples (*x*_{i}, *y*_{i}), ** i** =

**1,**…

**are drawn from a Gaussian population. A standard deviational ellipse can be determined according to the following steps. Firstly, make sample mean be the origin of new axes, thereby simultaneously centering all the observed samples, (1) Next, introduce a rotation matrix with an angle**

*,n**θ*in clockwise direction as illustrated in Fig. 1, all observed sample points are then transformed into a new planar coordinate system,

The maximum likelihood estimator [17] of the rotated samples’ variance yields,
(3)
Consequently, corresponding angles for producing the maximum and minimum standard deviations can be obtained by equating any derivative of the above variance estimators w.r.t. *θ* to be zero [5,12], that is
According to Vieta's formulas, general solution to the above quadratic equation is
(4)
Each of these two angles corresponds to the maximum and minimum deviation in the new coordinate system, respectively. By merging Eq. (4) into Eq. (3), the major axis and minor axis of SDE can be determined for measuring the dispersion distribution of original observations.

It should be noticed that rotating in Eq. (3) around the sample mean center defines an implicit locus curve [1]. However, such a closed curve is not an ellipse [2], but actually the standard deviation curve (SDC) nominated by Gong [3] with its expression as follows,
(5)
Here ** ρ** is the correlation coefficient between

**and**

*x***coordinates. For seeking a striking contrast between SDC and SDE, a numerical experiment is conducted, employing 500 synthetic points extracted from a bivariate normal variable with mean**

*y***=**

*μ***(0,0)**

^{T}and covariance matrix. Based on these sampling points, contradistinctive profiles of 1–3 multiple SDC and SDE are illustrated in Fig. 2. Conspicuously there are 4 tangency points for each corresponding pair, and SDC appears occupying an overall larger area then SDE.

### 2.2 Optimal linear central tendency measure

Another method described by Cromley [18] aims to explore such an optimal linear central tendency measure, ** ax+by+c = 0**, which passes through the distributed samples. This is equivalent to an optimization problem with objective of minimizing the summation of total perpendicular distances from any observation point to this line subject to the constraint of

*a*^{2}

**+**

*b*^{2}

**= 1**, which guarantees the scale invariance, namely, (6) The above constrained optimization problem can be solved by Lagrangian multiplier method, yielding the optimal linear central tendency which precisely coincides with the direction of principal axis of SDE. Therefore, solution to the above optimization arrives at exactly the same calculation formulas of SDE as the aforementioned first approach.

### 2.3 Spectral decomposition of the covariance matrix

Using the symbols introduced in Eq. (1), this subsection devotes to present another approach for constructing SDE by means of spectral decomposition of the sample covariance matrix, which is formulated as (7) where , and.

It must be said there are two common textbook definitions of variance and covariance, as well as the standard deviation. One is the unbiased estimator while the other one is the maximum likelihood estimator proved by Li and Racine [17]. Their calculation formulas differ only in * n*-

**1**versus

**in the divisor. To keep consistent with the previous equations involved, the latter estimator is employed hereafter.**

*n*After spectral decomposition of the sample covariance (7), SDE can be constructed by assigning square roots of eigenvalues as the lengths of its semi-major and semi-minor axes [19], to which being parallel by the corresponding eigenvectors. Solving of the characteristic polynomial equation of covariance matrix ** C**, namely,
(8)
yields the lengths of the SDE’s semi-major and semi-minor axes, which are
(9)
Meanwhile, one group of base vectors from the characteristic vector space satisfying Eq. (8) can be obtained by
(10)
Thus, it takes no effort to verify that orientation angles intersected by the principle axes of SDE and the planar coordinate axes are exactly the same, namely, the optimal angle appeared in Eq. (4).

In conclusion, the above three approaches actually all calculate the same SDE according to formulas (1), (4) and (9), respectively, which lays the theoretical basis for SDE to be one functional component in the Spatial Statistics toolbox of ArcGIS 10.1.

## Results

In Sect. 2, three approaches for constructing SDE have been summarized and compared upon the distributed samples in two-dimensional space. This section will generalize the SDE concept into higher dimensional Euclidean space, yielding the standard deviational hyper-ellipsoid (SDHE), be means of the spectral decomposition of covariance matrix. Meanwhile, rigorous mathematical derivations attempt to figure out the relationship between the confidence levels characterizing the probabilities of random scattered points falling inside a scaled SDHE and the corresponding magnification ratio under the assumption that samples follow Gaussian distribution.

### 3.1 Construction of Standard Deviational Hyper-Ellipsoid

Suppose ** S**∈

*R*^{n}be an n-dimensional Gaussian random vector, that is

**~**

*S*

*N**(*

**) with its probability density function (11) And**

*μ*,*C*

*S*_{1},

*S*_{2},…,

*S*_{m}represent

**independent and identically distributed samples extracted from population**

*m***. In general, the maximum likelihood estimators [17] for parameters**

*S***and**

*μ***employed in Eq. (11) can be given by (12) Since covariance matrix**

*C***is real symmetric (positive semi-definite), there exists an orthogonal matrix**

*C***(formed by eigenvectors of**

*Ԛ***) complying with the spectral decomposition, (13) Without loss of generality, suppose al the main diagonal elements of**

*C***=**

*D***diag(σ**

_{i}

**),**=

*i***1,2,**…,

**have been sorted in descending order,**

*n***σ**

_{1}

**≥σ**

_{2}≥…≥

**σ**

_{n}. Due to the symmetry of covariance matrix

**, its spectral decomposition is actually equivalent to its singular value decomposition which output a series of automatically sorted eigenvalues (singular values). As thus, mapping a unit sphere by square root of covariance matrix, , yields a standard hyper-ellipsoid, with eigenvalues to be its principle semi-axes oriented by their corresponding eigenvectors [20].**

*C*Proceeding in this way, now comes to such an interesting question: how could this SDHE defined by Eq. (13) be represented graphically? This can be figured out by means of the Mahalanobis transformation [19] which is defined as
(14)
It can be verified that ** T**~

**(0,**

*N*

*I*_{n}) In other words, Mahalanobis transformation eliminates correlation between the variables and standardizes each variable with variance. Apparently, random vector

**’s SDHE happens to be a unit sphere () in view of its isotropic distribution along any direction. Therefore, SDHE of original random vector**

*T***can be constructed from the transformation of a unit sphere by firstly stretching with a ratio of along each axis successively, then rotating the ellipsoid by orthogonal matrix**

*S***and a final translation of distribution center**

*Ԛ***according to the following inverse Mahalanobis transformation,**

*μ*### 3.2 Confidence level analysis of SDHE

This section settles the relationship between confidence levels characterizing the probabilities of random scattered points falling inside the scaled ellipsoids and the corresponding magnification ratio of such an SDHE by means of the rigorous mathematical formulas derivations.

The following scalar quantity
(16)
is known as the Mahalanobis distance of the vector ** S** away from its mean

**. By merging Eqs. (13) and (14) into Eq. (16), it can be easily perceived that the above defined quadratic function is exactly the magnified SDHE with a magnification ratio of**

*μ***and follows the chi-square distribution with**

*r***degrees of freedom, (17) Table lookup of a tabulated chi-square distribution is always adopted as the traditional approach to acquire the exact confidence levels. Therefore, exploring to what extent the scattered samples obeying a Gaussian distribution is equivalent to examining whether they are falling inside such a scaled ellipsoid defined in terms of Eq. (16). Actually, calculation of the cumulative distribution function of chi-square distribution for a prescribed value**

*n***and the degrees-of-freedom**

*x***, namely, , is eventually transformed to calculate the gamma density function with parameters n/2 and 2 in computer implementation, since chi-square distribution can be perceived as one child of the gamma distribution family with two varying parameters. Knüsel [21] has proposed a numerical algorithm with some supplement functions and a specified relative accuracy, which has been adopted in many modern statistical softwares, such as Matlab and R language. However, even using this algorithm, computation of the gamma density function is still extremely complex.**

*n*As mentioned above, SDE serves as a versatile spatial statistical tool for measuring the geographical distribution of features. Because of this, it has been embedded into many commercial software, like ArcGIS and Stata [16]. As a result, the algorithm’s practicability including the simplicity, speed and precision are of particular concern, which also originally stimulates us pursuing for an innovative approaches. In the subsequent portion, recursion formulas are derived for calculating the confidence levels and an iterative algorithm is proposed for solving the corresponding magnification ratio of the scaled ellipsoids after the prescribed scaling ratio or confidence level is given.

**3.2.1 The confidence level defined by a scaled SDHE.** Here an innovative recursion formula is presented by means of the multiple integral method for calculating the confidence level **P**_{n}**( r)** of a scaled SDHE specified with a magnification factor

*in*

**r***dimensional space so as to estimate the distribution of a random vector*

**n***~*

**S***(*

**N***,*

**μ***), which is equivalent to the confidence level value of*

**C***~*

**T***(*

**N****0**,

**I**_{n}), whose confidence region is exactly a sphere as explained in subsection 3.1; namely, Therefore, for 1D case, (18) where the error function is defined as , with another name being Gauss error function [22], which is a non-elementary function of sigmoid shape constantly occurring in probability, statistics and partial differential equations. As a matter of fact, Eq. (18) formulates the well-known 3-sigma rule of the most common normal distribution as illustrated in Fig. 3.

For 2D case,

(19) Hereinto, the polar coordinate transformation is introduced for above the penultimate equal sign. Next, the following Fig. 4 demonstrates the confidence ellipses corresponding to 1–3 multiples of SDEs in the color of red, blue and green, respectively.

It’s worth noting that an inverse formula here exists,
(20)
for determining the magnification factor ** r** which corresponds to a prescribed confidence level.

Before proceeding to the general formulas applicable in ** n** dimensional space, we introduce the cubature formula [23] firstly, which calculates the volume of the

**-sphere of radius**

*n***, with the quantity proportional to its**

*r***th power as follows, (21) Accordingly, for a general dimensional number**

*n***, (22) Hereinto, is the gamma function, with some useful properties: , Γ(1) = 1 and Γ**

*n*≥3**(**Γ

*x*+1) = (*x*)**(**It should be noted that the first comes according to the results for 2D case in terms of Eq. (19) and the second follows Eq. (21) representing a sphere’s volume with radius

*x*)**and dimensionality of**

*r***-**

*n***2**Therefore, Eq. (22) totally characterizes the confidence probability for an arbitrary magnified SDHE with any specified magnification factor

**in the form of a recursive formula applicable in any Euclidean space with dimensionality greater than 2. Similar findings regarding the confidence ellipse in terms of dimensionality**

*r***less than 3 have been provided in the appendix section of Smith and Cheeseman’s article [4]. However, to our knowledge, there is no precedent of such analytical expression of confidence levels for an ellipsoid in higher dimensional Euclidean space.**

*n*Computation of confidence levels using Eq. (22) is rather simple and efficient. There is only some algebraic manipulations and calculation of the supplement error function **erf ( x)** if

*is assigned to be an odd number. For better quantitatively perceiving the confidence levels of these scaled ellipsoids, the following Table 1 lists probability values corresponding to the scaled SDHEs which are magnified with different integer multiples from 1 to 7 and the space dimensionality not exceeding 10.*

**n**Observed from Table 1, 1-3 SDE(s) can encompass approximately 39.35%, 86.47% and 98.89% of all input feature centroids assuming these features follow a planar Gaussian distribution. It is evidently different from the content of our familiar 3-sigma rule. This finding can be conducive to clarify the confusing interpretation of confidence level regarding directional distribution in ArcGIS Help 10.1.

**3.2.2 The corresponding magnification factor to a prescribed confidence level.** Conversely, what size of a magnified SDHE can encompass the scattered features with a prescribed confidence probability? In other words, How to find the magnification factor * r* corresponding to a specified confidence level

*in*

**p***dimensional space? This question can be answered by solving the following equation, (23) with its derivative to be (24) Thus, the approximate scaling ratio*

**n****can be solved according to the following iterative algorithm, which is put forward based on Newton method with Armijo rule [24].**

*r***Algorithm 1 nsolg(***r*_{0},*n*_{0},*p*,*τ*_{a},*τ*_{r}**)**

Evaluate *F(r*_{0}*) = P*_{n}(r_{0})-*p*; *τ←τ*_{a}*+τ*_{r}*|F(r)|*

**While** *|F*(*r*)*|>τ* **Do**

Calculate the Newton direction *d = -F*'(*r*)^{-1}*F*(*r*) using (23)~(24), set *λ* = 1.

**While** *|F*(*r+λd*)*|>*(1-α*λ*)*|F*(*r*)*|* **Do**

*λ←σλ* where is the reduction factor of the line search computed by minimizing a quadratic polynomial model *φ*(*λ*) **=** *|F*(*r+λd*)*|*^{2}

End While

End While

Input arguments for this algorithm are the initial iterate *r*_{0} with default value which is an approximation of inflection point of the S-shape cumulative density function, space dimensionality ** n**, confidence level

**, relative and absolute termination tolerances which need to be prescribed beforehand. Approximate solution with high accuracy can be soon obtained after a few iterations using this algorithm. Table 2 has tabulated the magnification ratios of scaled SDHEs for some commonly used confidence levels with space dimensionality not exceeding 10.**

*p*Seen from Table 2, the corresponding magnification factors become larger and larger along with the increase of space dimensionality, indicating that only bigger magnified ellipsoids can maintain the same prescribed confidence level in higher dimensional space compared with the counterpart in lower dimensional space.

## Experiments

### 4.1 Synthetic data experiments

In this section, two groups of synthetic data are employed to generate the 1–3 multiple SDEs and SDHEs in two and three dimensional spaces, respectively, to depict their aggregation extent and demonstrate the relationship between the scaled ellipse (or ellipsoid) size and their corresponding confidence levels.

**4.1.1 2D case.** Suppose that a series of scattered points **X**_{i} ϵ *R*^{2} are randomly generated from a two dimensional Gaussian vector, that is *X*_{i}~* N*(

*). The following example employs 100 points with mean*

**μ,C***=*

**μ****(2,3)**

^{T}, and covariance . Overlaying upon these scattered samples, 1–3 multiple SDEs are then created in terms of Eqs. (7)~(10) encompassing their geographic distribution with corresponding confidence degrees listed in Table 1.

For a better visualization of SDEs in computer imaging, the observed samples can be overlaid by a warning coloration, for example a (gradually varied) red layer processed with a transparency function. Intuitionally it should be inversely proportional to the confidence probability density of the features. By incorporating Eq. (16) into (11), an desirable transparency function can be of the following form, (25) This function can also be considered as a projection of the Gaussian probability density function upon the sample space. In the end, Fig. 5 presents a visualization of 1–3 multiple SDEs for these 2D scattered points.

**4.1.2 3D case.** Once again, suppose that a series of scattered points **X**_{i}ϵ*R*^{3} are randomly generated, following 3D Gaussian distribution, that is *X*_{i} ~ * N*(

*) The following example employs 600 points with mean*

**μ,C***=*

**μ****(1,2,3)**

^{T}, and covariance . Based on these data samples, Fig. 6 exhibits 1–3 multiple SDEs constructed in terms of Eqs. (12)~(15) encompassing their geographic distribution with corresponding confidence degrees as listed in Table 1.

### 4.2 Spread analysis in Hong Kong’s H1N1 infections

The spread of epidemic diseases causes both very serious life risks and social-economic risks. For example, the latest epidemic outbreak in Hong Kong was Swine Flu Virus A (H1N1) causing hundreds of deaths and making all the residents get into a panic of fatal infection.

Geographic information science (GIS) serves as a common platform for convergence of disease surveillance activities. As one of its significant functional components, SDE, as well as SDHE, can be served to understand how the disease distributes together with its evolutionary trend, thereby assisting the epidemiologists or public health officials raising more effective strategies so as to control the disease spread.

For the epidemic data, totally 410 human swine influenza infected cases are gathered with epidemiological date and address from 1st May to 26th June on a daily basis released by Center of Health Protection (CHP), Hong Kong. Addresses of infected buildings are then geocoded into the WGS84 coordinate for the subsequent mapping. Exploratory analysis by 1–3 multiple SDEs is then conducted in order to keep the focus limited to only those areas with the most occurrences of infected cases (Fig. 7). Although the resulting map output is simple, yet it conveys a strong message about where is the most severe region of H1N1 occurring.

Further, 1–3 multiple SDHEs (in three-dimensional space) are also employed for highlighting the spatiotemporal concentrations of H1N1 infections (Fig. 8). Apparently, most of the confirmed cases appeared densely during late June in time and converged on both sides of Victoria Harbor, including the Kowloon Peninsula and Hong Kong Island, in space.

## Conclusions

In this paper, confidence analysis of standard deviational ellipse (SDE) and its extension into higher dimensional Euclidean space has been comprehensively explored from origin, formula derivations to algorithm implementation and applications. Firstly, two existing models are summarized and one novel approach is proposed based on the spectral decomposition of sample covariance for calculating the same SDE. After that, the SDE concept is naturally generalized into higher dimensional Euclidean space, named standard deviational hyper-ellipsoid (SDHE). Then, rigorous recursion formulas are derived for calculating the confidence levels of scaled SDHE with arbitrary magnification ratios in any dimensional space. Such formula can be employed for tabulating the confidence levels in relation to the magnification ratio and the space dimensionality more efficiently since the results obtained in low dimensional space can still be repeatedly utilized in subsequent higher dimensional spaces, whereas the traditional approach of calculating the chi-square distribution is mainly relying on the complex computation of gamma density function. Besides, an inexact-newton method based iterative algorithm is also proposed for solving the corresponding magnification ratio of a scaled SDHE when the confidence probability and space dimensionality are pre-specified, thereby making a commutatively computation of either the necessary scaled ratio or the confidence level of SDHE when one of these two parameters is given in any dimensional space. These results provide a more efficient manner to supersede the traditional table lookup of tabulated chi-square distribution.

Finally, synthetic data is employed to generate the 1–3 multiple SDEs and SDHEs. And exploratory analysis by means of SDEs and SDHEs are also conducted for measuring the spread concentrations of Hong Kong’s H1N1 in 2009.

It is worth noting, standard deviational ellipses (or the SDHE) derive under the assumption that observed samples follow the normal distribution. Therefore, SDE tool must be employed with a certain degree of caution when measuring the geographic distribution of concerned features. Particularly, delineation of an area concerned by SDE may not be representative of the hotspot boundaries, but produce ambiguous outcomes when distribution of features is multimodal [12].

Fortunately, the aforementioned normal distribution assumption is no longer indispensable for the confidence ellipses owning to considerable progresses in the last three decades. Nonetheless, these shining ideas emerged during the SDE derivation process still sparkle for prompting innovative advanced models, among which the elliptically contoured distribution [25] attracts wide attention, with its contours of constant density being ellipsoids, that is **( x**-

*μ*)^{T}

*C*^{-1}

**-**

*(x*

*μ*) =*constant*. Amazingly, a scaled SDHE in terms of Eqs. (12)~(15) is actually depicted by this formulation, which also lays core foundation for many of the current popular method, such as the minimum covariance determinant estimator (MCD), multivariate kernel density estimation and support vector machine (SVM) with Gaussian kernel.

## Supporting Information

### S1 Table. Human cases of swine influenza A (H1N1) gathered with epidemiological date and address from 1st May to 26th June in 2009.

doi:10.1371/journal.pone.0118537.s001

(XLSX)

## Author Contributions

Conceived and designed the experiments: BW. Performed the experiments: BW. Analyzed the data: BW WS ZM. Contributed reagents/materials/analysis tools: BW. Wrote the paper: BW.

## References

- 1. Lefever DW. Measuring Geographic Concentration by Means of the Standard Deviational Ellipse. American Journal of Sociology. 1926;32(1):88–94.
- 2. Furfey PH. A Note on Lefever's "Standard Deviational Ellipse". American Journal of Sociology. 1927;33(1):94–8.
- 3. Gong JX. Clarifying the standard deviational ellipse. Geographical Analysis. 2002;34(2):155–67. doi: 10.1111/j.1538–4632.2002.tb01082.x PubMed PMID: ISI:000174892300005.
- 4. Smith RC, Cheeseman P. On the Representation and Estimation of Spatial Uncertainty. Int J Robot Res. 1986;5(4):56–68. doi: Doi 10.1177/027836498600500404 PubMed PMID: ISI:A1987F867600004.
- 5. Wang B, Shi B, Inyang HI. GIS-based quantitative analysis of orientation anisotropy of contaminant barrier particles using standard deviational ellipse. Soil & Sediment Contamination. 2008;17(4):437–47.
- 6. Buliung RN, Kanaroglou PS. A GIS toolkit for exploring geographies of household activity/travel behavior. Journal of Transport Geography. 2006;14(1):35–51.
- 7. Kent J, Leitner M. Efficacy of standard deviational ellipses in the application of criminal geographic profiling. Journal of Investigative Psychology and Offender Profiling. 2007;4(3):147–65. doi: 10.1002/jip.72.
- 8. Chainey S, Tompson L, Uhlig S. The utility of hotspot mapping for predicting spatial patterns of crime. Security Journal. 2008;21(1):4–28.
- 9. Cloutier V, Lefebvre R, Therrien R, Savard MM. Multivariate statistical analysis of geochemical data as indicative of the hydrogeochemical evolution of groundwater in a sedimentary rock aquifer system. Journal of Hydrology. 2008;353(3):294–313.
- 10. Wong DW. Measuring multiethnic spatial segregation. Urban Geography. 1998;19(1):77–87.
- 11. Eryando T, Susanna D, Pratiwi D, Nugraha F. Standard Deviational Ellipse (SDE) models for malaria surveillance, case study: Sukabumi district-Indonesia, in 2012. Malaria Journal. 2012;11(Suppl 1):P130.
- 12. Yuill RS. The Standard Deviational Ellipse; An Updated Tool for Spatial Description. Geografiska Annaler Series B, Human Geography. 1971;53(1):28–39.
- 13. Rousseeuw PJ, Driessen KV. A fast algorithm for the minimum covariance determinant estimator. Technometrics. 1999;41(3):212–23.
- 14. Hubert M, Debruyne M. Minimum covariance determinant. Wiley Interdisciplinary Reviews: Computational Statistics. 2009;2(1):36–43.
- 15. Kulldorff M, Huang L, Pickle L, Duczmal L. An elliptic spatial scan statistic. Statistics in Medicine. 2006;25:3929–43. PubMed PMID: doi: 10.1002/sim.2490 pmid:16435334.
- 16. Alexandersson A. Graphing confidence ellipses: An update of ellip for Stata 8. Stata Journal. 2004;4(3):242–56.
- 17.
Li Q, Racine JS. Nonparametric econometrics: Theory and practice: Princeton University Press; 2007.
- 18.
Cromley RG. Digital cartography. Englewood Cliffs, N.J.: Prentice Hall; 1992.
- 19.
Härdle WK, Simar L. Applied multivariate statistical analysis: Springer; 2012.
- 20.
Trefethen LN, Bau III D. Numerical linear algebra: Society for Industrial Mathematics; 1997.
- 21. Knüsel L. Computation of the Chi-Square and Poisson Distribution. SIAM Journal on Scientific and Statistical Computing. 1986;7(3):1022–36. doi: 10.1137/0907069.
- 22.
Andrews L. Special Functions of Mathematics for Engineers. McGraw-Hill, Inc; 1992.
- 23. Huber G. Gamma function derivation of n-sphere volumes. The American Mathematical Monthly. 1982;89(5):301–2.
- 24.
Kelley CT. Solving nonlinear equations with Newton's method. Philadelphia: Society for Industrial and Applied Mathematics; 2003.
- 25.
Fang KT. Elliptically contoured distributions. Encyclopedia of Statistical Sciences. 2004.