If X and Y are equal almost surely, then they have the same distribution, but the reverse direction is not...












6















Show that if two random variables X and Y are equal almost surely, then they
have the same distribution. Show that the reverse direction is not correct.




If $2$ r.v are equal a.s. can we write $mathbb P((Xin B)triangle (Yin B))=0$ (How to write this better ?)



then



$mathbb P(Xin B)-mathbb P(Yin B)=mathbb P(Xin B setminus Yin B)le mathbb P((Xin B)triangle (Yin B))=0$



$Longrightarrow P(Xin B)=mathbb P(Yin B)$



but the other direction makes no sense for me, i don't know how this can be true.










share|cite|improve this question




















  • 1




    FYI, the identity $mathbb P(Xin B)-mathbb P(Yin B)=mathbb P(Xin B setminus Yin B)$ in the question, is wrong in general (and wrong here).
    – Did
    Sep 14 '15 at 20:21








  • 1




    For the first direction you can use: If $Acap R=Acap S$ and $P(A)=1$ then: $P(R)=P(Acap R)=P(Acap S)=P(S)$. Now take $A={X=Y}$, $R={Xin B}$ and $S={Yin B}$. If you throw exactly one fair coin and $X$ is the number of heads that fall and $Y$ the number of tails, then $Xneq Y$ but they have the same distribution.
    – drhab
    Sep 14 '15 at 20:35


















6















Show that if two random variables X and Y are equal almost surely, then they
have the same distribution. Show that the reverse direction is not correct.




If $2$ r.v are equal a.s. can we write $mathbb P((Xin B)triangle (Yin B))=0$ (How to write this better ?)



then



$mathbb P(Xin B)-mathbb P(Yin B)=mathbb P(Xin B setminus Yin B)le mathbb P((Xin B)triangle (Yin B))=0$



$Longrightarrow P(Xin B)=mathbb P(Yin B)$



but the other direction makes no sense for me, i don't know how this can be true.










share|cite|improve this question




















  • 1




    FYI, the identity $mathbb P(Xin B)-mathbb P(Yin B)=mathbb P(Xin B setminus Yin B)$ in the question, is wrong in general (and wrong here).
    – Did
    Sep 14 '15 at 20:21








  • 1




    For the first direction you can use: If $Acap R=Acap S$ and $P(A)=1$ then: $P(R)=P(Acap R)=P(Acap S)=P(S)$. Now take $A={X=Y}$, $R={Xin B}$ and $S={Yin B}$. If you throw exactly one fair coin and $X$ is the number of heads that fall and $Y$ the number of tails, then $Xneq Y$ but they have the same distribution.
    – drhab
    Sep 14 '15 at 20:35
















6












6








6


1






Show that if two random variables X and Y are equal almost surely, then they
have the same distribution. Show that the reverse direction is not correct.




If $2$ r.v are equal a.s. can we write $mathbb P((Xin B)triangle (Yin B))=0$ (How to write this better ?)



then



$mathbb P(Xin B)-mathbb P(Yin B)=mathbb P(Xin B setminus Yin B)le mathbb P((Xin B)triangle (Yin B))=0$



$Longrightarrow P(Xin B)=mathbb P(Yin B)$



but the other direction makes no sense for me, i don't know how this can be true.










share|cite|improve this question
















Show that if two random variables X and Y are equal almost surely, then they
have the same distribution. Show that the reverse direction is not correct.




If $2$ r.v are equal a.s. can we write $mathbb P((Xin B)triangle (Yin B))=0$ (How to write this better ?)



then



$mathbb P(Xin B)-mathbb P(Yin B)=mathbb P(Xin B setminus Yin B)le mathbb P((Xin B)triangle (Yin B))=0$



$Longrightarrow P(Xin B)=mathbb P(Yin B)$



but the other direction makes no sense for me, i don't know how this can be true.







probability-theory measure-theory probability-distributions random-variables almost-everywhere






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited May 15 '18 at 10:55









BCLC

1




1










asked Apr 3 '14 at 12:14









derivative

1,130923




