Let $X$ and $Y$ be i.i.d. $operatorname{Geom}(p)$, and $N = X + Y$. Find the joint PMF of $X, Y, N$












1












$begingroup$



Let $X$ and $Y$ be i.i.d. $operatorname{Geom}(p)$, and $N = X + Y$. Find the joint PMF of $X, Y, N$.




I have generally difficulties with such problems, as I get easily confused. Below I detailed my (most probability incorrect) approach. Besides the correct approach, I also would like to have some more general advice on how to think about and tackle such problems.



The random variables $X$ and $Y$ have geometric distributions, so $P(X=x)=(1-p)^xp$ and $P(Y=y)=(1-p)^yp$. I also know that the sum of two i.i.d. geometric random variables has a negative binomial distribution, thus $P(N=n) = binom{n+r-1}{n} (1-p)^n p^r$, where $r$ is the number of success. In our case $r=2$, as we are dealing with the sum of two random variables. Hence, $P(N=n) = (n+1)(1-p)^n p^2$.



I'm asked to find $P(X=x, Y=y, N=n)$. I don't know how to write that down, so I condition on $N=n$ and write



begin{align}
P(X=x, Y=y, N=n) &= P(X=x, Y=y mid N=n)P(N=n) \
&= P(X=x, Y=y mid N=x+y)P(N=n),
end{align}
because I know that $n=x+y$. But conditional on $N=x+y$, $X=x$ and $Y=y$ are the same event. Thus,



begin{align}
P(X=x, Y=y, N=n) &= P(X=x mid N=x+y)P(N=n)
end{align}



I can assume that $X$ is the number of failures till the first of both successes, otherwise I could just consider $P(Y=y mid N=x+y)$. The probability that there are $X=x$ failures till the frist success, given that there are in total $N=x+y$ failures is the same is having the first success between the $x^{th}$ and $(x+1)^{th}$ failure. As both $X$ and $Y$ have the same probability of success, the probability of this to happen is $frac{1}{x+y+1}$. Hence,



begin{align}
P(X=x, Y=y, N=n) &= frac{1}{x+y+1} (n+1)(1-p)^n p^r \
&= (1-p)^n p^2.
end{align}



But this looks like nonsense.










share|cite|improve this question











