Does equal probability of rank imply two random variables symmetric around median?












1












$begingroup$


Let $X$ and $Y$ be two independent, continuous random variables with cumulative distribution functions $F_X$ and $F_Y$. Suppose that $X$ and $Y$ are not identically distributed, i.e. $F_X ne F_Y$, and that



$$mathbb{P}[X<Y] = mathbb{P}[X>Y] = 1/2. qquad (*)$$



It seems that a necessary condition for $(*)$ is that $X$ and $Y$ have the same medians, i.e. there exists some $m in mathbb{R}$ such that $F_X(m) = F_Y(m) = 1/2$. Must $X$ and $Y$ be symmetric around $m$?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Are you interested only in distributions which density is nonzero over the entire $mathbb{R}$? Or will you take those with zero density outside a bounded interval?
    $endgroup$
    – Lee David Chung Lin
    Jan 3 at 17:36










  • $begingroup$
    The distributions of $X$ and $Y$ can be arbitrarily defined i.e. they need not have full support. If the median is not unique then the question intends to ask whether there exists some median $m$ around which $X$ and $Y$ are symmetric.
    $endgroup$
    – jesterII
    Jan 3 at 18:12
















1












$begingroup$


Let $X$ and $Y$ be two independent, continuous random variables with cumulative distribution functions $F_X$ and $F_Y$. Suppose that $X$ and $Y$ are not identically distributed, i.e. $F_X ne F_Y$, and that



$$mathbb{P}[X<Y] = mathbb{P}[X>Y] = 1/2. qquad (*)$$



It seems that a necessary condition for $(*)$ is that $X$ and $Y$ have the same medians, i.e. there exists some $m in mathbb{R}$ such that $F_X(m) = F_Y(m) = 1/2$. Must $X$ and $Y$ be symmetric around $m$?










share|cite|improve this question









$endgroup$












  • $begingroup$
    Are you interested only in distributions which density is nonzero over the entire $mathbb{R}$? Or will you take those with zero density outside a bounded interval?
    $endgroup$
    – Lee David Chung Lin
    Jan 3 at 17:36










  • $begingroup$
    The distributions of $X$ and $Y$ can be arbitrarily defined i.e. they need not have full support. If the median is not unique then the question intends to ask whether there exists some median $m$ around which $X$ and $Y$ are symmetric.
    $endgroup$
    – jesterII
    Jan 3 at 18:12














1












1








1





$begingroup$


Let $X$ and $Y$ be two independent, continuous random variables with cumulative distribution functions $F_X$ and $F_Y$. Suppose that $X$ and $Y$ are not identically distributed, i.e. $F_X ne F_Y$, and that



$$mathbb{P}[X<Y] = mathbb{P}[X>Y] = 1/2. qquad (*)$$



It seems that a necessary condition for $(*)$ is that $X$ and $Y$ have the same medians, i.e. there exists some $m in mathbb{R}$ such that $F_X(m) = F_Y(m) = 1/2$. Must $X$ and $Y$ be symmetric around $m$?










share|cite|improve this question









$endgroup$




Let $X$ and $Y$ be two independent, continuous random variables with cumulative distribution functions $F_X$ and $F_Y$. Suppose that $X$ and $Y$ are not identically distributed, i.e. $F_X ne F_Y$, and that



$$mathbb{P}[X<Y] = mathbb{P}[X>Y] = 1/2. qquad (*)$$



It seems that a necessary condition for $(*)$ is that $X$ and $Y$ have the same medians, i.e. there exists some $m in mathbb{R}$ such that $F_X(m) = F_Y(m) = 1/2$. Must $X$ and $Y$ be symmetric around $m$?







probability probability-theory probability-distributions random-variables examples-counterexamples






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 3 at 16:26









jesterIIjesterII

1,20121326




1,20121326












  • $begingroup$
    Are you interested only in distributions which density is nonzero over the entire $mathbb{R}$? Or will you take those with zero density outside a bounded interval?
    $endgroup$
    – Lee David Chung Lin
    Jan 3 at 17:36










  • $begingroup$
    The distributions of $X$ and $Y$ can be arbitrarily defined i.e. they need not have full support. If the median is not unique then the question intends to ask whether there exists some median $m$ around which $X$ and $Y$ are symmetric.
    $endgroup$
    – jesterII
    Jan 3 at 18:12


















  • $begingroup$
    Are you interested only in distributions which density is nonzero over the entire $mathbb{R}$? Or will you take those with zero density outside a bounded interval?
    $endgroup$
    – Lee David Chung Lin
    Jan 3 at 17:36










  • $begingroup$
    The distributions of $X$ and $Y$ can be arbitrarily defined i.e. they need not have full support. If the median is not unique then the question intends to ask whether there exists some median $m$ around which $X$ and $Y$ are symmetric.
    $endgroup$
    – jesterII
    Jan 3 at 18:12
