1,130923








  • 1




    FYI, the identity $mathbb P(Xin B)-mathbb P(Yin B)=mathbb P(Xin B setminus Yin B)$ in the question, is wrong in general (and wrong here).
    – Did
    Sep 14 '15 at 20:21








  • 1




    For the first direction you can use: If $Acap R=Acap S$ and $P(A)=1$ then: $P(R)=P(Acap R)=P(Acap S)=P(S)$. Now take $A={X=Y}$, $R={Xin B}$ and $S={Yin B}$. If you throw exactly one fair coin and $X$ is the number of heads that fall and $Y$ the number of tails, then $Xneq Y$ but they have the same distribution.
    – drhab
    Sep 14 '15 at 20:35
















  • 1




    FYI, the identity $mathbb P(Xin B)-mathbb P(Yin B)=mathbb P(Xin B setminus Yin B)$ in the question, is wrong in general (and wrong here).
    – Did
    Sep 14 '15 at 20:21








  • 1




    For the first direction you can use: If $Acap R=Acap S$ and $P(A)=1$ then: $P(R)=P(Acap R)=P(Acap S)=P(S)$. Now take $A={X=Y}$, $R={Xin B}$ and $S={Yin B}$. If you throw exactly one fair coin and $X$ is the number of heads that fall and $Y$ the number of tails, then $Xneq Y$ but they have the same distribution.
    – drhab
    Sep 14 '15 at 20:35










1




1




FYI, the identity $mathbb P(Xin B)-mathbb P(Yin B)=mathbb P(Xin B setminus Yin B)$ in the question, is wrong in general (and wrong here).
– Did
Sep 14 '15 at 20:21






FYI, the identity $mathbb P(Xin B)-mathbb P(Yin B)=mathbb P(Xin B setminus Yin B)$ in the question, is wrong in general (and wrong here).
– Did
Sep 14 '15 at 20:21






1




1




For the first direction you can use: If $Acap R=Acap S$ and $P(A)=1$ then: $P(R)=P(Acap R)=P(Acap S)=P(S)$. Now take $A={X=Y}$, $R={Xin B}$ and $S={Yin B}$. If you throw exactly one fair coin and $X$ is the number of heads that fall and $Y$ the number of tails, then $Xneq Y$ but they have the same distribution.
– drhab
Sep 14 '15 at 20:35






For the first direction you can use: If $Acap R=Acap S$ and $P(A)=1$ then: $P(R)=P(Acap R)=P(Acap S)=P(S)$. Now take $A={X=Y}$, $R={Xin B}$ and $S={Yin B}$. If you throw exactly one fair coin and $X$ is the number of heads that fall and $Y$ the number of tails, then $Xneq Y$ but they have the same distribution.
– drhab
Sep 14 '15 at 20:35












3 Answers
3






active

oldest

votes


















8














Take $X$ and $Y$ with probabilities $P(X=1)=P(X=2)=P(Y=1)=P(Y=2)=0.5$ and which are independent. Then $$P(X=Y) = P(X=1, Y=1) + P(X=2,Y=2) =\= P(X=1)P(Y=1)+P(Y=2)P(Y=2)=0.5,$$ meaning that $X=Y$ holds with probability $0.5$, not $1$.






