Expectation of distance of two iid random variables

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm reading up on 'energy distance' to use possibly as an analysis tool for images of different textures. I'm reading the paper "Energy statistics: A class of statistics based on distances" by Gábor J. Székely and Maria L. Rizzo.
They mention the Cramér distance, and the extension, Cramér–von Mises Smirnov distance and how they are not rotationally invariant for spaces of dim(F) > 1. This is the basic argument for why the energy distance is introduced.



The univariate Cramér-distance is defined as $$int_-infty^infty (F(x)_n-F(x)) dx$$
The univariate Cramér–von Mises Smirnov as $$int_-infty^infty (F(x)_n-F(x)) dF(x)$$



My questions regard the rotational invariance:



  • What does rotationally invariant (in the multivariate case) mean here? If we identically rotate both cdfs. Fn (the empirical cdf) and F why would the C-MS distance not be the same? Do they mean only rotating one distribution at the time? And if so, what would this mean in practice? Fn is supposed to be approaching F asymptotically, right?






share|cite|improve this question





















  • Sorry for the dumb question, but how is the cdf of a multivariate distribution defined here? In particular, so that it is univariate (given the integral)?
    – Clement C.
    Jul 30 at 17:03










  • The one I've written is the univariate one. The multivariate is as you'd expect. I will edit to reflect it. My bad :). Thanks for pointing it out!
    – CupinaCoffee
    Jul 30 at 17:08











  • That'd be a good idea, since for the univariate case "rotationally invariant" is not that meaningful.
    – Clement C.
    Jul 30 at 17:10














up vote
0
down vote

favorite












I'm reading up on 'energy distance' to use possibly as an analysis tool for images of different textures. I'm reading the paper "Energy statistics: A class of statistics based on distances" by Gábor J. Székely and Maria L. Rizzo.
They mention the Cramér distance, and the extension, Cramér–von Mises Smirnov distance and how they are not rotationally invariant for spaces of dim(F) > 1. This is the basic argument for why the energy distance is introduced.



The univariate Cramér-distance is defined as $$int_-infty^infty (F(x)_n-F(x)) dx$$
The univariate Cramér–von Mises Smirnov as $$int_-infty^infty (F(x)_n-F(x)) dF(x)$$



My questions regard the rotational invariance:



  • What does rotationally invariant (in the multivariate case) mean here? If we identically rotate both cdfs. Fn (the empirical cdf) and F why would the C-MS distance not be the same? Do they mean only rotating one distribution at the time? And if so, what would this mean in practice? Fn is supposed to be approaching F asymptotically, right?






share|cite|improve this question





















  • Sorry for the dumb question, but how is the cdf of a multivariate distribution defined here? In particular, so that it is univariate (given the integral)?
    – Clement C.
    Jul 30 at 17:03










  • The one I've written is the univariate one. The multivariate is as you'd expect. I will edit to reflect it. My bad :). Thanks for pointing it out!
    – CupinaCoffee
    Jul 30 at 17:08











  • That'd be a good idea, since for the univariate case "rotationally invariant" is not that meaningful.
    – Clement C.
    Jul 30 at 17:10












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm reading up on 'energy distance' to use possibly as an analysis tool for images of different textures. I'm reading the paper "Energy statistics: A class of statistics based on distances" by Gábor J. Székely and Maria L. Rizzo.
They mention the Cramér distance, and the extension, Cramér–von Mises Smirnov distance and how they are not rotationally invariant for spaces of dim(F) > 1. This is the basic argument for why the energy distance is introduced.



The univariate Cramér-distance is defined as $$int_-infty^infty (F(x)_n-F(x)) dx$$
The univariate Cramér–von Mises Smirnov as $$int_-infty^infty (F(x)_n-F(x)) dF(x)$$



My questions regard the rotational invariance:



  • What does rotationally invariant (in the multivariate case) mean here? If we identically rotate both cdfs. Fn (the empirical cdf) and F why would the C-MS distance not be the same? Do they mean only rotating one distribution at the time? And if so, what would this mean in practice? Fn is supposed to be approaching F asymptotically, right?






share|cite|improve this question













I'm reading up on 'energy distance' to use possibly as an analysis tool for images of different textures. I'm reading the paper "Energy statistics: A class of statistics based on distances" by Gábor J. Székely and Maria L. Rizzo.
They mention the Cramér distance, and the extension, Cramér–von Mises Smirnov distance and how they are not rotationally invariant for spaces of dim(F) > 1. This is the basic argument for why the energy distance is introduced.



The univariate Cramér-distance is defined as $$int_-infty^infty (F(x)_n-F(x)) dx$$
The univariate Cramér–von Mises Smirnov as $$int_-infty^infty (F(x)_n-F(x)) dF(x)$$



My questions regard the rotational invariance:



  • What does rotationally invariant (in the multivariate case) mean here? If we identically rotate both cdfs. Fn (the empirical cdf) and F why would the C-MS distance not be the same? Do they mean only rotating one distribution at the time? And if so, what would this mean in practice? Fn is supposed to be approaching F asymptotically, right?








share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 30 at 17:11
























asked Jul 30 at 16:47