$begingroup$
Are you interested only in distributions which density is nonzero over the entire $mathbb{R}$? Or will you take those with zero density outside a bounded interval?
$endgroup$
– Lee David Chung Lin
Jan 3 at 17:36




$begingroup$
Are you interested only in distributions which density is nonzero over the entire $mathbb{R}$? Or will you take those with zero density outside a bounded interval?
$endgroup$
– Lee David Chung Lin
Jan 3 at 17:36












$begingroup$
The distributions of $X$ and $Y$ can be arbitrarily defined i.e. they need not have full support. If the median is not unique then the question intends to ask whether there exists some median $m$ around which $X$ and $Y$ are symmetric.
$endgroup$
– jesterII
Jan 3 at 18:12




$begingroup$
The distributions of $X$ and $Y$ can be arbitrarily defined i.e. they need not have full support. If the median is not unique then the question intends to ask whether there exists some median $m$ around which $X$ and $Y$ are symmetric.
$endgroup$
– jesterII
Jan 3 at 18:12










1 Answer
1






active

oldest

votes


















3












$begingroup$

Here's a counter-example where both $X$ and $Y$ are supported only in $[0,1]$. The medians are different, and obviously neither of $X$ and $Y$ is symmetric with respect to their own median.



begin{align}
F_X(t) &= t^2 \
F_Y(t) &= 1 - (1 - t)^a quad text{where} quad a = frac{-3 + sqrt{17}}2 approx 0.561553
end{align}

That is, $X$ has a linear density $f_X(t) = 2t$ and it's easy to check that
$$mathbb{P}[X > Y] = int_{x = 0}^1 f_X(x) cdot F_Y(x) ,mathrm{d}x = frac12 $$
Or, more explicitly
begin{align}
mathbb{P}[X > Y] &= int_{x = 0}^1 int_{y = 0}^x 2x cdot frac{d}{dt}left( 1 - (1-t)^aright)Big|_{t=y} ,mathrm{d}y ,mathrm{d}x \
&= int_{x = 0}^1 2xleft( 1 - (1-x)^aright) ,mathrm{d}x \
&= 1-frac2{a^2 + 3a + 2} \
&= frac12
end{align}

by design of having the power $a$ being the root to $a^2 + 3a + 2 = 4$ that is larger than $-1$.



For the record, the medians are
begin{align}
m_X &= frac1{ sqrt{2} } approx 0.707107 \
m_Y &= 1 - frac1{ 2^{1/a} } approx 0.708973
end{align}






share|cite|improve this answer