share|cite|improve this answer





























    0














    Consider flipping a fair coin. Then $1_H$ and $1_T$ have the same distribution.



    However, they are more than just not equal almost surely ($P(X ne Y)>0$): they are almost surely not equal ($P(X ne Y)=1$)!






    share|cite|improve this answer





























      0














      If $X$ is a random variable following uniform $mathcal U(-1,1)$ distribution, then $X$ and $-X$ are identically distributed, but obviously $X$ and $-X$ are not almost surely equal, in fact $P(X=-X)=0$






      share|cite|improve this answer





















        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%2f738083%2fif-x-and-y-are-equal-almost-surely-then-they-have-the-same-distribution-but-th%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        8














        Take $X$ and $Y$ with probabilities $P(X=1)=P(X=2)=P(Y=1)=P(Y=2)=0.5$ and which are independent. Then $$P(X=Y) = P(X=1, Y=1) + P(X=2,Y=2) =\= P(X=1)P(Y=1)+P(Y=2)P(Y=2)=0.5,$$ meaning that $X=Y$ holds with probability $0.5$, not $1$.






        share|cite|improve this answer


























          8














          Take $X$ and $Y$ with probabilities $P(X=1)=P(X=2)=P(Y=1)=P(Y=2)=0.5$ and which are independent. Then $$P(X=Y) = P(X=1, Y=1) + P(X=2,Y=2) =\= P(X=1)P(Y=1)+P(Y=2)P(Y=2)=0.5,$$ meaning that $X=Y$ holds with probability $0.5$, not $1$.






          share|cite|improve this answer
























            8












            8








            8






            Take $X$ and $Y$ with probabilities $P(X=1)=P(X=2)=P(Y=1)=P(Y=2)=0.5$ and which are independent. Then $$P(X=Y) = P(X=1, Y=1) + P(X=2,Y=2) =\= P(X=1)P(Y=1)+P(Y=2)P(Y=2)=0.5,$$ meaning that $X=Y$ holds with probability $0.5$, not $1$.






            share|cite|improve this answer












            Take $X$ and $Y$ with probabilities $P(X=1)=P(X=2)=P(Y=1)=P(Y=2)=0.5$ and which are independent. Then $$P(X=Y) = P(X=1, Y=1) + P(X=2,Y=2) =\= P(X=1)P(Y=1)+P(Y=2)P(Y=2)=0.5,$$ meaning that $X=Y$ holds with probability $0.5$, not $1$.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Apr 3 '14 at 12:20









            5xum

            89.6k393161




            89.6k393161























                0














                Consider flipping a fair coin. Then $1_H$ and $1_T$ have the same distribution.



                However, they are more than just not equal almost surely ($P(X ne Y)>0$): they are almost surely not equal ($P(X ne Y)=1$)!






                share|cite|improve this answer


























                  0














                  Consider flipping a fair coin. Then $1_H$ and $1_T$ have the same distribution.



                  However, they are more than just not equal almost surely ($P(X ne Y)>0$): they are almost surely not equal ($P(X ne Y)=1$)!






                  share|cite|improve this answer
























                    0












                    0








                    0






                    Consider flipping a fair coin. Then $1_H$ and $1_T$ have the same distribution.



                    However, they are more than just not equal almost surely ($P(X ne Y)>0$): they are almost surely not equal ($P(X ne Y)=1$)!






                    share|cite|improve this answer












                    Consider flipping a fair coin. Then $1_H$ and $1_T$ have the same distribution.



                    However, they are more than just not equal almost surely ($P(X ne Y)>0$): they are almost surely not equal ($P(X ne Y)=1$)!







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered May 15 '18 at 10:54









                    BCLC

                    1




                    1























                        0














                        If $X$ is a random variable following uniform $mathcal U(-1,1)$ distribution, then $X$ and $-X$ are identically distributed, but obviously $X$ and $-X$ are not almost surely equal, in fact $P(X=-X)=0$






                        share|cite|improve this answer


























                          0














                          If $X$ is a random variable following uniform $mathcal U(-1,1)$ distribution, then $X$ and $-X$ are identically distributed, but obviously $X$ and $-X$ are not almost surely equal, in fact $P(X=-X)=0$






                          share|cite|improve this answer
























                            0












                            0








                            0






                            If $X$ is a random variable following uniform $mathcal U(-1,1)$ distribution, then $X$ and $-X$ are identically distributed, but obviously $X$ and $-X$ are not almost surely equal, in fact $P(X=-X)=0$






                            share|cite|improve this answer












                            If $X$ is a random variable following uniform $mathcal U(-1,1)$ distribution, then $X$ and $-X$ are identically distributed, but obviously $X$ and $-X$ are not almost surely equal, in fact $P(X=-X)=0$







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Nov 20 '18 at 23:06









                            user521337

                            9781315




                            9781315






























                                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.





                                Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                Please pay close attention to the following guidance:


                                • 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.


                                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%2f738083%2fif-x-and-y-are-equal-almost-surely-then-they-have-the-same-distribution-but-th%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

                                MongoDB - Not Authorized To Execute Command

                                How to fix TextFormField cause rebuild widget in Flutter

                                in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith