Order statistics, what am I doing wrong












4












$begingroup$


From SOA sample 138:




A machine consists of two components, whose lifetimes have the joint density function



$$f(x,y)=
begin{cases}
{1over50}, & text{for }x>0,y>0,x+y<10 \
0, & text{otherwise}
end{cases}$$



The machine operates until both components fail.
Calculate the expected operational time of the machine.




I know there is a simpler way to solve this, but I would like to solve it using order statistics. This is what I have so far:



If I am understanding correctly, I need to find probability $P(max(X,Y) le k)=P(X le k)P(Y le k)$, and then differentiate to find the density of $k$, and from there find the expected value of $k$.



So first I will find the marginal density of $X$ and $Y$:



$$f(x) = int_0^{10-x}{1over50}dy$$
$$f(x) = {{10-x}over50} $$



Then $P(X le k)$ is



$$P(X le k) = int_0^{k}{{10-x}over50}dx $$
$$ = left({10xover50}-{x^2over100}right)bigg|_0^k$$
$$ = left({10kover50}-{k^2over100}right)$$



I can do the same thing for $y$, so $P(X le k)P(Y le k)$ is



$$left({10kover50}-{k^2over100}right)^2$$



$$={100k^2over2500}-{20k^3over5000}+{k^4over10000}$$



I will now take the derivative to get $f(k)$



$${200kover2500}-{60k^2over5000}+{4k^3over10000}$$



And now I can integrate to the limit of $k$ to get $E(K)$



$$E(K)=int_0^{10} kleft({200kover2500}-{60k^2over5000}+{4k^3over10000}right)dk$$



$$=int_0^{10} {200k^2over2500}-{60k^3over5000}+{4k^4over10000}dk$$



$$=left( {200k^3over7500}-{60k^4over20000}+{4k^5over50000}right)bigg|_0^{10}$$



$$=4.666$$



However the true solution is $5$, where did I go wrong?










share|cite|improve this question











