ArticleslgStudy

science

Ball covariance

Ball covariance is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Ball covariance rather than just read about it. In short: Ball covariance is a statistical measure that can be used to test the independence of two random variables defined on metric spaces. The ball covariance is zero if and only if two random variables are independent, making it a good measure of correlation.

Key takeaways

  • Ball covariance belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Ball covariance to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Ball covariance from memory before moving on to harder problems.

Reference excerpt

Ball covariance is a statistical measure that can be used to test the independence of two random variables defined on metric spaces. The ball covariance is zero if and only if two random variables are independent, making it a good measure of correlation. Its significant contribution lies in proposing an alternative measure of independence in metric spaces. Prior to this, distance covariance in metric spaces could only detect independence for distance types with strong negative type. However, ball covariance can determine independence for any distance measure. Ball covariance uses permutation tests to calculate the p-value. This involves first computing the ball covariance for two sets of samples, then comparing this value with many permutation values.

Background Correlation, as a fundamental concept of dependence in statistics, has been extensively developed in Hilbert spaces, exemplified by the Pearson correlation coefficient, Spearman correlation coefficient, and Hoeffding's dependence measure. However, with the advancement of time, many fields require the measurement of dependence or independence between complex objects, such as in medical imaging, computational biology, and computer vision. Examples of complex objects include Grassmann manifolds, planar shapes, tree-structured data, matrix Lie groups, deformation fields, symmetric positive definite (SPD) matrices, and shape representations of cortical and subcortical structures. These complex objects mostly exist in non-Hilbert spaces and are inherently nonlinear and high-dimensional (or even infinite-dimensional). Traditional statistical techniques, developed in Hilbert spaces, may not be directly applicable to such complex objects. Therefore, analyzing objects that may reside in non-Hilbert spaces poses significant mathematical and computational challenges. Previously, a groundbreaking work in metric space independence tests was the distance covariance in metric spaces proposed by Lyons (2013). This statistic equals zero if and only if random variables are independent, provided the metric space is of strong negative type. However, testing the independence of random variables in spaces that do not meet the strong negative type condition requires new explorations.

Definition

Ball covariance Next, we will introduce ball covariance in detail, starting with the definition of a ball. Suppose two Banach spaces: (𝐗,ρ) and (𝐘,ζ), where the norms ρ and ζ also represent their induced distances. Let θ be a Borel probability measure on 𝐗×𝐘,μ,ν be two Borel probability measures on 𝐗,𝐘, and (X,Y) be a B-valued random variable defined on a probability space such that (X,Y)∼θ,X∼μ, and Y∼ν. Denote the closed ball with the center x1 and the radius ρ(x1,x2) in 𝐗 as B¯(x1,ρ(x1,x2)) or B¯ρ(x1,x2), and the closed ball with the center y1 and the radius ζ(y1,y2) in 𝐘 as B¯(y1,ζ(y1,y2)) or B¯ζ(y1,y2). Let {Wi=(Xi,Yi),i=1,2,…} be an infinite sequence of iid samples of (X,Y), and ω=(ω1,ω2) be the positive weight function on the support set of θ. Then, the population ball covariance can be defined as follows: BCovω2(X,Y)=∫[θ−μ⊗ν]2(B¯ρ(x1,x2)×B¯ζ(y1,y2))ω1(x1,x2)ω2(y1,y2)θ(dx1,dy1)θ(dx2,dy2) where[θ−μ⊗ν]2(A×B):=[θ(A×B)−μ(A)v(B)] for A∈𝐗 and B∈𝐘. Next, we will introduce another form of population ball covariance. Suppose δij,kX:=I(Xk∈B¯ρ(Xi,Xj)) which indicates whether Xk is located in the closed ball B¯ρ(Xi,Xj). Then, let δij,klX=δij,kXδij,lX means whether both Xk and Xl is located in B¯ρ(Xi,Xj), and ξij,klstX=(δij,klX+δij,stX−δij,ksX−δij,ltX)/2. So does δij,kY, δij,klY and ξij,klstY for Y. Then, let (Xi,Yi), i=1,2,…,6 be iid samples from θ. Another form of population ball covariance can be shown as BCovω2(X,Y)=E{ξ12,3456Xξ12,3456Yω1(X1,X2)ω2(Y1,Y2)} Now, we can finally express the sample ball covariance. Consider the random sample (𝐗,𝐘=Xk,Yk,k=1,…,n). Let ω̂1,n and ω̂2,n be the estimate of ω1 and ω2. Denote Δij,nXY=1n∑k=1nδij,kXδij,kY,Δij,nX=1n∑k=1nδij,kX,Δij,nY=1n∑k=1nδij,kY, the sample ball covariance is 𝐁𝐂𝐨𝐯ω,n2(𝐗,𝐘):=1n2∑i,j=1n(Δij,nXY−Δij,nXΔij,nY)2×ω̂1,n(Xi,Xj)ω̂2,n(Yi,Yj).

