scieee AI-readable full text Open interactive document viewer

Optimal level sets for representing a bivariate density function

Delicado Useros, Pedro Francisco,Vieu, Philippe

Abstract

We deal with the problem of representing a bivariate density function by level sets. The choice of which levels are used in this representation are commonly arbitrary (most usual choices being those with probability contents .25, .5 and .75). Choosing which level is (or which levels are) of most interest is an important practical question which depends on the kind of problem one has to deal with as well as the kind of feature one wishes to highlight in the density. The approach we develop is based on minimum distance ideas.

Full text

Contribute 4 Optimal level sets for representing a bivariate density function Pedro Delicado, Philippe Vieu Abstract We deal with the problem of representing a bivariate density function by level sets. The choice of which levels are used in this representation are commonly arbitrary (most usual choices being those with probability contents .25, .5 and .75). Choosing which level is (or which levels are) of most interest is an important practical question which depends on the kind of problem one has to deal with as well as the kind of feature one wishes to highlight in the density. The approach we develop is based on minimum distance ideas. Introduction Let fbe a bivariate probability density function. For α∈]0,1[ we define the density level set with probability content αas Cα={x∈R2:f(x)≥γα}, where γαis such that ZCα f(x)dx =α. A standard way to represent the bivariate density fgraphically is by drawing in the same graph density level sets corresponding to several values α1, . . . , αJ, or just their boundaries (see, for instance, [3] or [7] as well as the accompanying R packages sm and ks, respectively). Other authors ([12], [13], [14], [15]) draw the density contour levels at equally spaced heights (see also the R package KernSmoth, associated with [15]). Pedro Delicado Universitat Polit` ecnica de Catalunya, Barcelona, Spain, e-mail: [email protected] Philippe Vieu Universit´ e Paul Sabatier, Toulouse, France, Italy, e-mail: [email protected].fr 19 20 Representing a bivariate density function We consider the following problem: given a bivariate density function f, choose the combination of values Jand α1, . . . , αJdefining the best (in some sense) graphical representation of f. In some cases, the value of Jcan be fixed in advance; for instance, when only one level set is used to represent a density. The exact meaning of best graphical representation is specified later. For the moment, an informal way to express this concept is to say that the chosen density level sets must reflect as well as possible the shape of f. It can also be said that the visual distance between fand its graphical representation using the chosen density level sets must be minimised. Representing bivariate densities by one level set (in this case J= 1) allows us to draw more than one bivariate density function in the same graph. This kind of graphs is helpful in different situations. In other situations, it could be interesting to have more than one level set (in this case J > 1) for depicting some feature of the density. An important open question is to determine which level(s) should be used. Nowadays, it is standard to represent a bivariate density function (either known or nonparametrically estimated from a random sample) by plotting J= 3 of its density level sets, usually those corresponding to α= 1/4, 1/2and 3/4(by analogy with the univariate boxplots). This contribution will be centered around the theoretical properties of the optimal level sets defined in Section 4.1 (see Theorem 4.1) and on their finite sample behaviour (both on simulated and real data). In addition, one will also shortly discuss some alternative method for constructing level sets as well as some tracks for future researches as presented in Section 4.2. 4.1 Optimal level sets for a bivariate density We consider the problem of representing only one density by some of its density level sets. We assume that Jhas been fixed in advance and we wish to make the best choice of α1, . . . , αJ. There is no single way for specifying what best might mean. We explore the following approach: to choose the Jdensity level sets that best represent the whole family of level sets {Cα:α∈]0,1[}, in the sense that each non-plotted Cαis close to the nearest level among those that are plotted: Cα1, . . . , CαJ. We consider the following distances between sets A, B ⊆R2: dλ(A, B) = ZA∆B dx =λ(A∆B), df(A, B) = ZA∆B f(x)dx =µf(A∆B), where ∆denotes the symmetric difference between sets, λis the Lebesgue measure in R2and µfis the probability measure in R2having fas a density function. There exist other distances between sets that could be used as an alternative (Hausdorff’s distance, for instance; for more details on distances between sets used in set estimation see, e.g., [5]). An appealing way to choose values α1, . . . , αJis by solving this minimisation problem: min 0<α1<···<αJ<1Z1 0 d(Cu, Cαj(u))du (4.1) 20 P. DELICADO, P. VIEU 21 where dis either dλor df, and j(u)is such that d(Cu, Cαj(u)) = minj=1...J d(Cu, Cαj), that is, Cαj(u)is the closest set to Cuamong the sets Cα1, . . . , Cαj. Theorem 4.1. For d=df, the optimal solution to problem (4.1) is αf j=2j−1 2J, j = 1, . . . , J. Assume now that the support of f, say C1, is compact. For d=dλthe optimal solution to problem (4.1) is αλ j,j= 1, . . . , J, such that λ(Cαλ j) λ(C1)=2j−1 2J, j = 1, . . . , J. Observe that αf j, the optimal values when using d=df, do not depend on f. This is no longer true when using d=dλ. For the first values of Jthe optimal αf j are the following: J αf j, j = 1, . . . , J 11/2 21/4,3/4 31/6,1/2,5/6 We see that when J= 3 level sets are plotted, the optimal values (in this sense) for αjare not those that are commonly used (0.25, 0.5 and 0.75). The bivariate density fis not commonly known in practice. We normally observe nindependent data coming from fand we define an estimator ˆ fnof f based on these data ( ˆ fnis usually a nonparametric estimator of the kernel type). Then the level sets finally plotted are not those belonging to fbut those belonging to ˆ fn(which are known as plug-in density level estimators). Short reviews on level set estimation can be found in [5] and [6]. Of particular interest for us are the works of [2] and [4], which deal with the convergence of the plug-in density level estimating sets Cα,n ={x∈R2:ˆ fn(x)≥γα, n}, with RCα,n ˆ fn(x)dx =α, to the density level set Cαof f, where ˆ fnis a kernel density estimator of fbased on nindependent copies of the random variable Xwith density f. Specifically, [2] obtain rates of convergence for Pr{Z∈Cα,n} − α, where Z∼fis independent of ˆ fn(see [11], for similar results under weaker assumptions). [1] proves that dλ(Cα,n, Cα)converges almost surely to 0 while [4] finds the convergence rate. 4.2 Further researches The problem of representing only one density by some of its density level sets admits a second approach. It can be argued that each collection of level sets Cα1, . . . , CαJnaturally defines a piecewise uniform bivariate density function. Our proposal is to minimise in α1, . . . , αJthe distance between this piecewise uniform density and the one we wish to represent by Cα1, . . . , CαJ. 21 22 Representing a bivariate density function The situation in which one has a sample of bivariate densities available (fi, i = 1, . . . , N) that must be represented is also of interest. A way for attacking the problem could be to look for the link between the densities and their corresponding level sets. Because both of them are functional objects, the recent advances in FDA (see the books [8], [9] and [10]) would be helpful. Bibliography [1] A. Ba´ ıllo (2003) Total error in a plug-in estimator of level sets. Statistics & Probability Letters, 65(4):411–417. [2] A. Ba´ ıllo, J.A. Cuesta-Albertos, and A. Cuevas (2001) Convergence rates in nonparametric estimation of level sets. Statistics & Probability Letters, 53 (1):27–35. [3] A.W. Bowman and A. Azzalini (1997) Applied Smoothing Techniques for Data Analysis. Oxford University Press, Oxford. [4] B. Cadre (2006) Kernel estimation of density level sets. Journal of Multivariate Analysis, 97(4):999–1023. [5] A. Cuevas (2009) Set estimation: Another bridge between statistics and geometry. Bolet´ın de Estad´ıstica e Investigaci´on Operativa, 25(2):71–85, 2009. [6] A. Cuevas and R. Fraiman (2010) Set estimation. In W. Kendall and I. Molchanov, editors, New Perspectives in Stochastic Geometry, chapter 11, pages 374–397. Oxford University Press, Oxford. [7] T. Duong (2007) ks: Kernel density estimation and kernel discriminant analysis for multivariate data in R. Journal of Statistical Software, 21:1–16. [8] F. Ferraty and P. Vieu (2006) Nonparametric Functional Data Analysis: Theory and Practice. Springer Verlag. [9] L. Horv´ ath and P. Kokoszka (2012) Inference for functional data with applications, Springer. [10] J.O. Ramsay and B. W. Silverman (2005) Functional Data Analysis. Second edition Springer, New York. [11] Q. Ren and M. Mojirsheibani (2008) Nonparametric estimation of level sets under minimal assumptions. Statistics & Probability Letters, 78:3029–3033. [12] D.W. Scott (1992) Multivariate Density Estimation. John Wiley & Sons. [13] B.W. Silverman (1986) Density Estimation for Statistics and Data Analysis, volume 26. Chapman & Hall/CRC. [14] J.S. Simonoff (1996) Smoothing Methods in Statistics. Springer Verlag. [15] M.P. Wand and M.C. Jones (1995) Kernel Smoothing, volume 60. Chapman & Hall/CRC. 22