Expectation and variance of travel time with several options for the transportation












1












$begingroup$



A person is traveling between two places, and has 3 options for transportation. The jth option would take an average of µj hours, with a standard deviation of $sigma_j$ hours. The person randomly chooses between the 3 options, with equal probabilities. Let T be how long it takes for
him to get from place 1 to place 2.



(a) Find E(T). Is it simply (µ1 +µ2 +µ3)/3, the average of the expectations?




Expectation is additive, there is equal probabilities between options, so
I agree it is the "average" of the averages.




(b) Find Var(T). Is it simply ($sigma_1^2+sigma_2^2+sigma_j^2$)/3, the average of the variances?




Variance is additive when you are adding iid E(T)'s (confirmed: https://apcentral.collegeboard.org/courses/ap-statistics/classroom-resources/why-variances-add-and-why-it-matters), but I am unsure if you just "average" the variances. Guidance?










share|cite|improve this question











$endgroup$

















    1












    $begingroup$



    A person is traveling between two places, and has 3 options for transportation. The jth option would take an average of µj hours, with a standard deviation of $sigma_j$ hours. The person randomly chooses between the 3 options, with equal probabilities. Let T be how long it takes for
    him to get from place 1 to place 2.



    (a) Find E(T). Is it simply (µ1 +µ2 +µ3)/3, the average of the expectations?




    Expectation is additive, there is equal probabilities between options, so
    I agree it is the "average" of the averages.




    (b) Find Var(T). Is it simply ($sigma_1^2+sigma_2^2+sigma_j^2$)/3, the average of the variances?




    Variance is additive when you are adding iid E(T)'s (confirmed: https://apcentral.collegeboard.org/courses/ap-statistics/classroom-resources/why-variances-add-and-why-it-matters), but I am unsure if you just "average" the variances. Guidance?










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $begingroup$



      A person is traveling between two places, and has 3 options for transportation. The jth option would take an average of µj hours, with a standard deviation of $sigma_j$ hours. The person randomly chooses between the 3 options, with equal probabilities. Let T be how long it takes for
      him to get from place 1 to place 2.



      (a) Find E(T). Is it simply (µ1 +µ2 +µ3)/3, the average of the expectations?




      Expectation is additive, there is equal probabilities between options, so
      I agree it is the "average" of the averages.




      (b) Find Var(T). Is it simply ($sigma_1^2+sigma_2^2+sigma_j^2$)/3, the average of the variances?




      Variance is additive when you are adding iid E(T)'s (confirmed: https://apcentral.collegeboard.org/courses/ap-statistics/classroom-resources/why-variances-add-and-why-it-matters), but I am unsure if you just "average" the variances. Guidance?










      share|cite|improve this question











      $endgroup$





      A person is traveling between two places, and has 3 options for transportation. The jth option would take an average of µj hours, with a standard deviation of $sigma_j$ hours. The person randomly chooses between the 3 options, with equal probabilities. Let T be how long it takes for
      him to get from place 1 to place 2.



      (a) Find E(T). Is it simply (µ1 +µ2 +µ3)/3, the average of the expectations?




      Expectation is additive, there is equal probabilities between options, so
      I agree it is the "average" of the averages.




      (b) Find Var(T). Is it simply ($sigma_1^2+sigma_2^2+sigma_j^2$)/3, the average of the variances?




      Variance is additive when you are adding iid E(T)'s (confirmed: https://apcentral.collegeboard.org/courses/ap-statistics/classroom-resources/why-variances-add-and-why-it-matters), but I am unsure if you just "average" the variances. Guidance?







      probability-theory random-variables variance expected-value






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 9 '18 at 9:49









      Did

      247k23222458




      247k23222458










      asked Dec 9 '18 at 2:03









      user603569user603569

      728




      728






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          Call $C$ the option chosen, thus $C$ is uniform on ${1,2,3}$. The random variable $C$ allows to give a rigorous, pathwise, description of $T$ as




          $$T=sum_jmathbf 1_{C=j}X_j$$




          where $X_j$ is the transportation time for option $j$.



          Now, add to the pot the crucial assumption that:




          $$text{$C$ is independent of $(X_1,X_2,X_3)$}$$




          That is, one assumes that the passenger chooses their option without any knowledge about the transportation times they shall have to endure (otherwise, one could imagine that $T$ is the minimum of ${X_1,X_2,X_3}$...).



          With this representation of $T$ and this independence hypothesis, we can compute every characteristic of $T$. For example, by independence,
          $$E(T)=sum_jP(C=j)E(X_j)=frac13sum_jmu_j$$ as you predicted (but for a slightly different reason). Likewise,
          $$T^2=sum_jmathbf 1_{C=j}X_j^2$$ hence, again by independence,
          $$E(T^2)=sum_jP(C=j)E(X_j^2)=frac13sum_j(sigma_j^2+mu_j^2)$$ which implies that




          $$mathrm{var}(T)=frac13sum_jsigma_j^2+frac13sum_jmu_j^2-left(frac13sum_jmu_jright)^2$$




          More generally, for any given number of choices, each with probability $p_j$, one would get
          $$E(T)=sum_jp_jmu_j$$ and $$mathrm{var}(T)=sum_jp_jsigma_j^2+sum_jp_jmu_j^2-left(sum_jp_jmu_jright)^2$$






          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%2f3031917%2fexpectation-and-variance-of-travel-time-with-several-options-for-the-transportat%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$

            Call $C$ the option chosen, thus $C$ is uniform on ${1,2,3}$. The random variable $C$ allows to give a rigorous, pathwise, description of $T$ as




            $$T=sum_jmathbf 1_{C=j}X_j$$




            where $X_j$ is the transportation time for option $j$.



            Now, add to the pot the crucial assumption that:




            $$text{$C$ is independent of $(X_1,X_2,X_3)$}$$




            That is, one assumes that the passenger chooses their option without any knowledge about the transportation times they shall have to endure (otherwise, one could imagine that $T$ is the minimum of ${X_1,X_2,X_3}$...).



            With this representation of $T$ and this independence hypothesis, we can compute every characteristic of $T$. For example, by independence,
            $$E(T)=sum_jP(C=j)E(X_j)=frac13sum_jmu_j$$ as you predicted (but for a slightly different reason). Likewise,
            $$T^2=sum_jmathbf 1_{C=j}X_j^2$$ hence, again by independence,
            $$E(T^2)=sum_jP(C=j)E(X_j^2)=frac13sum_j(sigma_j^2+mu_j^2)$$ which implies that




            $$mathrm{var}(T)=frac13sum_jsigma_j^2+frac13sum_jmu_j^2-left(frac13sum_jmu_jright)^2$$




            More generally, for any given number of choices, each with probability $p_j$, one would get
            $$E(T)=sum_jp_jmu_j$$ and $$mathrm{var}(T)=sum_jp_jsigma_j^2+sum_jp_jmu_j^2-left(sum_jp_jmu_jright)^2$$






            share|cite|improve this answer









            $endgroup$


















              0












              $begingroup$

              Call $C$ the option chosen, thus $C$ is uniform on ${1,2,3}$. The random variable $C$ allows to give a rigorous, pathwise, description of $T$ as




              $$T=sum_jmathbf 1_{C=j}X_j$$




              where $X_j$ is the transportation time for option $j$.



              Now, add to the pot the crucial assumption that:




              $$text{$C$ is independent of $(X_1,X_2,X_3)$}$$




              That is, one assumes that the passenger chooses their option without any knowledge about the transportation times they shall have to endure (otherwise, one could imagine that $T$ is the minimum of ${X_1,X_2,X_3}$...).



              With this representation of $T$ and this independence hypothesis, we can compute every characteristic of $T$. For example, by independence,
              $$E(T)=sum_jP(C=j)E(X_j)=frac13sum_jmu_j$$ as you predicted (but for a slightly different reason). Likewise,
              $$T^2=sum_jmathbf 1_{C=j}X_j^2$$ hence, again by independence,
              $$E(T^2)=sum_jP(C=j)E(X_j^2)=frac13sum_j(sigma_j^2+mu_j^2)$$ which implies that




              $$mathrm{var}(T)=frac13sum_jsigma_j^2+frac13sum_jmu_j^2-left(frac13sum_jmu_jright)^2$$




              More generally, for any given number of choices, each with probability $p_j$, one would get
              $$E(T)=sum_jp_jmu_j$$ and $$mathrm{var}(T)=sum_jp_jsigma_j^2+sum_jp_jmu_j^2-left(sum_jp_jmu_jright)^2$$






              share|cite|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                Call $C$ the option chosen, thus $C$ is uniform on ${1,2,3}$. The random variable $C$ allows to give a rigorous, pathwise, description of $T$ as




                $$T=sum_jmathbf 1_{C=j}X_j$$




                where $X_j$ is the transportation time for option $j$.



                Now, add to the pot the crucial assumption that:




                $$text{$C$ is independent of $(X_1,X_2,X_3)$}$$




                That is, one assumes that the passenger chooses their option without any knowledge about the transportation times they shall have to endure (otherwise, one could imagine that $T$ is the minimum of ${X_1,X_2,X_3}$...).



                With this representation of $T$ and this independence hypothesis, we can compute every characteristic of $T$. For example, by independence,
                $$E(T)=sum_jP(C=j)E(X_j)=frac13sum_jmu_j$$ as you predicted (but for a slightly different reason). Likewise,
                $$T^2=sum_jmathbf 1_{C=j}X_j^2$$ hence, again by independence,
                $$E(T^2)=sum_jP(C=j)E(X_j^2)=frac13sum_j(sigma_j^2+mu_j^2)$$ which implies that




                $$mathrm{var}(T)=frac13sum_jsigma_j^2+frac13sum_jmu_j^2-left(frac13sum_jmu_jright)^2$$




                More generally, for any given number of choices, each with probability $p_j$, one would get
                $$E(T)=sum_jp_jmu_j$$ and $$mathrm{var}(T)=sum_jp_jsigma_j^2+sum_jp_jmu_j^2-left(sum_jp_jmu_jright)^2$$






                share|cite|improve this answer









                $endgroup$



                Call $C$ the option chosen, thus $C$ is uniform on ${1,2,3}$. The random variable $C$ allows to give a rigorous, pathwise, description of $T$ as




                $$T=sum_jmathbf 1_{C=j}X_j$$




                where $X_j$ is the transportation time for option $j$.



                Now, add to the pot the crucial assumption that:




                $$text{$C$ is independent of $(X_1,X_2,X_3)$}$$




                That is, one assumes that the passenger chooses their option without any knowledge about the transportation times they shall have to endure (otherwise, one could imagine that $T$ is the minimum of ${X_1,X_2,X_3}$...).



                With this representation of $T$ and this independence hypothesis, we can compute every characteristic of $T$. For example, by independence,
                $$E(T)=sum_jP(C=j)E(X_j)=frac13sum_jmu_j$$ as you predicted (but for a slightly different reason). Likewise,
                $$T^2=sum_jmathbf 1_{C=j}X_j^2$$ hence, again by independence,
                $$E(T^2)=sum_jP(C=j)E(X_j^2)=frac13sum_j(sigma_j^2+mu_j^2)$$ which implies that




                $$mathrm{var}(T)=frac13sum_jsigma_j^2+frac13sum_jmu_j^2-left(frac13sum_jmu_jright)^2$$




                More generally, for any given number of choices, each with probability $p_j$, one would get
                $$E(T)=sum_jp_jmu_j$$ and $$mathrm{var}(T)=sum_jp_jsigma_j^2+sum_jp_jmu_j^2-left(sum_jp_jmu_jright)^2$$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 9 '18 at 9:43









                DidDid

                247k23222458




                247k23222458






























                    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%2f3031917%2fexpectation-and-variance-of-travel-time-with-several-options-for-the-transportat%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

                    Berounka

                    Sphinx de Gizeh

                    Different font size/position of beamer's navigation symbols template's content depending on regular/plain...