CupinaCoffee

106




106











  • Sorry for the dumb question, but how is the cdf of a multivariate distribution defined here? In particular, so that it is univariate (given the integral)?
    – Clement C.
    Jul 30 at 17:03










  • The one I've written is the univariate one. The multivariate is as you'd expect. I will edit to reflect it. My bad :). Thanks for pointing it out!
    – CupinaCoffee
    Jul 30 at 17:08











  • That'd be a good idea, since for the univariate case "rotationally invariant" is not that meaningful.
    – Clement C.
    Jul 30 at 17:10
















  • Sorry for the dumb question, but how is the cdf of a multivariate distribution defined here? In particular, so that it is univariate (given the integral)?
    – Clement C.
    Jul 30 at 17:03










  • The one I've written is the univariate one. The multivariate is as you'd expect. I will edit to reflect it. My bad :). Thanks for pointing it out!
    – CupinaCoffee
    Jul 30 at 17:08











  • That'd be a good idea, since for the univariate case "rotationally invariant" is not that meaningful.
    – Clement C.
    Jul 30 at 17:10















Sorry for the dumb question, but how is the cdf of a multivariate distribution defined here? In particular, so that it is univariate (given the integral)?
– Clement C.
Jul 30 at 17:03




Sorry for the dumb question, but how is the cdf of a multivariate distribution defined here? In particular, so that it is univariate (given the integral)?
– Clement C.
Jul 30 at 17:03












The one I've written is the univariate one. The multivariate is as you'd expect. I will edit to reflect it. My bad :). Thanks for pointing it out!
– CupinaCoffee
Jul 30 at 17:08





The one I've written is the univariate one. The multivariate is as you'd expect. I will edit to reflect it. My bad :). Thanks for pointing it out!
– CupinaCoffee
Jul 30 at 17:08













That'd be a good idea, since for the univariate case "rotationally invariant" is not that meaningful.
– Clement C.
Jul 30 at 17:10




That'd be a good idea, since for the univariate case "rotationally invariant" is not that meaningful.
– Clement C.
Jul 30 at 17:10










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










Rotational invariance of a distance $D$ means that for random variables $X,Y$ and a unitary matrix $U$, that $D(X,Y)=D(UX,UY)$. Note that you are rotating the random variables, not the cdf. The cdfs $F_X$ of $X$ and $F_UX$ of $UX$ are not related in any simple way.



For example, suppose that $X$ is a point mass at $(1,2)$. Then $F_X(x)=1$ if $x$ is to the north east of $(1,2)$, and $F_X(x)=0$ otherwise. On the other hand, let $U$ be rotation by $90^circ$. Then $UX$ is a point mass at $(-2,1)$, and the cdf $F_UX$ is one to the north and east of $(-2,1)$. Notice that this is not a rotation of $F_X$.






share|cite|improve this answer





















  • So, very non-rigorous; Rotation of the possibly outcomes of a random variable changes the Cramér distance in 'unpredictable' ways (otherwise you could just add some function dependent on the rotation to keep the expression for the Cramer distance rotationally invariant). A follow-up, in the asymptotic case, (n -> $infty$): F$_n$ = F, right? So, even if we rotate the random variables, at n = $infty$ it's rotationally invariant?
    – CupinaCoffee
    Jul 30 at 19:53











  • @CupinaCoffee I do not know enough to answer your follow-up.
    – Mike Earnest
    Jul 30 at 23:50










Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2867194%2fexpectation-of-distance-of-two-iid-random-variables%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










Rotational invariance of a distance $D$ means that for random variables $X,Y$ and a unitary matrix $U$, that $D(X,Y)=D(UX,UY)$. Note that you are rotating the random variables, not the cdf. The cdfs $F_X$ of $X$ and $F_UX$ of $UX$ are not related in any simple way.



For example, suppose that $X$ is a point mass at $(1,2)$. Then $F_X(x)=1$ if $x$ is to the north east of $(1,2)$, and $F_X(x)=0$ otherwise. On the other hand, let $U$ be rotation by $90^circ$. Then $UX$ is a point mass at $(-2,1)$, and the cdf $F_UX$ is one to the north and east of $(-2,1)$. Notice that this is not a rotation of $F_X$.






share|cite|improve this answer





















  • So, very non-rigorous; Rotation of the possibly outcomes of a random variable changes the Cramér distance in 'unpredictable' ways (otherwise you could just add some function dependent on the rotation to keep the expression for the Cramer distance rotationally invariant). A follow-up, in the asymptotic case, (n -> $infty$): F$_n$ = F, right? So, even if we rotate the random variables, at n = $infty$ it's rotationally invariant?
    – CupinaCoffee
    Jul 30 at 19:53











  • @CupinaCoffee I do not know enough to answer your follow-up.
    – Mike Earnest
    Jul 30 at 23:50














up vote
0
down vote



accepted










Rotational invariance of a distance $D$ means that for random variables $X,Y$ and a unitary matrix $U$, that $D(X,Y)=D(UX,UY)$. Note that you are rotating the random variables, not the cdf. The cdfs $F_X$ of $X$ and $F_UX$ of $UX$ are not related in any simple way.



