If $X,Y sim chi ^2$ with $m$ and $n$ degrees of freedom, then $frac{X}{X+Y} = beta(m/2, n/2)$












1














I was reading https://en.wikipedia.org/wiki/Ratio_distribution#Other_ratio_distributions and I find the following problem:
Let $X$ and $Y$ be $chi ^2 $ with $m$ and $n$ degrees of freedom then $dfrac{X}{X+Y} = beta(m/2, n/2)$. Where $chi^2(k)$ has density function $$f_{chi^2(k)}(x)=begin{cases}displaystyle
frac{1}{2^{k/2}Gamma(k/2)},x^{(k/2) - 1} e^{-x/2}&text{if }x>0,\
0&text{if }xle0
end{cases} $$



I proved that $X+Y$ is $chi ^2$ with $n + m$ degrees of freedom using the moment-generating function. If $Z=X+Y$ and $U=dfrac{X}{X+Y}=dfrac{X}{Z}$ using the formula for the density of the ratio of two independent random variables:
$$f_U(u)= int_{-infty}^{infty}f_X(uv)f_Z(v)|v|dv $$



then



$$dfrac{u^{m/2-1}}{2^{(m+n/2)} Gamma(m/2) Gamma((m+n)/2)} int_0^{infty} v^{m+dfrac{n}{2}-1} e^{-(v/2)(u+1)}dv $$



and using some algebra:



$$f_U(u)=dfrac{u^{m/2-1} Gamma(m+n/2)}{Gamma(m+n/2) Gamma(m/2) (u+1)^{m+n/2}}$$



and this is not $beta(m/2, n/2)$, it looks more like $beta(m/2, m/2+n/2)$ but $(u+1)^{m+n/2}$ is causing troubles.



I need help if something is false or any hint.










share|cite|improve this question
























  • It is better to give the expression of $chi ^2 $, might help for the reader.
    – Frey
    May 3 '17 at 7:56








  • 4




    I'm pretty sure $X$ and $Z$ are not independent.
    – Em.
    May 3 '17 at 7:58










  • Thank you, the mistake was to consider $X$ and $Z$ independent
    – Mike A.
    May 3 '17 at 9:36
















1














I was reading https://en.wikipedia.org/wiki/Ratio_distribution#Other_ratio_distributions and I find the following problem:
Let $X$ and $Y$ be $chi ^2 $ with $m$ and $n$ degrees of freedom then $dfrac{X}{X+Y} = beta(m/2, n/2)$. Where $chi^2(k)$ has density function $$f_{chi^2(k)}(x)=begin{cases}displaystyle
frac{1}{2^{k/2}Gamma(k/2)},x^{(k/2) - 1} e^{-x/2}&text{if }x>0,\
0&text{if }xle0
end{cases} $$



I proved that $X+Y$ is $chi ^2$ with $n + m$ degrees of freedom using the moment-generating function. If $Z=X+Y$ and $U=dfrac{X}{X+Y}=dfrac{X}{Z}$ using the formula for the density of the ratio of two independent random variables:
$$f_U(u)= int_{-infty}^{infty}f_X(uv)f_Z(v)|v|dv $$



then



$$dfrac{u^{m/2-1}}{2^{(m+n/2)} Gamma(m/2) Gamma((m+n)/2)} int_0^{infty} v^{m+dfrac{n}{2}-1} e^{-(v/2)(u+1)}dv $$



and using some algebra:



$$f_U(u)=dfrac{u^{m/2-1} Gamma(m+n/2)}{Gamma(m+n/2) Gamma(m/2) (u+1)^{m+n/2}}$$



and this is not $beta(m/2, n/2)$, it looks more like $beta(m/2, m/2+n/2)$ but $(u+1)^{m+n/2}$ is causing troubles.



I need help if something is false or any hint.










share|cite|improve this question
























  • It is better to give the expression of $chi ^2 $, might help for the reader.
    – Frey
    May 3 '17 at 7:56








  • 4




    I'm pretty sure $X$ and $Z$ are not independent.
    – Em.
    May 3 '17 at 7:58










  • Thank you, the mistake was to consider $X$ and $Z$ independent
    – Mike A.
    May 3 '17 at 9:36














1












1








1


1