$endgroup$

















    1












    $begingroup$



    Let $X$ and $Y$ be i.i.d. $operatorname{Geom}(p)$, and $N = X + Y$. Find the joint PMF of $X, Y, N$.




    I have generally difficulties with such problems, as I get easily confused. Below I detailed my (most probability incorrect) approach. Besides the correct approach, I also would like to have some more general advice on how to think about and tackle such problems.



    The random variables $X$ and $Y$ have geometric distributions, so $P(X=x)=(1-p)^xp$ and $P(Y=y)=(1-p)^yp$. I also know that the sum of two i.i.d. geometric random variables has a negative binomial distribution, thus $P(N=n) = binom{n+r-1}{n} (1-p)^n p^r$, where $r$ is the number of success. In our case $r=2$, as we are dealing with the sum of two random variables. Hence, $P(N=n) = (n+1)(1-p)^n p^2$.



    I'm asked to find $P(X=x, Y=y, N=n)$. I don't know how to write that down, so I condition on $N=n$ and write



    begin{align}
    P(X=x, Y=y, N=n) &= P(X=x, Y=y mid N=n)P(N=n) \
    &= P(X=x, Y=y mid N=x+y)P(N=n),
    end{align}
    because I know that $n=x+y$. But conditional on $N=x+y$, $X=x$ and $Y=y$ are the same event. Thus,



    begin{align}
    P(X=x, Y=y, N=n) &= P(X=x mid N=x+y)P(N=n)
    end{align}



    I can assume that $X$ is the number of failures till the first of both successes, otherwise I could just consider $P(Y=y mid N=x+y)$. The probability that there are $X=x$ failures till the frist success, given that there are in total $N=x+y$ failures is the same is having the first success between the $x^{th}$ and $(x+1)^{th}$ failure. As both $X$ and $Y$ have the same probability of success, the probability of this to happen is $frac{1}{x+y+1}$. Hence,



    begin{align}
    P(X=x, Y=y, N=n) &= frac{1}{x+y+1} (n+1)(1-p)^n p^r \
    &= (1-p)^n p^2.
    end{align}



    But this looks like nonsense.










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $begingroup$



      Let $X$ and $Y$ be i.i.d. $operatorname{Geom}(p)$, and $N = X + Y$. Find the joint PMF of $X, Y, N$.




      I have generally difficulties with such problems, as I get easily confused. Below I detailed my (most probability incorrect) approach. Besides the correct approach, I also would like to have some more general advice on how to think about and tackle such problems.



      The random variables $X$ and $Y$ have geometric distributions, so $P(X=x)=(1-p)^xp$ and $P(Y=y)=(1-p)^yp$. I also know that the sum of two i.i.d. geometric random variables has a negative binomial distribution, thus $P(N=n) = binom{n+r-1}{n} (1-p)^n p^r$, where $r$ is the number of success. In our case $r=2$, as we are dealing with the sum of two random variables. Hence, $P(N=n) = (n+1)(1-p)^n p^2$.



      I'm asked to find $P(X=x, Y=y, N=n)$. I don't know how to write that down, so I condition on $N=n$ and write



      begin{align}
      P(X=x, Y=y, N=n) &= P(X=x, Y=y mid N=n)P(N=n) \
      &= P(X=x, Y=y mid N=x+y)P(N=n),
      end{align}
      because I know that $n=x+y$. But conditional on $N=x+y$, $X=x$ and $Y=y$ are the same event. Thus,



      begin{align}
      P(X=x, Y=y, N=n) &= P(X=x mid N=x+y)P(N=n)
      end{align}



      I can assume that $X$ is the number of failures till the first of both successes, otherwise I could just consider $P(Y=y mid N=x+y)$. The probability that there are $X=x$ failures till the frist success, given that there are in total $N=x+y$ failures is the same is having the first success between the $x^{th}$ and $(x+1)^{th}$ failure. As both $X$ and $Y$ have the same probability of success, the probability of this to happen is $frac{1}{x+y+1}$. Hence,



      begin{align}
      P(X=x, Y=y, N=n) &= frac{1}{x+y+1} (n+1)(1-p)^n p^r \
      &= (1-p)^n p^2.
      end{align}



      But this looks like nonsense.










      share|cite|improve this question











      $endgroup$





      Let $X$ and $Y$ be i.i.d. $operatorname{Geom}(p)$, and $N = X + Y$. Find the joint PMF of $X, Y, N$.




      I have generally difficulties with such problems, as I get easily confused. Below I detailed my (most probability incorrect) approach. Besides the correct approach, I also would like to have some more general advice on how to think about and tackle such problems.



      The random variables $X$ and $Y$ have geometric distributions, so $P(X=x)=(1-p)^xp$ and $P(Y=y)=(1-p)^yp$. I also know that the sum of two i.i.d. geometric random variables has a negative binomial distribution, thus $P(N=n) = binom{n+r-1}{n} (1-p)^n p^r$, where $r$ is the number of success. In our case $r=2$, as we are dealing with the sum of two random variables. Hence, $P(N=n) = (n+1)(1-p)^n p^2$.



      I'm asked to find $P(X=x, Y=y, N=n)$. I don't know how to write that down, so I condition on $N=n$ and write



      begin{align}
      P(X=x, Y=y, N=n) &= P(X=x, Y=y mid N=n)P(N=n) \
      &= P(X=x, Y=y mid N=x+y)P(N=n),
      end{align}
      because I know that $n=x+y$. But conditional on $N=x+y$, $X=x$ and $Y=y$ are the same event. Thus,



      begin{align}
      P(X=x, Y=y, N=n) &= P(X=x mid N=x+y)P(N=n)
      end{align}



      I can assume that $X$ is the number of failures till the first of both successes, otherwise I could just consider $P(Y=y mid N=x+y)$. The probability that there are $X=x$ failures till the frist success, given that there are in total $N=x+y$ failures is the same is having the first success between the $x^{th}$ and $(x+1)^{th}$ failure. As both $X$ and $Y$ have the same probability of success, the probability of this to happen is $frac{1}{x+y+1}$. Hence,



      begin{align}
      P(X=x, Y=y, N=n) &= frac{1}{x+y+1} (n+1)(1-p)^n p^r \
      &= (1-p)^n p^2.
      end{align}



      But this looks like nonsense.







      probability solution-verification






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 30 '14 at 15:03







      NoBackingDown

















      asked Dec 30 '14 at 14:55









      NoBackingDownNoBackingDown

      8021233




      8021233






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          Hint::
          $$P(X=x,Y=y,N=n) = begin{cases}P(X = x, Y = y) & text{if }x+y=n \ 0 & text{otherwise}end{cases}$$






          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%2f1085668%2flet-x-and-y-be-i-i-d-operatornamegeomp-and-n-x-y-find-the-jo%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









            0












            $begingroup$

            Hint::
            $$P(X=x,Y=y,N=n) = begin{cases}P(X = x, Y = y) & text{if }x+y=n \ 0 & text{otherwise}end{cases}$$






            share|cite|improve this answer









            $endgroup$


















              0












              $begingroup$

              Hint::
              $$P(X=x,Y=y,N=n) = begin{cases}P(X = x, Y = y) & text{if }x+y=n \ 0 & text{otherwise}end{cases}$$






              share|cite|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                Hint::
                $$P(X=x,Y=y,N=n) = begin{cases}P(X = x, Y = y) & text{if }x+y=n \ 0 & text{otherwise}end{cases}$$






                share|cite|improve this answer









                $endgroup$



                Hint::
                $$P(X=x,Y=y,N=n) = begin{cases}P(X = x, Y = y) & text{if }x+y=n \ 0 & text{otherwise}end{cases}$$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 30 '14 at 15:07









                ronnoronno

                4,9051740




                4,9051740






























                    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%2f1085668%2flet-x-and-y-be-i-i-d-operatornamegeomp-and-n-x-y-find-the-jo%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

                    To store a contact into the json file from server.js file using a class in NodeJS

                    Redirect URL with Chrome Remote Debugging Android Devices

                    Dieringhausen