$endgroup$













    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    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%2f3060743%2fdoes-equal-probability-of-rank-imply-two-random-variables-symmetric-around-media%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3












    $begingroup$

    Here's a counter-example where both $X$ and $Y$ are supported only in $[0,1]$. The medians are different, and obviously neither of $X$ and $Y$ is symmetric with respect to their own median.



    begin{align}
    F_X(t) &= t^2 \
    F_Y(t) &= 1 - (1 - t)^a quad text{where} quad a = frac{-3 + sqrt{17}}2 approx 0.561553
    end{align}

    That is, $X$ has a linear density $f_X(t) = 2t$ and it's easy to check that
    $$mathbb{P}[X > Y] = int_{x = 0}^1 f_X(x) cdot F_Y(x) ,mathrm{d}x = frac12 $$
    Or, more explicitly
    begin{align}
    mathbb{P}[X > Y] &= int_{x = 0}^1 int_{y = 0}^x 2x cdot frac{d}{dt}left( 1 - (1-t)^aright)Big|_{t=y} ,mathrm{d}y ,mathrm{d}x \
    &= int_{x = 0}^1 2xleft( 1 - (1-x)^aright) ,mathrm{d}x \
    &= 1-frac2{a^2 + 3a + 2} \
    &= frac12
    end{align}

    by design of having the power $a$ being the root to $a^2 + 3a + 2 = 4$ that is larger than $-1$.



    For the record, the medians are
    begin{align}
    m_X &= frac1{ sqrt{2} } approx 0.707107 \
    m_Y &= 1 - frac1{ 2^{1/a} } approx 0.708973
    end{align}






    share|cite|improve this answer











    $endgroup$


















      3












      $begingroup$

      Here's a counter-example where both $X$ and $Y$ are supported only in $[0,1]$. The medians are different, and obviously neither of $X$ and $Y$ is symmetric with respect to their own median.



      begin{align}
      F_X(t) &= t^2 \
      F_Y(t) &= 1 - (1 - t)^a quad text{where} quad a = frac{-3 + sqrt{17}}2 approx 0.561553
      end{align}

      That is, $X$ has a linear density $f_X(t) = 2t$ and it's easy to check that
      $$mathbb{P}[X > Y] = int_{x = 0}^1 f_X(x) cdot F_Y(x) ,mathrm{d}x = frac12 $$
      Or, more explicitly
      begin{align}
      mathbb{P}[X > Y] &= int_{x = 0}^1 int_{y = 0}^x 2x cdot frac{d}{dt}left( 1 - (1-t)^aright)Big|_{t=y} ,mathrm{d}y ,mathrm{d}x \
      &= int_{x = 0}^1 2xleft( 1 - (1-x)^aright) ,mathrm{d}x \
      &= 1-frac2{a^2 + 3a + 2} \
      &= frac12
      end{align}

      by design of having the power $a$ being the root to $a^2 + 3a + 2 = 4$ that is larger than $-1$.



      For the record, the medians are
      begin{align}
      m_X &= frac1{ sqrt{2} } approx 0.707107 \
      m_Y &= 1 - frac1{ 2^{1/a} } approx 0.708973
      end{align}






      share|cite|improve this answer











      $endgroup$
















        3












        3








        3





        $begingroup$

        Here's a counter-example where both $X$ and $Y$ are supported only in $[0,1]$. The medians are different, and obviously neither of $X$ and $Y$ is symmetric with respect to their own median.



        begin{align}
        F_X(t) &= t^2 \
        F_Y(t) &= 1 - (1 - t)^a quad text{where} quad a = frac{-3 + sqrt{17}}2 approx 0.561553
        end{align}

        That is, $X$ has a linear density $f_X(t) = 2t$ and it's easy to check that
        $$mathbb{P}[X > Y] = int_{x = 0}^1 f_X(x) cdot F_Y(x) ,mathrm{d}x = frac12 $$
        Or, more explicitly
        begin{align}
        mathbb{P}[X > Y] &= int_{x = 0}^1 int_{y = 0}^x 2x cdot frac{d}{dt}left( 1 - (1-t)^aright)Big|_{t=y} ,mathrm{d}y ,mathrm{d}x \
        &= int_{x = 0}^1 2xleft( 1 - (1-x)^aright) ,mathrm{d}x \
        &= 1-frac2{a^2 + 3a + 2} \
        &= frac12
        end{align}

        by design of having the power $a$ being the root to $a^2 + 3a + 2 = 4$ that is larger than $-1$.



        For the record, the medians are
        begin{align}
        m_X &= frac1{ sqrt{2} } approx 0.707107 \
        m_Y &= 1 - frac1{ 2^{1/a} } approx 0.708973
        end{align}






        share|cite|improve this answer











        $endgroup$



        Here's a counter-example where both $X$ and $Y$ are supported only in $[0,1]$. The medians are different, and obviously neither of $X$ and $Y$ is symmetric with respect to their own median.



        begin{align}
        F_X(t) &= t^2 \
        F_Y(t) &= 1 - (1 - t)^a quad text{where} quad a = frac{-3 + sqrt{17}}2 approx 0.561553
        end{align}

        That is, $X$ has a linear density $f_X(t) = 2t$ and it's easy to check that
        $$mathbb{P}[X > Y] = int_{x = 0}^1 f_X(x) cdot F_Y(x) ,mathrm{d}x = frac12 $$
        Or, more explicitly
        begin{align}
        mathbb{P}[X > Y] &= int_{x = 0}^1 int_{y = 0}^x 2x cdot frac{d}{dt}left( 1 - (1-t)^aright)Big|_{t=y} ,mathrm{d}y ,mathrm{d}x \
        &= int_{x = 0}^1 2xleft( 1 - (1-x)^aright) ,mathrm{d}x \
        &= 1-frac2{a^2 + 3a + 2} \
        &= frac12
        end{align}

        by design of having the power $a$ being the root to $a^2 + 3a + 2 = 4$ that is larger than $-1$.



        For the record, the medians are
        begin{align}
        m_X &= frac1{ sqrt{2} } approx 0.707107 \
        m_Y &= 1 - frac1{ 2^{1/a} } approx 0.708973
        end{align}







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jan 3 at 18:56

























        answered Jan 3 at 18:29









        Lee David Chung LinLee David Chung Lin

        3,86531140




        3,86531140






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3060743%2fdoes-equal-probability-of-rank-imply-two-random-variables-symmetric-around-media%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            'app-layout' is not a known element: how to share Component with different Modules

            android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

            WPF add header to Image with URL pettitions [duplicate]