For example, suppose that $X$ is a point mass at $(1,2)$. Then $F_X(x)=1$ if $x$ is to the north east of $(1,2)$, and $F_X(x)=0$ otherwise. On the other hand, let $U$ be rotation by $90^circ$. Then $UX$ is a point mass at $(-2,1)$, and the cdf $F_UX$ is one to the north and east of $(-2,1)$. Notice that this is not a rotation of $F_X$.






share|cite|improve this answer





















  • So, very non-rigorous; Rotation of the possibly outcomes of a random variable changes the Cramér distance in 'unpredictable' ways (otherwise you could just add some function dependent on the rotation to keep the expression for the Cramer distance rotationally invariant). A follow-up, in the asymptotic case, (n -> $infty$): F$_n$ = F, right? So, even if we rotate the random variables, at n = $infty$ it's rotationally invariant?
    – CupinaCoffee
    Jul 30 at 19:53











  • @CupinaCoffee I do not know enough to answer your follow-up.
    – Mike Earnest
    Jul 30 at 23:50












up vote
0
down vote



accepted







up vote
0
down vote



accepted






Rotational invariance of a distance $D$ means that for random variables $X,Y$ and a unitary matrix $U$, that $D(X,Y)=D(UX,UY)$. Note that you are rotating the random variables, not the cdf. The cdfs $F_X$ of $X$ and $F_UX$ of $UX$ are not related in any simple way.



For example, suppose that $X$ is a point mass at $(1,2)$. Then $F_X(x)=1$ if $x$ is to the north east of $(1,2)$, and $F_X(x)=0$ otherwise. On the other hand, let $U$ be rotation by $90^circ$. Then $UX$ is a point mass at $(-2,1)$, and the cdf $F_UX$ is one to the north and east of $(-2,1)$. Notice that this is not a rotation of $F_X$.






share|cite|improve this answer













Rotational invariance of a distance $D$ means that for random variables $X,Y$ and a unitary matrix $U$, that $D(X,Y)=D(UX,UY)$. Note that you are rotating the random variables, not the cdf. The cdfs $F_X$ of $X$ and $F_UX$ of $UX$ are not related in any simple way.



For example, suppose that $X$ is a point mass at $(1,2)$. Then $F_X(x)=1$ if $x$ is to the north east of $(1,2)$, and $F_X(x)=0$ otherwise. On the other hand, let $U$ be rotation by $90^circ$. Then $UX$ is a point mass at $(-2,1)$, and the cdf $F_UX$ is one to the north and east of $(-2,1)$. Notice that this is not a rotation of $F_X$.







share|cite|improve this answer













share|cite|improve this answer



share|cite|improve this answer











answered Jul 30 at 17:15









Mike Earnest

14.8k11644




14.8k11644











  • So, very non-rigorous; Rotation of the possibly outcomes of a random variable changes the Cramér distance in 'unpredictable' ways (otherwise you could just add some function dependent on the rotation to keep the expression for the Cramer distance rotationally invariant). A follow-up, in the asymptotic case, (n -> $infty$): F$_n$ = F, right? So, even if we rotate the random variables, at n = $infty$ it's rotationally invariant?
    – CupinaCoffee
    Jul 30 at 19:53











  • @CupinaCoffee I do not know enough to answer your follow-up.
    – Mike Earnest
    Jul 30 at 23:50
















  • So, very non-rigorous; Rotation of the possibly outcomes of a random variable changes the Cramér distance in 'unpredictable' ways (otherwise you could just add some function dependent on the rotation to keep the expression for the Cramer distance rotationally invariant). A follow-up, in the asymptotic case, (n -> $infty$): F$_n$ = F, right? So, even if we rotate the random variables, at n = $infty$ it's rotationally invariant?
    – CupinaCoffee
    Jul 30 at 19:53











  • @CupinaCoffee I do not know enough to answer your follow-up.
    – Mike Earnest
    Jul 30 at 23:50















So, very non-rigorous; Rotation of the possibly outcomes of a random variable changes the Cramér distance in 'unpredictable' ways (otherwise you could just add some function dependent on the rotation to keep the expression for the Cramer distance rotationally invariant). A follow-up, in the asymptotic case, (n -> $infty$): F$_n$ = F, right? So, even if we rotate the random variables, at n = $infty$ it's rotationally invariant?
– CupinaCoffee
Jul 30 at 19:53





So, very non-rigorous; Rotation of the possibly outcomes of a random variable changes the Cramér distance in 'unpredictable' ways (otherwise you could just add some function dependent on the rotation to keep the expression for the Cramer distance rotationally invariant). A follow-up, in the asymptotic case, (n -> $infty$): F$_n$ = F, right? So, even if we rotate the random variables, at n = $infty$ it's rotationally invariant?
– CupinaCoffee
Jul 30 at 19:53













@CupinaCoffee I do not know enough to answer your follow-up.
– Mike Earnest
Jul 30 at 23:50




@CupinaCoffee I do not know enough to answer your follow-up.
– Mike Earnest
Jul 30 at 23:50












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2867194%2fexpectation-of-distance-of-two-iid-random-variables%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?