Compute $ Var(X+Y+Z) $ where $ X,Y,Z sim Binomial $












0














Suppose I throw 3 fair dice 30 times.



Let,



X = no' of throws in which we don't get 4

Y = no' of throws in which we get 4 in only one die (out of 3)

Z = no' of throws in which we get 4 in exactly two dice (out of 3)



Compute $ Var(X+Y+Z) $



by definition $ Var(X+Y+Z) = E[(X+Y+Z)^2] + (E[X+Y+Z])^2 $



$ E[X+Y+Z] = E[X] + E[Y] + E[Z] = 29.8611$ because each variable of a multinomial distribution is of binomial distribution. so I know $ (E[X+Y+Z])^2 = 29.8611^2 $ but how do I calculate $ E[(X+Y+Z)^2] $ ?



Suggestions please?










share|cite|improve this question


















  • 1




    Consider the probability of getting three $4$s and then consider $Var(n-X-Y-Z)$
    – Henry
    Jan 3 at 21:11








  • 1




    Can I just set new variable $ W = $ no' of throws in which I get up to two 4's and then calculate the variance of $ W $ as it is binomial variable?
    – bm1125
    2 days ago






  • 1




    Yes - that works very well since each set of throws is independent and gives a yes/no answer to "up to two 4s"
    – Henry
    2 days ago
















0














Suppose I throw 3 fair dice 30 times.



Let,



X = no' of throws in which we don't get 4

Y = no' of throws in which we get 4 in only one die (out of 3)

Z = no' of throws in which we get 4 in exactly two dice (out of 3)



Compute $ Var(X+Y+Z) $



by definition $ Var(X+Y+Z) = E[(X+Y+Z)^2] + (E[X+Y+Z])^2 $



$ E[X+Y+Z] = E[X] + E[Y] + E[Z] = 29.8611$ because each variable of a multinomial distribution is of binomial distribution. so I know $ (E[X+Y+Z])^2 = 29.8611^2 $ but how do I calculate $ E[(X+Y+Z)^2] $ ?



Suggestions please?










share|cite|improve this question


















  • 1




    Consider the probability of getting three $4$s and then consider $Var(n-X-Y-Z)$
    – Henry
    Jan 3 at 21:11








  • 1




    Can I just set new variable $ W = $ no' of throws in which I get up to two 4's and then calculate the variance of $ W $ as it is binomial variable?
    – bm1125
    2 days ago






  • 1




    Yes - that works very well since each set of throws is independent and gives a yes/no answer to "up to two 4s"
    – Henry
    2 days ago














0












0








0







Suppose I throw 3 fair dice 30 times.



Let,



X = no' of throws in which we don't get 4

Y = no' of throws in which we get 4 in only one die (out of 3)

Z = no' of throws in which we get 4 in exactly two dice (out of 3)



Compute $ Var(X+Y+Z) $



by definition $ Var(X+Y+Z) = E[(X+Y+Z)^2] + (E[X+Y+Z])^2 $



$ E[X+Y+Z] = E[X] + E[Y] + E[Z] = 29.8611$ because each variable of a multinomial distribution is of binomial distribution. so I know $ (E[X+Y+Z])^2 = 29.8611^2 $ but how do I calculate $ E[(X+Y+Z)^2] $ ?



Suggestions please?










share|cite|improve this question













Suppose I throw 3 fair dice 30 times.



Let,



X = no' of throws in which we don't get 4

Y = no' of throws in which we get 4 in only one die (out of 3)

Z = no' of throws in which we get 4 in exactly two dice (out of 3)



Compute $ Var(X+Y+Z) $



by definition $ Var(X+Y+Z) = E[(X+Y+Z)^2] + (E[X+Y+Z])^2 $



$ E[X+Y+Z] = E[X] + E[Y] + E[Z] = 29.8611$ because each variable of a multinomial distribution is of binomial distribution. so I know $ (E[X+Y+Z])^2 = 29.8611^2 $ but how do I calculate $ E[(X+Y+Z)^2] $ ?



Suggestions please?







probability variance expected-value






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 3 at 20:56









bm1125

