Clarification on mixture of pdf and mixture of cdf












1














I have a question on how to define mixture distributions for continuous random variables. In short, what I'm confused about is whether they can be equivalently written using the cdf (cumulative distribution function) or the pdf (probability density function).



Let me explain my doubt with an example.





Let $Y,X,W$ be real-valued random variables, respectively with supports denoted by $mathcal{Y},mathcal{X},mathcal{W}$.



(A1) Assume that $mathcal{X},mathcal{W}$ are finite.



(A2) Assume that $Y$ is a continuous random variable, with well defined pdf.





Consider now the pdf $f(cdot)$ of $Y$ evaluated at $yin mathcal{Y}$:



$$f(y)=sum_{xin mathcal{X},win mathcal{W}} f(y,x,w)=overbrace{sum_{xin mathcal{X},win mathcal{W}} overbrace{p(x,w)}^{text{Mixing weight}}times overbrace{f(y| X=x, W=w)}^{text{Mixing density}}}^{text{Finite mixture}}
$$

where $p(cdot,cdot)$ is the probability mass function of $(X,W)$.



It seems to me that the pdf of $Y$ can be written as a finite mixture (assuming that $f(y|X=x, W=w)$ is well-defined at each $xin mathcal{X}, win mathcal{W}$).



I don't think though that the same relation holds for the cdf of $Y$. In other words, let $F(cdot)$ denote the cdf of $Y$; I think that
$$
F(y)neq sum_{xin mathcal{X},win mathcal{W}} p(x,w)times F(y| X=x, W=w)
$$



Therefore, I would like you help to understand the following:




  • Can we write $F(cdot)$ as a mixture?


  • If yes, using which weights and what is the relation of those weights with the weights ${p(x,w)}_{x,w}$ used above?


  • If not, why do I have the impression that in the stat literature mixtures are flexibly defined using cdf or pdf, as in this Wikipedia article?