I was reading https://en.wikipedia.org/wiki/Ratio_distribution#Other_ratio_distributions and I find the following problem:
Let $X$ and $Y$ be $chi ^2 $ with $m$ and $n$ degrees of freedom then $dfrac{X}{X+Y} = beta(m/2, n/2)$. Where $chi^2(k)$ has density function $$f_{chi^2(k)}(x)=begin{cases}displaystyle
frac{1}{2^{k/2}Gamma(k/2)},x^{(k/2) - 1} e^{-x/2}&text{if }x>0,\
0&text{if }xle0
end{cases} $$



I proved that $X+Y$ is $chi ^2$ with $n + m$ degrees of freedom using the moment-generating function. If $Z=X+Y$ and $U=dfrac{X}{X+Y}=dfrac{X}{Z}$ using the formula for the density of the ratio of two independent random variables:
$$f_U(u)= int_{-infty}^{infty}f_X(uv)f_Z(v)|v|dv $$



then



$$dfrac{u^{m/2-1}}{2^{(m+n/2)} Gamma(m/2) Gamma((m+n)/2)} int_0^{infty} v^{m+dfrac{n}{2}-1} e^{-(v/2)(u+1)}dv $$



and using some algebra:



$$f_U(u)=dfrac{u^{m/2-1} Gamma(m+n/2)}{Gamma(m+n/2) Gamma(m/2) (u+1)^{m+n/2}}$$



and this is not $beta(m/2, n/2)$, it looks more like $beta(m/2, m/2+n/2)$ but $(u+1)^{m+n/2}$ is causing troubles.



I need help if something is false or any hint.










share|cite|improve this question















I was reading https://en.wikipedia.org/wiki/Ratio_distribution#Other_ratio_distributions and I find the following problem:
Let $X$ and $Y$ be $chi ^2 $ with $m$ and $n$ degrees of freedom then $dfrac{X}{X+Y} = beta(m/2, n/2)$. Where $chi^2(k)$ has density function $$f_{chi^2(k)}(x)=begin{cases}displaystyle
frac{1}{2^{k/2}Gamma(k/2)},x^{(k/2) - 1} e^{-x/2}&text{if }x>0,\
0&text{if }xle0
end{cases} $$



I proved that $X+Y$ is $chi ^2$ with $n + m$ degrees of freedom using the moment-generating function. If $Z=X+Y$ and $U=dfrac{X}{X+Y}=dfrac{X}{Z}$ using the formula for the density of the ratio of two independent random variables:
$$f_U(u)= int_{-infty}^{infty}f_X(uv)f_Z(v)|v|dv $$



then



$$dfrac{u^{m/2-1}}{2^{(m+n/2)} Gamma(m/2) Gamma((m+n)/2)} int_0^{infty} v^{m+dfrac{n}{2}-1} e^{-(v/2)(u+1)}dv $$



and using some algebra:



$$f_U(u)=dfrac{u^{m/2-1} Gamma(m+n/2)}{Gamma(m+n/2) Gamma(m/2) (u+1)^{m+n/2}}$$



and this is not $beta(m/2, n/2)$, it looks more like $beta(m/2, m/2+n/2)$ but $(u+1)^{m+n/2}$ is causing troubles.



I need help if something is false or any hint.







probability probability-distributions random-variables density-function






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 20 at 15:59









StubbornAtom

5,26711138




5,26711138










asked May 3 '17 at 7:50









Mike A.

567414




567414












  • It is better to give the expression of $chi ^2 $, might help for the reader.
    – Frey
    May 3 '17 at 7:56








  • 4




    I'm pretty sure $X$ and $Z$ are not independent.
    – Em.
    May 3 '17 at 7:58










  • Thank you, the mistake was to consider $X$ and $Z$ independent
    – Mike A.
    May 3 '17 at 9:36


















  • It is better to give the expression of $chi ^2 $, might help for the reader.
    – Frey
    May 3 '17 at 7:56








  • 4




    I'm pretty sure $X$ and $Z$ are not independent.
    – Em.
    May 3 '17 at 7:58










  • Thank you, the mistake was to consider $X$ and $Z$ independent
    – Mike A.
    May 3 '17 at 9:36
















It is better to give the expression of $chi ^2 $, might help for the reader.
– Frey
May 3 '17 at 7:56