Ball correlation Just like the relationship between the Pearson correlation coefficient and covariance, we can define the ball correlation coefficient through ball covariance. The ball correlation is defined as the square root of BCorω2(X,Y):=BCovω2(X,Y)/𝐁𝐂𝐨𝐯ω2(X)𝐁𝐂𝐨𝐯ω2(Y), where 𝐁𝐂𝐨𝐯ω2(X)=𝐁𝐂𝐨𝐯ω2(X,X)=E(ξ12,3456Xω1(X1,X2))2, and 𝐁𝐂𝐨𝐯ω2(Y)=𝐁𝐂𝐨𝐯ω2(Y,Y)=E(ξ12,3456Yω1(Y1,Y2))2. And the sample ball correlation is defined similarly, BCorω,n2(X,Y):=BCovω,n2(X,Y)/𝐁𝐂𝐨𝐯ω,n2(X)𝐁𝐂𝐨𝐯ω,n2(Y), where 𝐁𝐂𝐨𝐯ω,n2(X)=𝐁𝐂𝐨𝐯ω,n2(X,X), and 𝐁𝐂𝐨𝐯ω,n2(Y)=𝐁𝐂𝐨𝐯ω,n2(Y,Y).

Properties 1.Independence-zero equivalence property: Let Sθ, Sμ and Sν denote the support sets of θ, μ and ν, respectively. BCovω(X,Y)=0 implies θ=μ⊗ν if one of the following conditions establish: (a).𝐗×𝐘 is a finite dimensional Banach space with Sθ=Sμ×Sν. (b).θ=a1θd+a2θa, where a1 and a2 are positive constants, θd is a discrete measure, and θa is an absolutely continuous measure with a continues Radon–Nikodym derivative with respect to the Gaussian measure. 2.Cauchy–Schwarz type inequality: BCovω2(X,Y)≤BCovω(X)BCovω(X) 3.Consistence: If ω̂1,n and ω̂2,n uniformly converge ω1 and ω2 with E(ω1ω2)<∞ respectively, we have BCovω,n(𝐗,𝐘)⟶a.s.n→∞BCovω(X,Y) and BCorω,n(𝐗,𝐘)⟶a.s.n→∞BCorω(X,Y). 4.Asymptotics: If ω̂1,n and ω̂2,n uniformly converge ω1 and ω2 with E(ω1ω2)<∞ respectively, (a)under the null hypothesis, we have n𝐁𝐂𝐨𝐯ω,n2(𝐗,𝐘)→n→∞d∑v=1∞λvZv2, where Zv are independent standard normal random variables. (b)under the alternative hypothesis, we have n(𝐁𝐂𝐨𝐯ω,n2(𝐗,𝐘)−𝐁𝐂𝐨𝐯ω2(X,Y))→n→∞dN(0,Σ).

References

Worked examples

Example 1 — a first encounter with Ball covariance

Start with the simplest possible case. Write down what Ball covariance claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Ball covariance before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Ball covariance ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Ball covariance

In research
Ball covariance appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Ball covariance in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Ball covariance is common in secondary-school and first-year university syllabi. It links to neighbouring topics Covariance and correlation, so understanding it makes those chapters shorter.
In everyday life
Look for Ball covariance outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Ball covariance” →

How to study Ball covariance in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Ball covariance means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Ball covariance out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Ball covariance in simple terms?

Ball covariance is a statistical measure that can be used to test the independence of two random variables defined on metric spaces. The ball covariance is zero if and only if two random variables are independent, making it a good measure of correlation.

Why does Ball covariance matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Ball covariance?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Ball covariance.

Tags

  • Covariance and correlation

Keep exploring