63516




63516








  • 1




    Consider the probability of getting three $4$s and then consider $Var(n-X-Y-Z)$
    – Henry
    Jan 3 at 21:11








  • 1




    Can I just set new variable $ W = $ no' of throws in which I get up to two 4's and then calculate the variance of $ W $ as it is binomial variable?
    – bm1125
    2 days ago






  • 1




    Yes - that works very well since each set of throws is independent and gives a yes/no answer to "up to two 4s"
    – Henry
    2 days ago














  • 1




    Consider the probability of getting three $4$s and then consider $Var(n-X-Y-Z)$
    – Henry
    Jan 3 at 21:11








  • 1




    Can I just set new variable $ W = $ no' of throws in which I get up to two 4's and then calculate the variance of $ W $ as it is binomial variable?
    – bm1125
    2 days ago






  • 1




    Yes - that works very well since each set of throws is independent and gives a yes/no answer to "up to two 4s"
    – Henry
    2 days ago








1




1




Consider the probability of getting three $4$s and then consider $Var(n-X-Y-Z)$
– Henry
Jan 3 at 21:11






Consider the probability of getting three $4$s and then consider $Var(n-X-Y-Z)$
– Henry
Jan 3 at 21:11






1




1




Can I just set new variable $ W = $ no' of throws in which I get up to two 4's and then calculate the variance of $ W $ as it is binomial variable?
– bm1125
2 days ago




Can I just set new variable $ W = $ no' of throws in which I get up to two 4's and then calculate the variance of $ W $ as it is binomial variable?
– bm1125
2 days ago




1




1




Yes - that works very well since each set of throws is independent and gives a yes/no answer to "up to two 4s"
– Henry
2 days ago




Yes - that works very well since each set of throws is independent and gives a yes/no answer to "up to two 4s"
– Henry
2 days ago










2 Answers
2






active

oldest

votes


















1














These $X$, $Y$, and $Z$ are strongly related to each other - to the point where we'd rather not work with them directly in calculating the variance. In particular, $X+Y+Z+W=30$, where $W$ is the number of throws in which all three dice come up fours. The variance of $X+Y+Z$ is the same as that of $W$. Can you calculate that?






share|cite|improve this answer





















  • Thanks for the answer. But why is the variance of $ X+Y+Z $ be the same as that of $ W $ ?
    – bm1125
    2 days ago










  • Another poster got there while I was sleeping in more detail, but it's a general rule; the variance of $aX+b$ is $|a|^2$ times the variance of $X$ for constants $a$ and $b$. We write $X+Y+Z=30-W$ and apply that.
    – jmerry
    2 days ago



















1














Using the notation from @jmerry, let $W$ be the number of tosses in which all 3 dice show 4. Thus, $X+Y+Z+W=30$, i.e. $X+Y+Z=30-W$ implying $Var(X+Y+Z)=Var(30-W)$.



Let's consider $Q=30-W$.



$mathbb{E}[Q] = 30-mathbb{E}[W]$



$mathbb{E}[Q^2] = 900 + mathbb{E}[W^2] - 60mathbb{E}[W]$



$Var[Q] = mathbb{E}[Q^2] - mathbb{E}[Q]^2$



$=900 + mathbb{E}[W^2] - 60mathbb{E}[W] - (30-mathbb{E}[W])^2$



$=mathbb{E}[W^2] -mathbb{E}[W]^2$



$=Var(W)$ (by definition)



Thus, $Var(30-W) = Var(W) = Var(X+Y+Z)$.