It is better to give the expression of $chi ^2 $, might help for the reader.
– Frey
May 3 '17 at 7:56






4




4




I'm pretty sure $X$ and $Z$ are not independent.
– Em.
May 3 '17 at 7:58




I'm pretty sure $X$ and $Z$ are not independent.
– Em.
May 3 '17 at 7:58












Thank you, the mistake was to consider $X$ and $Z$ independent
– Mike A.
May 3 '17 at 9:36




Thank you, the mistake was to consider $X$ and $Z$ independent
– Mike A.
May 3 '17 at 9:36










2 Answers
2






active

oldest

votes


















0














I may start as follows, then you do not need to worry about the dependency:
begin{equation}
label{eq_cd}
begin{split}
F_{U}(u)
=&{mathbb P}left[frac{X}{X+Y} leq uright] ={mathbb P}left[Ygeq frac{(1-u)X}{u}right] \
=& 1-int_{0}^{infty}F_Yleft(frac{(1-u)x}{u}right)f_{X}(x) dx \
end{split}
end{equation}
Since you know both CDF and PDF of $chi^2$, you can evaluate $F_{U}(u)$ which may be with $_2 F_1(.,.,.,.)$ funtion. However, you may write $_2 F_1(.,.,.,.)$ with $B(.,.)$ function, if you really need it.



Then, you can find $f_{U}(u)=frac{d }{du}F_{U}(u)$.