share|cite|improve this question





























    1














    I have a question on how to define mixture distributions for continuous random variables. In short, what I'm confused about is whether they can be equivalently written using the cdf (cumulative distribution function) or the pdf (probability density function).



    Let me explain my doubt with an example.





    Let $Y,X,W$ be real-valued random variables, respectively with supports denoted by $mathcal{Y},mathcal{X},mathcal{W}$.



    (A1) Assume that $mathcal{X},mathcal{W}$ are finite.



    (A2) Assume that $Y$ is a continuous random variable, with well defined pdf.





    Consider now the pdf $f(cdot)$ of $Y$ evaluated at $yin mathcal{Y}$:



    $$f(y)=sum_{xin mathcal{X},win mathcal{W}} f(y,x,w)=overbrace{sum_{xin mathcal{X},win mathcal{W}} overbrace{p(x,w)}^{text{Mixing weight}}times overbrace{f(y| X=x, W=w)}^{text{Mixing density}}}^{text{Finite mixture}}
    $$

    where $p(cdot,cdot)$ is the probability mass function of $(X,W)$.



    It seems to me that the pdf of $Y$ can be written as a finite mixture (assuming that $f(y|X=x, W=w)$ is well-defined at each $xin mathcal{X}, win mathcal{W}$).



    I don't think though that the same relation holds for the cdf of $Y$. In other words, let $F(cdot)$ denote the cdf of $Y$; I think that
    $$
    F(y)neq sum_{xin mathcal{X},win mathcal{W}} p(x,w)times F(y| X=x, W=w)
    $$



    Therefore, I would like you help to understand the following:




    • Can we write $F(cdot)$ as a mixture?


    • If yes, using which weights and what is the relation of those weights with the weights ${p(x,w)}_{x,w}$ used above?


    • If not, why do I have the impression that in the stat literature mixtures are flexibly defined using cdf or pdf, as in this Wikipedia article?











    share|cite|improve this question



























      1












      1








      1


      0





      I have a question on how to define mixture distributions for continuous random variables. In short, what I'm confused about is whether they can be equivalently written using the cdf (cumulative distribution function) or the pdf (probability density function).



      Let me explain my doubt with an example.





      Let $Y,X,W$ be real-valued random variables, respectively with supports denoted by $mathcal{Y},mathcal{X},mathcal{W}$.



      (A1) Assume that $mathcal{X},mathcal{W}$ are finite.



      (A2) Assume that $Y$ is a continuous random variable, with well defined pdf.





      Consider now the pdf $f(cdot)$ of $Y$ evaluated at $yin mathcal{Y}$:



      $$f(y)=sum_{xin mathcal{X},win mathcal{W}} f(y,x,w)=overbrace{sum_{xin mathcal{X},win mathcal{W}} overbrace{p(x,w)}^{text{Mixing weight}}times overbrace{f(y| X=x, W=w)}^{text{Mixing density}}}^{text{Finite mixture}}
      $$

      where $p(cdot,cdot)$ is the probability mass function of $(X,W)$.



      It seems to me that the pdf of $Y$ can be written as a finite mixture (assuming that $f(y|X=x, W=w)$ is well-defined at each $xin mathcal{X}, win mathcal{W}$).



      I don't think though that the same relation holds for the cdf of $Y$. In other words, let $F(cdot)$ denote the cdf of $Y$; I think that
      $$
      F(y)neq sum_{xin mathcal{X},win mathcal{W}} p(x,w)times F(y| X=x, W=w)
      $$



      Therefore, I would like you help to understand the following:




      • Can we write $F(cdot)$ as a mixture?


      • If yes, using which weights and what is the relation of those weights with the weights ${p(x,w)}_{x,w}$ used above?


      • If not, why do I have the impression that in the stat literature mixtures are flexibly defined using cdf or pdf, as in this Wikipedia article?











      share|cite|improve this question















      I have a question on how to define mixture distributions for continuous random variables. In short, what I'm confused about is whether they can be equivalently written using the cdf (cumulative distribution function) or the pdf (probability density function).



      Let me explain my doubt with an example.





      Let $Y,X,W$ be real-valued random variables, respectively with supports denoted by $mathcal{Y},mathcal{X},mathcal{W}$.



      (A1) Assume that $mathcal{X},mathcal{W}$ are finite.



      (A2) Assume that $Y$ is a continuous random variable, with well defined pdf.





      Consider now the pdf $f(cdot)$ of $Y$ evaluated at $yin mathcal{Y}$:



      $$f(y)=sum_{xin mathcal{X},win mathcal{W}} f(y,x,w)=overbrace{sum_{xin mathcal{X},win mathcal{W}} overbrace{p(x,w)}^{text{Mixing weight}}times overbrace{f(y| X=x, W=w)}^{text{Mixing density}}}^{text{Finite mixture}}
      $$

      where $p(cdot,cdot)$ is the probability mass function of $(X,W)$.



      It seems to me that the pdf of $Y$ can be written as a finite mixture (assuming that $f(y|X=x, W=w)$ is well-defined at each $xin mathcal{X}, win mathcal{W}$).



      I don't think though that the same relation holds for the cdf of $Y$. In other words, let $F(cdot)$ denote the cdf of $Y$; I think that
      $$
      F(y)neq sum_{xin mathcal{X},win mathcal{W}} p(x,w)times F(y| X=x, W=w)
      $$



      Therefore, I would like you help to understand the following:




      • Can we write $F(cdot)$ as a mixture?


      • If yes, using which weights and what is the relation of those weights with the weights ${p(x,w)}_{x,w}$ used above?


      • If not, why do I have the impression that in the stat literature mixtures are flexibly defined using cdf or pdf, as in this Wikipedia article?








      probability probability-theory probability-distributions random-variables conditional-probability






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 28 '18 at 15:30







      STF

















      asked Dec 28 '18 at 15:12









      STFSTF

      801420




      801420






















          1 Answer
          1






          active

          oldest

          votes


















          2














          For any Borel set $B$ we can write:$$P(Yin B)=sum_{xin mathcal{X},win mathcal{W}}P(X=x,W=w)P(Yin Bmid X=x,W=w)=sum_{xin mathcal{X},win mathcal{W}}p(x,w)P_{x,w}(B)$$



          Doing so for $B=(-infty,y]$ we find something like:



          $$F_Y(y)=sum_{xin mathcal{X},win mathcal{W}}p(x,w)F_{x,w}(y)$$where every $F_{x,w}$ can be recognized as a CDF.






          share|cite|improve this answer





















          • Thanks. From your claim, I understand that I can write BOTH (1) $f(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) f(y|X=x, W=w)$ (i.e., the mixture with the pdf) and (2) $F(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) F(y|X=x, W=w)$ (i.e., the mixture with the cdf). Notice that (1) and (2) use the same mixing weights. Correct?
            – STF
            Dec 28 '18 at 15:43






          • 1




            Yes, that is correct.
            – drhab
            Dec 28 '18 at 15:44











          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%2f3054972%2fclarification-on-mixture-of-pdf-and-mixture-of-cdf%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









          2














          For any Borel set $B$ we can write:$$P(Yin B)=sum_{xin mathcal{X},win mathcal{W}}P(X=x,W=w)P(Yin Bmid X=x,W=w)=sum_{xin mathcal{X},win mathcal{W}}p(x,w)P_{x,w}(B)$$



          Doing so for $B=(-infty,y]$ we find something like:



          $$F_Y(y)=sum_{xin mathcal{X},win mathcal{W}}p(x,w)F_{x,w}(y)$$where every $F_{x,w}$ can be recognized as a CDF.






          share|cite|improve this answer





















          • Thanks. From your claim, I understand that I can write BOTH (1) $f(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) f(y|X=x, W=w)$ (i.e., the mixture with the pdf) and (2) $F(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) F(y|X=x, W=w)$ (i.e., the mixture with the cdf). Notice that (1) and (2) use the same mixing weights. Correct?
            – STF
            Dec 28 '18 at 15:43






          • 1




            Yes, that is correct.
            – drhab
            Dec 28 '18 at 15:44
















          2














          For any Borel set $B$ we can write:$$P(Yin B)=sum_{xin mathcal{X},win mathcal{W}}P(X=x,W=w)P(Yin Bmid X=x,W=w)=sum_{xin mathcal{X},win mathcal{W}}p(x,w)P_{x,w}(B)$$



          Doing so for $B=(-infty,y]$ we find something like:



          $$F_Y(y)=sum_{xin mathcal{X},win mathcal{W}}p(x,w)F_{x,w}(y)$$where every $F_{x,w}$ can be recognized as a CDF.






          share|cite|improve this answer





















          • Thanks. From your claim, I understand that I can write BOTH (1) $f(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) f(y|X=x, W=w)$ (i.e., the mixture with the pdf) and (2) $F(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) F(y|X=x, W=w)$ (i.e., the mixture with the cdf). Notice that (1) and (2) use the same mixing weights. Correct?
            – STF
            Dec 28 '18 at 15:43






          • 1




            Yes, that is correct.
            – drhab
            Dec 28 '18 at 15:44














          2












          2








          2






          For any Borel set $B$ we can write:$$P(Yin B)=sum_{xin mathcal{X},win mathcal{W}}P(X=x,W=w)P(Yin Bmid X=x,W=w)=sum_{xin mathcal{X},win mathcal{W}}p(x,w)P_{x,w}(B)$$



          Doing so for $B=(-infty,y]$ we find something like:



          $$F_Y(y)=sum_{xin mathcal{X},win mathcal{W}}p(x,w)F_{x,w}(y)$$where every $F_{x,w}$ can be recognized as a CDF.






          share|cite|improve this answer












          For any Borel set $B$ we can write:$$P(Yin B)=sum_{xin mathcal{X},win mathcal{W}}P(X=x,W=w)P(Yin Bmid X=x,W=w)=sum_{xin mathcal{X},win mathcal{W}}p(x,w)P_{x,w}(B)$$



          Doing so for $B=(-infty,y]$ we find something like:



          $$F_Y(y)=sum_{xin mathcal{X},win mathcal{W}}p(x,w)F_{x,w}(y)$$where every $F_{x,w}$ can be recognized as a CDF.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Dec 28 '18 at 15:41









          drhabdrhab

          98.4k544129




          98.4k544129












          • Thanks. From your claim, I understand that I can write BOTH (1) $f(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) f(y|X=x, W=w)$ (i.e., the mixture with the pdf) and (2) $F(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) F(y|X=x, W=w)$ (i.e., the mixture with the cdf). Notice that (1) and (2) use the same mixing weights. Correct?
            – STF
            Dec 28 '18 at 15:43






          • 1




            Yes, that is correct.
            – drhab
            Dec 28 '18 at 15:44


















          • Thanks. From your claim, I understand that I can write BOTH (1) $f(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) f(y|X=x, W=w)$ (i.e., the mixture with the pdf) and (2) $F(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) F(y|X=x, W=w)$ (i.e., the mixture with the cdf). Notice that (1) and (2) use the same mixing weights. Correct?
            – STF
            Dec 28 '18 at 15:43






          • 1




            Yes, that is correct.
            – drhab
            Dec 28 '18 at 15:44
















          Thanks. From your claim, I understand that I can write BOTH (1) $f(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) f(y|X=x, W=w)$ (i.e., the mixture with the pdf) and (2) $F(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) F(y|X=x, W=w)$ (i.e., the mixture with the cdf). Notice that (1) and (2) use the same mixing weights. Correct?
          – STF
          Dec 28 '18 at 15:43




          Thanks. From your claim, I understand that I can write BOTH (1) $f(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) f(y|X=x, W=w)$ (i.e., the mixture with the pdf) and (2) $F(y)=sum_{xin mathcal{X}, win mathcal{W}} p(x,w) F(y|X=x, W=w)$ (i.e., the mixture with the cdf). Notice that (1) and (2) use the same mixing weights. Correct?
          – STF
          Dec 28 '18 at 15:43




          1




          1




          Yes, that is correct.
          – drhab
          Dec 28 '18 at 15:44




          Yes, that is correct.
          – drhab
          Dec 28 '18 at 15:44


















          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%2f3054972%2fclarification-on-mixture-of-pdf-and-mixture-of-cdf%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

          Human spaceflight

          Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

          File:DeusFollowingSea.jpg