$W$ follows a binomial distribution with parameters $N=30$ and $p = left( frac{1}{6} right)^3$. You can calculate the variance as $Np(1-p)$.






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%2f3060991%2fcompute-varxyz-where-x-y-z-sim-binomial%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














    These $X$, $Y$, and $Z$ are strongly related to each other - to the point where we'd rather not work with them directly in calculating the variance. In particular, $X+Y+Z+W=30$, where $W$ is the number of throws in which all three dice come up fours. The variance of $X+Y+Z$ is the same as that of $W$. Can you calculate that?






    share|cite|improve this answer





















    • Thanks for the answer. But why is the variance of $ X+Y+Z $ be the same as that of $ W $ ?
      – bm1125
      2 days ago










    • Another poster got there while I was sleeping in more detail, but it's a general rule; the variance of $aX+b$ is $|a|^2$ times the variance of $X$ for constants $a$ and $b$. We write $X+Y+Z=30-W$ and apply that.
      – jmerry
      2 days ago
















    1














    These $X$, $Y$, and $Z$ are strongly related to each other - to the point where we'd rather not work with them directly in calculating the variance. In particular, $X+Y+Z+W=30$, where $W$ is the number of throws in which all three dice come up fours. The variance of $X+Y+Z$ is the same as that of $W$. Can you calculate that?






    share|cite|improve this answer





















    • Thanks for the answer. But why is the variance of $ X+Y+Z $ be the same as that of $ W $ ?
      – bm1125
      2 days ago










    • Another poster got there while I was sleeping in more detail, but it's a general rule; the variance of $aX+b$ is $|a|^2$ times the variance of $X$ for constants $a$ and $b$. We write $X+Y+Z=30-W$ and apply that.
      – jmerry
      2 days ago














    1












    1








    1






    These $X$, $Y$, and $Z$ are strongly related to each other - to the point where we'd rather not work with them directly in calculating the variance. In particular, $X+Y+Z+W=30$, where $W$ is the number of throws in which all three dice come up fours. The variance of $X+Y+Z$ is the same as that of $W$. Can you calculate that?






    share|cite|improve this answer












    These $X$, $Y$, and $Z$ are strongly related to each other - to the point where we'd rather not work with them directly in calculating the variance. In particular, $X+Y+Z+W=30$, where $W$ is the number of throws in which all three dice come up fours. The variance of $X+Y+Z$ is the same as that of $W$. Can you calculate that?







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Jan 3 at 21:12









    jmerry

    2,276210




    2,276210












    • Thanks for the answer. But why is the variance of $ X+Y+Z $ be the same as that of $ W $ ?
      – bm1125
      2 days ago










    • Another poster got there while I was sleeping in more detail, but it's a general rule; the variance of $aX+b$ is $|a|^2$ times the variance of $X$ for constants $a$ and $b$. We write $X+Y+Z=30-W$ and apply that.
      – jmerry
      2 days ago


















    • Thanks for the answer. But why is the variance of $ X+Y+Z $ be the same as that of $ W $ ?
      – bm1125
      2 days ago










    • Another poster got there while I was sleeping in more detail, but it's a general rule; the variance of $aX+b$ is $|a|^2$ times the variance of $X$ for constants $a$ and $b$. We write $X+Y+Z=30-W$ and apply that.
      – jmerry
      2 days ago
















    Thanks for the answer. But why is the variance of $ X+Y+Z $ be the same as that of $ W $ ?
    – bm1125
    2 days ago




    Thanks for the answer. But why is the variance of $ X+Y+Z $ be the same as that of $ W $ ?
    – bm1125
    2 days ago












    Another poster got there while I was sleeping in more detail, but it's a general rule; the variance of $aX+b$ is $|a|^2$ times the variance of $X$ for constants $a$ and $b$. We write $X+Y+Z=30-W$ and apply that.
    – jmerry
    2 days ago




    Another poster got there while I was sleeping in more detail, but it's a general rule; the variance of $aX+b$ is $|a|^2$ times the variance of $X$ for constants $a$ and $b$. We write $X+Y+Z=30-W$ and apply that.
    – jmerry
    2 days ago











    1














    Using the notation from @jmerry, let $W$ be the number of tosses in which all 3 dice show 4. Thus, $X+Y+Z+W=30$, i.e. $X+Y+Z=30-W$ implying $Var(X+Y+Z)=Var(30-W)$.



    Let's consider $Q=30-W$.



    $mathbb{E}[Q] = 30-mathbb{E}[W]$



    $mathbb{E}[Q^2] = 900 + mathbb{E}[W^2] - 60mathbb{E}[W]$



    $Var[Q] = mathbb{E}[Q^2] - mathbb{E}[Q]^2$



    $=900 + mathbb{E}[W^2] - 60mathbb{E}[W] - (30-mathbb{E}[W])^2$



    $=mathbb{E}[W^2] -mathbb{E}[W]^2$



    $=Var(W)$ (by definition)



    Thus, $Var(30-W) = Var(W) = Var(X+Y+Z)$.



    $W$ follows a binomial distribution with parameters $N=30$ and $p = left( frac{1}{6} right)^3$. You can calculate the variance as $Np(1-p)$.






    share|cite|improve this answer


























      1














      Using the notation from @jmerry, let $W$ be the number of tosses in which all 3 dice show 4. Thus, $X+Y+Z+W=30$, i.e. $X+Y+Z=30-W$ implying $Var(X+Y+Z)=Var(30-W)$.



      Let's consider $Q=30-W$.



      $mathbb{E}[Q] = 30-mathbb{E}[W]$



      $mathbb{E}[Q^2] = 900 + mathbb{E}[W^2] - 60mathbb{E}[W]$



      $Var[Q] = mathbb{E}[Q^2] - mathbb{E}[Q]^2$



      $=900 + mathbb{E}[W^2] - 60mathbb{E}[W] - (30-mathbb{E}[W])^2$



      $=mathbb{E}[W^2] -mathbb{E}[W]^2$



      $=Var(W)$ (by definition)



      Thus, $Var(30-W) = Var(W) = Var(X+Y+Z)$.



      $W$ follows a binomial distribution with parameters $N=30$ and $p = left( frac{1}{6} right)^3$. You can calculate the variance as $Np(1-p)$.






      share|cite|improve this answer
























        1












        1








        1






        Using the notation from @jmerry, let $W$ be the number of tosses in which all 3 dice show 4. Thus, $X+Y+Z+W=30$, i.e. $X+Y+Z=30-W$ implying $Var(X+Y+Z)=Var(30-W)$.



        Let's consider $Q=30-W$.



        $mathbb{E}[Q] = 30-mathbb{E}[W]$



        $mathbb{E}[Q^2] = 900 + mathbb{E}[W^2] - 60mathbb{E}[W]$



        $Var[Q] = mathbb{E}[Q^2] - mathbb{E}[Q]^2$



        $=900 + mathbb{E}[W^2] - 60mathbb{E}[W] - (30-mathbb{E}[W])^2$



        $=mathbb{E}[W^2] -mathbb{E}[W]^2$



        $=Var(W)$ (by definition)



        Thus, $Var(30-W) = Var(W) = Var(X+Y+Z)$.



        $W$ follows a binomial distribution with parameters $N=30$ and $p = left( frac{1}{6} right)^3$. You can calculate the variance as $Np(1-p)$.






        share|cite|improve this answer












        Using the notation from @jmerry, let $W$ be the number of tosses in which all 3 dice show 4. Thus, $X+Y+Z+W=30$, i.e. $X+Y+Z=30-W$ implying $Var(X+Y+Z)=Var(30-W)$.



        Let's consider $Q=30-W$.



        $mathbb{E}[Q] = 30-mathbb{E}[W]$



        $mathbb{E}[Q^2] = 900 + mathbb{E}[W^2] - 60mathbb{E}[W]$



        $Var[Q] = mathbb{E}[Q^2] - mathbb{E}[Q]^2$



        $=900 + mathbb{E}[W^2] - 60mathbb{E}[W] - (30-mathbb{E}[W])^2$



        $=mathbb{E}[W^2] -mathbb{E}[W]^2$



        $=Var(W)$ (by definition)



        Thus, $Var(30-W) = Var(W) = Var(X+Y+Z)$.



        $W$ follows a binomial distribution with parameters $N=30$ and $p = left( frac{1}{6} right)^3$. You can calculate the variance as $Np(1-p)$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered 2 days ago









        Aditya Dua

        86418




        86418






























            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%2f3060991%2fcompute-varxyz-where-x-y-z-sim-binomial%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

            An IMO inspired problem

            Management

            Has there ever been an instance of an active nuclear power plant within or near a war zone?