share|cite|improve this answer





























    0














    Let $X sim chi^2(m)$ and $Y sim chi^2(n)$, and let $T(X,Y)=(U,V)$ be a transformation such that $T_1(X,Y)=U=frac{X}{X+Y}$ and $T_2(X,Y)=V=X+Y$, then $T^{-1}_1(U,V)=X= UV$ and $T^{-1}_2(U,V)=Y=V-UV$. Then $ |J_{T^{-1}}|=|V| $. $X$ and $Y$ are independent then the joint density function is:



    $$ f_{X,Y}(x,y)=frac{(1/2)^{m/2}}{Gamma(m/2)}x^{m/2 -1} e^{-x/2} frac{(1/2)^{n/2}}{Gamma(n/2)}y^{n/2 -1} e^{-y/2} $$



    for $x, y geq 0$ and $0$ in other case.



    Then, by the theorem of change of variable we have:



    $$f_U(u)= int_{-infty}^{infty} frac{(1/2)^{m/2+n/2}}{Gamma(m/2) Gamma(n/2)} (uv)^{m/2-1}(v-uv)^{n/2-1}e^{-uv/2-(v-uv)/2} |v|dv $$



    We have $v=x+y$ then $f_U$ is $0$ for $v < 0$ then we can consider the integral only in the interval $(0, infty)$ and $|v|=v$, also $u=frac{x}{x+y}$ then $0 leq u leq 1$. With some algebra:



    $$f_U(u)= frac{(1/2)^{m/2+n/2}}{Gamma(m/2) Gamma(n/2)} u^{m/2-1} (1-u)^{n/2-1} int_{0}^{infty} v^{m/2+n/2-1}e^{-v/2} dv $$



    If $w=v/2$ and we make the change of variable in the integral we obtain:
    $$int_{0}^{infty} v^{m/2+n/2-1}e^{-v/2} dv = 2^{m/2+n/2} Gamma(m/2+n/2)$$



    Hence,
    $$f_U(u)=frac{ Gamma(m/2+n/2) }{Gamma(m/2) Gamma(n/2)} u^{m/2-1} (1-u)^{n/2-1} =dfrac{u^{m/2-1} (1-u)^{n/2-1}}{B(m/2,n/2)}$$



    in the interval $[0,1]$, and this is the density function of the Beta distribution.






    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%2f2263496%2fif-x-y-sim-chi-2-with-m-and-n-degrees-of-freedom-then-fracxxy%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      I may start as follows, then you do not need to worry about the dependency:
      begin{equation}
      label{eq_cd}
      begin{split}
      F_{U}(u)
      =&{mathbb P}left[frac{X}{X+Y} leq uright] ={mathbb P}left[Ygeq frac{(1-u)X}{u}right] \
      =& 1-int_{0}^{infty}F_Yleft(frac{(1-u)x}{u}right)f_{X}(x) dx \
      end{split}
      end{equation}
      Since you know both CDF and PDF of $chi^2$, you can evaluate $F_{U}(u)$ which may be with $_2 F_1(.,.,.,.)$ funtion. However, you may write $_2 F_1(.,.,.,.)$ with $B(.,.)$ function, if you really need it.



      Then, you can find $f_{U}(u)=frac{d }{du}F_{U}(u)$.






      share|cite|improve this answer


























        0














        I may start as follows, then you do not need to worry about the dependency:
        begin{equation}
        label{eq_cd}
        begin{split}
        F_{U}(u)
        =&{mathbb P}left[frac{X}{X+Y} leq uright] ={mathbb P}left[Ygeq frac{(1-u)X}{u}right] \
        =& 1-int_{0}^{infty}F_Yleft(frac{(1-u)x}{u}right)f_{X}(x) dx \
        end{split}
        end{equation}
        Since you know both CDF and PDF of $chi^2$, you can evaluate $F_{U}(u)$ which may be with $_2 F_1(.,.,.,.)$ funtion. However, you may write $_2 F_1(.,.,.,.)$ with $B(.,.)$ function, if you really need it.



        Then, you can find $f_{U}(u)=frac{d }{du}F_{U}(u)$.






        share|cite|improve this answer
























          0












          0








          0






          I may start as follows, then you do not need to worry about the dependency:
          begin{equation}
          label{eq_cd}
          begin{split}
          F_{U}(u)
          =&{mathbb P}left[frac{X}{X+Y} leq uright] ={mathbb P}left[Ygeq frac{(1-u)X}{u}right] \
          =& 1-int_{0}^{infty}F_Yleft(frac{(1-u)x}{u}right)f_{X}(x) dx \
          end{split}
          end{equation}
          Since you know both CDF and PDF of $chi^2$, you can evaluate $F_{U}(u)$ which may be with $_2 F_1(.,.,.,.)$ funtion. However, you may write $_2 F_1(.,.,.,.)$ with $B(.,.)$ function, if you really need it.



          Then, you can find $f_{U}(u)=frac{d }{du}F_{U}(u)$.






          share|cite|improve this answer












          I may start as follows, then you do not need to worry about the dependency:
          begin{equation}
          label{eq_cd}
          begin{split}
          F_{U}(u)
          =&{mathbb P}left[frac{X}{X+Y} leq uright] ={mathbb P}left[Ygeq frac{(1-u)X}{u}right] \
          =& 1-int_{0}^{infty}F_Yleft(frac{(1-u)x}{u}right)f_{X}(x) dx \
          end{split}
          end{equation}
          Since you know both CDF and PDF of $chi^2$, you can evaluate $F_{U}(u)$ which may be with $_2 F_1(.,.,.,.)$ funtion. However, you may write $_2 F_1(.,.,.,.)$ with $B(.,.)$ function, if you really need it.



          Then, you can find $f_{U}(u)=frac{d }{du}F_{U}(u)$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered May 3 '17 at 8:24









          Frey

          648312




          648312























              0














              Let $X sim chi^2(m)$ and $Y sim chi^2(n)$, and let $T(X,Y)=(U,V)$ be a transformation such that $T_1(X,Y)=U=frac{X}{X+Y}$ and $T_2(X,Y)=V=X+Y$, then $T^{-1}_1(U,V)=X= UV$ and $T^{-1}_2(U,V)=Y=V-UV$. Then $ |J_{T^{-1}}|=|V| $. $X$ and $Y$ are independent then the joint density function is:



              $$ f_{X,Y}(x,y)=frac{(1/2)^{m/2}}{Gamma(m/2)}x^{m/2 -1} e^{-x/2} frac{(1/2)^{n/2}}{Gamma(n/2)}y^{n/2 -1} e^{-y/2} $$



              for $x, y geq 0$ and $0$ in other case.



              Then, by the theorem of change of variable we have:



              $$f_U(u)= int_{-infty}^{infty} frac{(1/2)^{m/2+n/2}}{Gamma(m/2) Gamma(n/2)} (uv)^{m/2-1}(v-uv)^{n/2-1}e^{-uv/2-(v-uv)/2} |v|dv $$



              We have $v=x+y$ then $f_U$ is $0$ for $v < 0$ then we can consider the integral only in the interval $(0, infty)$ and $|v|=v$, also $u=frac{x}{x+y}$ then $0 leq u leq 1$. With some algebra:



              $$f_U(u)= frac{(1/2)^{m/2+n/2}}{Gamma(m/2) Gamma(n/2)} u^{m/2-1} (1-u)^{n/2-1} int_{0}^{infty} v^{m/2+n/2-1}e^{-v/2} dv $$



              If $w=v/2$ and we make the change of variable in the integral we obtain:
              $$int_{0}^{infty} v^{m/2+n/2-1}e^{-v/2} dv = 2^{m/2+n/2} Gamma(m/2+n/2)$$



              Hence,
              $$f_U(u)=frac{ Gamma(m/2+n/2) }{Gamma(m/2) Gamma(n/2)} u^{m/2-1} (1-u)^{n/2-1} =dfrac{u^{m/2-1} (1-u)^{n/2-1}}{B(m/2,n/2)}$$



              in the interval $[0,1]$, and this is the density function of the Beta distribution.






              share|cite|improve this answer


























                0














                Let $X sim chi^2(m)$ and $Y sim chi^2(n)$, and let $T(X,Y)=(U,V)$ be a transformation such that $T_1(X,Y)=U=frac{X}{X+Y}$ and $T_2(X,Y)=V=X+Y$, then $T^{-1}_1(U,V)=X= UV$ and $T^{-1}_2(U,V)=Y=V-UV$. Then $ |J_{T^{-1}}|=|V| $. $X$ and $Y$ are independent then the joint density function is:



                $$ f_{X,Y}(x,y)=frac{(1/2)^{m/2}}{Gamma(m/2)}x^{m/2 -1} e^{-x/2} frac{(1/2)^{n/2}}{Gamma(n/2)}y^{n/2 -1} e^{-y/2} $$



                for $x, y geq 0$ and $0$ in other case.



                Then, by the theorem of change of variable we have:



                $$f_U(u)= int_{-infty}^{infty} frac{(1/2)^{m/2+n/2}}{Gamma(m/2) Gamma(n/2)} (uv)^{m/2-1}(v-uv)^{n/2-1}e^{-uv/2-(v-uv)/2} |v|dv $$



                We have $v=x+y$ then $f_U$ is $0$ for $v < 0$ then we can consider the integral only in the interval $(0, infty)$ and $|v|=v$, also $u=frac{x}{x+y}$ then $0 leq u leq 1$. With some algebra:



                $$f_U(u)= frac{(1/2)^{m/2+n/2}}{Gamma(m/2) Gamma(n/2)} u^{m/2-1} (1-u)^{n/2-1} int_{0}^{infty} v^{m/2+n/2-1}e^{-v/2} dv $$



                If $w=v/2$ and we make the change of variable in the integral we obtain:
                $$int_{0}^{infty} v^{m/2+n/2-1}e^{-v/2} dv = 2^{m/2+n/2} Gamma(m/2+n/2)$$



                Hence,
                $$f_U(u)=frac{ Gamma(m/2+n/2) }{Gamma(m/2) Gamma(n/2)} u^{m/2-1} (1-u)^{n/2-1} =dfrac{u^{m/2-1} (1-u)^{n/2-1}}{B(m/2,n/2)}$$



                in the interval $[0,1]$, and this is the density function of the Beta distribution.






                share|cite|improve this answer
























                  0












                  0








                  0






                  Let $X sim chi^2(m)$ and $Y sim chi^2(n)$, and let $T(X,Y)=(U,V)$ be a transformation such that $T_1(X,Y)=U=frac{X}{X+Y}$ and $T_2(X,Y)=V=X+Y$, then $T^{-1}_1(U,V)=X= UV$ and $T^{-1}_2(U,V)=Y=V-UV$. Then $ |J_{T^{-1}}|=|V| $. $X$ and $Y$ are independent then the joint density function is:



                  $$ f_{X,Y}(x,y)=frac{(1/2)^{m/2}}{Gamma(m/2)}x^{m/2 -1} e^{-x/2} frac{(1/2)^{n/2}}{Gamma(n/2)}y^{n/2 -1} e^{-y/2} $$



                  for $x, y geq 0$ and $0$ in other case.



                  Then, by the theorem of change of variable we have:



                  $$f_U(u)= int_{-infty}^{infty} frac{(1/2)^{m/2+n/2}}{Gamma(m/2) Gamma(n/2)} (uv)^{m/2-1}(v-uv)^{n/2-1}e^{-uv/2-(v-uv)/2} |v|dv $$



                  We have $v=x+y$ then $f_U$ is $0$ for $v < 0$ then we can consider the integral only in the interval $(0, infty)$ and $|v|=v$, also $u=frac{x}{x+y}$ then $0 leq u leq 1$. With some algebra:



                  $$f_U(u)= frac{(1/2)^{m/2+n/2}}{Gamma(m/2) Gamma(n/2)} u^{m/2-1} (1-u)^{n/2-1} int_{0}^{infty} v^{m/2+n/2-1}e^{-v/2} dv $$



                  If $w=v/2$ and we make the change of variable in the integral we obtain:
                  $$int_{0}^{infty} v^{m/2+n/2-1}e^{-v/2} dv = 2^{m/2+n/2} Gamma(m/2+n/2)$$



                  Hence,
                  $$f_U(u)=frac{ Gamma(m/2+n/2) }{Gamma(m/2) Gamma(n/2)} u^{m/2-1} (1-u)^{n/2-1} =dfrac{u^{m/2-1} (1-u)^{n/2-1}}{B(m/2,n/2)}$$



                  in the interval $[0,1]$, and this is the density function of the Beta distribution.






                  share|cite|improve this answer












                  Let $X sim chi^2(m)$ and $Y sim chi^2(n)$, and let $T(X,Y)=(U,V)$ be a transformation such that $T_1(X,Y)=U=frac{X}{X+Y}$ and $T_2(X,Y)=V=X+Y$, then $T^{-1}_1(U,V)=X= UV$ and $T^{-1}_2(U,V)=Y=V-UV$. Then $ |J_{T^{-1}}|=|V| $. $X$ and $Y$ are independent then the joint density function is:



                  $$ f_{X,Y}(x,y)=frac{(1/2)^{m/2}}{Gamma(m/2)}x^{m/2 -1} e^{-x/2} frac{(1/2)^{n/2}}{Gamma(n/2)}y^{n/2 -1} e^{-y/2} $$



                  for $x, y geq 0$ and $0$ in other case.



                  Then, by the theorem of change of variable we have:



                  $$f_U(u)= int_{-infty}^{infty} frac{(1/2)^{m/2+n/2}}{Gamma(m/2) Gamma(n/2)} (uv)^{m/2-1}(v-uv)^{n/2-1}e^{-uv/2-(v-uv)/2} |v|dv $$



                  We have $v=x+y$ then $f_U$ is $0$ for $v < 0$ then we can consider the integral only in the interval $(0, infty)$ and $|v|=v$, also $u=frac{x}{x+y}$ then $0 leq u leq 1$. With some algebra:



                  $$f_U(u)= frac{(1/2)^{m/2+n/2}}{Gamma(m/2) Gamma(n/2)} u^{m/2-1} (1-u)^{n/2-1} int_{0}^{infty} v^{m/2+n/2-1}e^{-v/2} dv $$



                  If $w=v/2$ and we make the change of variable in the integral we obtain:
                  $$int_{0}^{infty} v^{m/2+n/2-1}e^{-v/2} dv = 2^{m/2+n/2} Gamma(m/2+n/2)$$



                  Hence,
                  $$f_U(u)=frac{ Gamma(m/2+n/2) }{Gamma(m/2) Gamma(n/2)} u^{m/2-1} (1-u)^{n/2-1} =dfrac{u^{m/2-1} (1-u)^{n/2-1}}{B(m/2,n/2)}$$



                  in the interval $[0,1]$, and this is the density function of the Beta distribution.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered May 3 '17 at 10:26









                  Mike A.

                  567414




                  567414






























                      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%2f2263496%2fif-x-y-sim-chi-2-with-m-and-n-degrees-of-freedom-then-fracxxy%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

                      How to change which sound is reproduced for terminal bell?

                      Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                      Can I use Tabulator js library in my java Spring + Thymeleaf project?