$endgroup$

















    4












    $begingroup$


    From SOA sample 138:




    A machine consists of two components, whose lifetimes have the joint density function



    $$f(x,y)=
    begin{cases}
    {1over50}, & text{for }x>0,y>0,x+y<10 \
    0, & text{otherwise}
    end{cases}$$



    The machine operates until both components fail.
    Calculate the expected operational time of the machine.




    I know there is a simpler way to solve this, but I would like to solve it using order statistics. This is what I have so far:



    If I am understanding correctly, I need to find probability $P(max(X,Y) le k)=P(X le k)P(Y le k)$, and then differentiate to find the density of $k$, and from there find the expected value of $k$.



    So first I will find the marginal density of $X$ and $Y$:



    $$f(x) = int_0^{10-x}{1over50}dy$$
    $$f(x) = {{10-x}over50} $$



    Then $P(X le k)$ is



    $$P(X le k) = int_0^{k}{{10-x}over50}dx $$
    $$ = left({10xover50}-{x^2over100}right)bigg|_0^k$$
    $$ = left({10kover50}-{k^2over100}right)$$



    I can do the same thing for $y$, so $P(X le k)P(Y le k)$ is



    $$left({10kover50}-{k^2over100}right)^2$$



    $$={100k^2over2500}-{20k^3over5000}+{k^4over10000}$$



    I will now take the derivative to get $f(k)$



    $${200kover2500}-{60k^2over5000}+{4k^3over10000}$$



    And now I can integrate to the limit of $k$ to get $E(K)$



    $$E(K)=int_0^{10} kleft({200kover2500}-{60k^2over5000}+{4k^3over10000}right)dk$$



    $$=int_0^{10} {200k^2over2500}-{60k^3over5000}+{4k^4over10000}dk$$



    $$=left( {200k^3over7500}-{60k^4over20000}+{4k^5over50000}right)bigg|_0^{10}$$



    $$=4.666$$



    However the true solution is $5$, where did I go wrong?










    share|cite|improve this question











    $endgroup$















      4












      4








      4





      $begingroup$


      From SOA sample 138:




      A machine consists of two components, whose lifetimes have the joint density function



      $$f(x,y)=
      begin{cases}
      {1over50}, & text{for }x>0,y>0,x+y<10 \
      0, & text{otherwise}
      end{cases}$$



      The machine operates until both components fail.
      Calculate the expected operational time of the machine.




      I know there is a simpler way to solve this, but I would like to solve it using order statistics. This is what I have so far:



      If I am understanding correctly, I need to find probability $P(max(X,Y) le k)=P(X le k)P(Y le k)$, and then differentiate to find the density of $k$, and from there find the expected value of $k$.



      So first I will find the marginal density of $X$ and $Y$:



      $$f(x) = int_0^{10-x}{1over50}dy$$
      $$f(x) = {{10-x}over50} $$



      Then $P(X le k)$ is



      $$P(X le k) = int_0^{k}{{10-x}over50}dx $$
      $$ = left({10xover50}-{x^2over100}right)bigg|_0^k$$
      $$ = left({10kover50}-{k^2over100}right)$$



      I can do the same thing for $y$, so $P(X le k)P(Y le k)$ is



      $$left({10kover50}-{k^2over100}right)^2$$



      $$={100k^2over2500}-{20k^3over5000}+{k^4over10000}$$



      I will now take the derivative to get $f(k)$



      $${200kover2500}-{60k^2over5000}+{4k^3over10000}$$



      And now I can integrate to the limit of $k$ to get $E(K)$



      $$E(K)=int_0^{10} kleft({200kover2500}-{60k^2over5000}+{4k^3over10000}right)dk$$



      $$=int_0^{10} {200k^2over2500}-{60k^3over5000}+{4k^4over10000}dk$$



      $$=left( {200k^3over7500}-{60k^4over20000}+{4k^5over50000}right)bigg|_0^{10}$$



      $$=4.666$$



      However the true solution is $5$, where did I go wrong?










      share|cite|improve this question











      $endgroup$




      From SOA sample 138:




      A machine consists of two components, whose lifetimes have the joint density function



      $$f(x,y)=
      begin{cases}
      {1over50}, & text{for }x>0,y>0,x+y<10 \
      0, & text{otherwise}
      end{cases}$$



      The machine operates until both components fail.
      Calculate the expected operational time of the machine.




      I know there is a simpler way to solve this, but I would like to solve it using order statistics. This is what I have so far:



      If I am understanding correctly, I need to find probability $P(max(X,Y) le k)=P(X le k)P(Y le k)$, and then differentiate to find the density of $k$, and from there find the expected value of $k$.



      So first I will find the marginal density of $X$ and $Y$:



      $$f(x) = int_0^{10-x}{1over50}dy$$
      $$f(x) = {{10-x}over50} $$



      Then $P(X le k)$ is



      $$P(X le k) = int_0^{k}{{10-x}over50}dx $$
      $$ = left({10xover50}-{x^2over100}right)bigg|_0^k$$
      $$ = left({10kover50}-{k^2over100}right)$$



      I can do the same thing for $y$, so $P(X le k)P(Y le k)$ is



      $$left({10kover50}-{k^2over100}right)^2$$



      $$={100k^2over2500}-{20k^3over5000}+{k^4over10000}$$



      I will now take the derivative to get $f(k)$



      $${200kover2500}-{60k^2over5000}+{4k^3over10000}$$



      And now I can integrate to the limit of $k$ to get $E(K)$



      $$E(K)=int_0^{10} kleft({200kover2500}-{60k^2over5000}+{4k^3over10000}right)dk$$



      $$=int_0^{10} {200k^2over2500}-{60k^3over5000}+{4k^4over10000}dk$$



      $$=left( {200k^3over7500}-{60k^4over20000}+{4k^5over50000}right)bigg|_0^{10}$$



      $$=4.666$$



      However the true solution is $5$, where did I go wrong?







      probability statistics order-statistics






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 27 '18 at 20:04









      Larry

      2,54531131




      2,54531131










      asked Dec 27 '18 at 19:05









      agbltagblt

      350114




      350114






















          2 Answers
          2






          active

          oldest

          votes


















          1












          $begingroup$

          The equation
          $$P(max(X,Y) leq k)=P(X leq k)P(Y leq k)$$
          would be true if $X$ and $Y$ were independent.
          But they clearly are not independent.



          There are multiple ways to confirm the dependence between $X$ and $Y$, but perhaps the most obvious is to choose a not-too-large value of $k$, compute both sides of the equation, and compare the results.



          For example, with $k=5$ we get $P(max(X,Y) leq k) = frac12$
          but $P(X leq k) = P(Y leq k) = frac34$ and therefore
          $P(X leq k)P(Y leq k) = frac9{16}.$






          share|cite|improve this answer









          $endgroup$





















            1












            $begingroup$

            David K has explained the fallacy, but I'll derive the answer you wanted. Let $S$ denote the $fne 0$ region; let $S'$ denote the subset of $S$ with $xle y$. Then$$frac{1}{50}int_Smax{x,,y}dxdy=frac{1}{25}int_{S'}ydxdy=frac{1}{25}int_0^{10}ymin{y,,10-y}dy\=frac{1}{25}left(int_0^5y^2dy+int_5^{10}(10y-y^2)dyright)=5.$$






            share|cite|improve this answer









            $endgroup$














              Your Answer








              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%2f3054268%2forder-statistics-what-am-i-doing-wrong%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









              1












              $begingroup$

              The equation
              $$P(max(X,Y) leq k)=P(X leq k)P(Y leq k)$$
              would be true if $X$ and $Y$ were independent.
              But they clearly are not independent.



              There are multiple ways to confirm the dependence between $X$ and $Y$, but perhaps the most obvious is to choose a not-too-large value of $k$, compute both sides of the equation, and compare the results.



              For example, with $k=5$ we get $P(max(X,Y) leq k) = frac12$
              but $P(X leq k) = P(Y leq k) = frac34$ and therefore
              $P(X leq k)P(Y leq k) = frac9{16}.$






              share|cite|improve this answer









              $endgroup$


















                1












                $begingroup$

                The equation
                $$P(max(X,Y) leq k)=P(X leq k)P(Y leq k)$$
                would be true if $X$ and $Y$ were independent.
                But they clearly are not independent.



                There are multiple ways to confirm the dependence between $X$ and $Y$, but perhaps the most obvious is to choose a not-too-large value of $k$, compute both sides of the equation, and compare the results.



                For example, with $k=5$ we get $P(max(X,Y) leq k) = frac12$
                but $P(X leq k) = P(Y leq k) = frac34$ and therefore
                $P(X leq k)P(Y leq k) = frac9{16}.$






                share|cite|improve this answer









                $endgroup$
















                  1












                  1








                  1





                  $begingroup$

                  The equation
                  $$P(max(X,Y) leq k)=P(X leq k)P(Y leq k)$$
                  would be true if $X$ and $Y$ were independent.
                  But they clearly are not independent.



                  There are multiple ways to confirm the dependence between $X$ and $Y$, but perhaps the most obvious is to choose a not-too-large value of $k$, compute both sides of the equation, and compare the results.



                  For example, with $k=5$ we get $P(max(X,Y) leq k) = frac12$
                  but $P(X leq k) = P(Y leq k) = frac34$ and therefore
                  $P(X leq k)P(Y leq k) = frac9{16}.$






                  share|cite|improve this answer









                  $endgroup$



                  The equation
                  $$P(max(X,Y) leq k)=P(X leq k)P(Y leq k)$$
                  would be true if $X$ and $Y$ were independent.
                  But they clearly are not independent.



                  There are multiple ways to confirm the dependence between $X$ and $Y$, but perhaps the most obvious is to choose a not-too-large value of $k$, compute both sides of the equation, and compare the results.



                  For example, with $k=5$ we get $P(max(X,Y) leq k) = frac12$
                  but $P(X leq k) = P(Y leq k) = frac34$ and therefore
                  $P(X leq k)P(Y leq k) = frac9{16}.$







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Dec 27 '18 at 20:22









                  David KDavid K

                  55.7k345121




                  55.7k345121























                      1












                      $begingroup$

                      David K has explained the fallacy, but I'll derive the answer you wanted. Let $S$ denote the $fne 0$ region; let $S'$ denote the subset of $S$ with $xle y$. Then$$frac{1}{50}int_Smax{x,,y}dxdy=frac{1}{25}int_{S'}ydxdy=frac{1}{25}int_0^{10}ymin{y,,10-y}dy\=frac{1}{25}left(int_0^5y^2dy+int_5^{10}(10y-y^2)dyright)=5.$$






                      share|cite|improve this answer









                      $endgroup$


















                        1












                        $begingroup$

                        David K has explained the fallacy, but I'll derive the answer you wanted. Let $S$ denote the $fne 0$ region; let $S'$ denote the subset of $S$ with $xle y$. Then$$frac{1}{50}int_Smax{x,,y}dxdy=frac{1}{25}int_{S'}ydxdy=frac{1}{25}int_0^{10}ymin{y,,10-y}dy\=frac{1}{25}left(int_0^5y^2dy+int_5^{10}(10y-y^2)dyright)=5.$$






                        share|cite|improve this answer









                        $endgroup$
















                          1












                          1








                          1





                          $begingroup$

                          David K has explained the fallacy, but I'll derive the answer you wanted. Let $S$ denote the $fne 0$ region; let $S'$ denote the subset of $S$ with $xle y$. Then$$frac{1}{50}int_Smax{x,,y}dxdy=frac{1}{25}int_{S'}ydxdy=frac{1}{25}int_0^{10}ymin{y,,10-y}dy\=frac{1}{25}left(int_0^5y^2dy+int_5^{10}(10y-y^2)dyright)=5.$$






                          share|cite|improve this answer









                          $endgroup$



                          David K has explained the fallacy, but I'll derive the answer you wanted. Let $S$ denote the $fne 0$ region; let $S'$ denote the subset of $S$ with $xle y$. Then$$frac{1}{50}int_Smax{x,,y}dxdy=frac{1}{25}int_{S'}ydxdy=frac{1}{25}int_0^{10}ymin{y,,10-y}dy\=frac{1}{25}left(int_0^5y^2dy+int_5^{10}(10y-y^2)dyright)=5.$$







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Dec 27 '18 at 20:47









                          J.G.J.G.

                          33.3k23252




                          33.3k23252






























                              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%2f3054268%2forder-statistics-what-am-i-doing-wrong%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

                              Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                              ComboBox Display Member on multiple fields

                              Is it possible to collect Nectar points via Trainline?