Rolling a die and then tossing a coin











up vote
0
down vote

favorite












A fair 6 sided die is tossed. Let its outcome be denoted by X. Then a fair coin is tossed X times and Y denotes the number of heads in X tosses. Calculate (a)P(Y=4) ; (b)P(X=1).
I am getting a different answer when I calculate the probability by writing the sample space, and a different answer when I use the binomial formula to calculate the probabilities. Please help.










share|cite|improve this question









New contributor




PythonNewBie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Do you mean the joint probability? If so, the answer is $0$. If you meant the two probabilities, separately, what answers are you getting?
    – lulu
    Nov 17 at 0:49






  • 2




    When you do, please include the answers you have found. Note: Surely $P(X=1)$ is not difficult.
    – lulu
    Nov 17 at 1:01






  • 1




    $Pr(Y=4)=Pr(Y=4mid X=1)Pr(X=1)+Pr(Y=4mid X=2)Pr(X=2)+cdots + Pr(Y=4mid X=6)Pr(X=6)$, each term of which I expect that you should know how to calculate.
    – JMoravitz
    Nov 17 at 1:03








  • 3




    The elements in your sample space are not equally likely to occur. Calculating probabilities by counting number of favorable outcomes in a sample space and dividing by the size of the sample space is only valid if you know that everything in the sample space is equally likely to occur. When playing the lottery there are two possibilities, you either win or you lose, but the probability of winning the lottery is not $frac{1}{2}$.
    – JMoravitz
    Nov 17 at 1:05








  • 2




    Your events are not equi-probable. $P(1,H)=frac 16times frac 12$. $P(2,HH)=frac 16times frac 14$.
    – lulu
    Nov 17 at 1:05

















up vote
0
down vote

favorite












A fair 6 sided die is tossed. Let its outcome be denoted by X. Then a fair coin is tossed X times and Y denotes the number of heads in X tosses. Calculate (a)P(Y=4) ; (b)P(X=1).
I am getting a different answer when I calculate the probability by writing the sample space, and a different answer when I use the binomial formula to calculate the probabilities. Please help.










share|cite|improve this question









New contributor




PythonNewBie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Do you mean the joint probability? If so, the answer is $0$. If you meant the two probabilities, separately, what answers are you getting?
    – lulu
    Nov 17 at 0:49






  • 2




    When you do, please include the answers you have found. Note: Surely $P(X=1)$ is not difficult.
    – lulu
    Nov 17 at 1:01






  • 1




    $Pr(Y=4)=Pr(Y=4mid X=1)Pr(X=1)+Pr(Y=4mid X=2)Pr(X=2)+cdots + Pr(Y=4mid X=6)Pr(X=6)$, each term of which I expect that you should know how to calculate.
    – JMoravitz
    Nov 17 at 1:03








  • 3




    The elements in your sample space are not equally likely to occur. Calculating probabilities by counting number of favorable outcomes in a sample space and dividing by the size of the sample space is only valid if you know that everything in the sample space is equally likely to occur. When playing the lottery there are two possibilities, you either win or you lose, but the probability of winning the lottery is not $frac{1}{2}$.
    – JMoravitz
    Nov 17 at 1:05








  • 2




    Your events are not equi-probable. $P(1,H)=frac 16times frac 12$. $P(2,HH)=frac 16times frac 14$.
    – lulu
    Nov 17 at 1:05















up vote
0
down vote

favorite









up vote
0
down vote

favorite











A fair 6 sided die is tossed. Let its outcome be denoted by X. Then a fair coin is tossed X times and Y denotes the number of heads in X tosses. Calculate (a)P(Y=4) ; (b)P(X=1).
I am getting a different answer when I calculate the probability by writing the sample space, and a different answer when I use the binomial formula to calculate the probabilities. Please help.










share|cite|improve this question









New contributor




PythonNewBie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











A fair 6 sided die is tossed. Let its outcome be denoted by X. Then a fair coin is tossed X times and Y denotes the number of heads in X tosses. Calculate (a)P(Y=4) ; (b)P(X=1).
I am getting a different answer when I calculate the probability by writing the sample space, and a different answer when I use the binomial formula to calculate the probabilities. Please help.







probability probability-theory conditional-probability






share|cite|improve this question









New contributor




PythonNewBie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|cite|improve this question









New contributor




PythonNewBie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|cite|improve this question




share|cite|improve this question








edited Nov 17 at 1:01





















New contributor




PythonNewBie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 17 at 0:47









PythonNewBie

11




11




New contributor




PythonNewBie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





PythonNewBie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






PythonNewBie is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Do you mean the joint probability? If so, the answer is $0$. If you meant the two probabilities, separately, what answers are you getting?
    – lulu
    Nov 17 at 0:49






  • 2




    When you do, please include the answers you have found. Note: Surely $P(X=1)$ is not difficult.
    – lulu
    Nov 17 at 1:01






  • 1




    $Pr(Y=4)=Pr(Y=4mid X=1)Pr(X=1)+Pr(Y=4mid X=2)Pr(X=2)+cdots + Pr(Y=4mid X=6)Pr(X=6)$, each term of which I expect that you should know how to calculate.
    – JMoravitz
    Nov 17 at 1:03








  • 3




    The elements in your sample space are not equally likely to occur. Calculating probabilities by counting number of favorable outcomes in a sample space and dividing by the size of the sample space is only valid if you know that everything in the sample space is equally likely to occur. When playing the lottery there are two possibilities, you either win or you lose, but the probability of winning the lottery is not $frac{1}{2}$.
    – JMoravitz
    Nov 17 at 1:05








  • 2




    Your events are not equi-probable. $P(1,H)=frac 16times frac 12$. $P(2,HH)=frac 16times frac 14$.
    – lulu
    Nov 17 at 1:05




















  • Do you mean the joint probability? If so, the answer is $0$. If you meant the two probabilities, separately, what answers are you getting?
    – lulu
    Nov 17 at 0:49






  • 2




    When you do, please include the answers you have found. Note: Surely $P(X=1)$ is not difficult.
    – lulu
    Nov 17 at 1:01






  • 1




    $Pr(Y=4)=Pr(Y=4mid X=1)Pr(X=1)+Pr(Y=4mid X=2)Pr(X=2)+cdots + Pr(Y=4mid X=6)Pr(X=6)$, each term of which I expect that you should know how to calculate.
    – JMoravitz
    Nov 17 at 1:03








  • 3




    The elements in your sample space are not equally likely to occur. Calculating probabilities by counting number of favorable outcomes in a sample space and dividing by the size of the sample space is only valid if you know that everything in the sample space is equally likely to occur. When playing the lottery there are two possibilities, you either win or you lose, but the probability of winning the lottery is not $frac{1}{2}$.
    – JMoravitz
    Nov 17 at 1:05








  • 2




    Your events are not equi-probable. $P(1,H)=frac 16times frac 12$. $P(2,HH)=frac 16times frac 14$.
    – lulu
    Nov 17 at 1:05


















Do you mean the joint probability? If so, the answer is $0$. If you meant the two probabilities, separately, what answers are you getting?
– lulu
Nov 17 at 0:49




Do you mean the joint probability? If so, the answer is $0$. If you meant the two probabilities, separately, what answers are you getting?
– lulu
Nov 17 at 0:49




2




2




When you do, please include the answers you have found. Note: Surely $P(X=1)$ is not difficult.
– lulu
Nov 17 at 1:01




When you do, please include the answers you have found. Note: Surely $P(X=1)$ is not difficult.
– lulu
Nov 17 at 1:01




1




1




$Pr(Y=4)=Pr(Y=4mid X=1)Pr(X=1)+Pr(Y=4mid X=2)Pr(X=2)+cdots + Pr(Y=4mid X=6)Pr(X=6)$, each term of which I expect that you should know how to calculate.
– JMoravitz
Nov 17 at 1:03






$Pr(Y=4)=Pr(Y=4mid X=1)Pr(X=1)+Pr(Y=4mid X=2)Pr(X=2)+cdots + Pr(Y=4mid X=6)Pr(X=6)$, each term of which I expect that you should know how to calculate.
– JMoravitz
Nov 17 at 1:03






3




3




The elements in your sample space are not equally likely to occur. Calculating probabilities by counting number of favorable outcomes in a sample space and dividing by the size of the sample space is only valid if you know that everything in the sample space is equally likely to occur. When playing the lottery there are two possibilities, you either win or you lose, but the probability of winning the lottery is not $frac{1}{2}$.
– JMoravitz
Nov 17 at 1:05






The elements in your sample space are not equally likely to occur. Calculating probabilities by counting number of favorable outcomes in a sample space and dividing by the size of the sample space is only valid if you know that everything in the sample space is equally likely to occur. When playing the lottery there are two possibilities, you either win or you lose, but the probability of winning the lottery is not $frac{1}{2}$.
– JMoravitz
Nov 17 at 1:05






2




2




Your events are not equi-probable. $P(1,H)=frac 16times frac 12$. $P(2,HH)=frac 16times frac 14$.
– lulu
Nov 17 at 1:05






Your events are not equi-probable. $P(1,H)=frac 16times frac 12$. $P(2,HH)=frac 16times frac 14$.
– lulu
Nov 17 at 1:05












1 Answer
1






active

oldest

votes

















up vote
0
down vote













You can calculate favorable cases.



Let us focus on $p(Y=4)$, since $p(X=1)$ is trivial. The only possibility for $Y$ to attain such value is for values of X in ${4,5,6}$ (we can ignore the other ones).



For $X=4$, all $4$ coin tosses would have to land heads for $Y$ to have value $4$. The probability of this event is $(frac{1}{2})^4=frac{1}{16}$. If we take into account the probability $p(x=4)$ then we have $p(Y=4|X=4),p(X=4)=frac{1}{96}$.



For $X=5$, four out of five tosses would have to land heads. 5 possible combinations, each with probability $frac{1}{32}$. Thus, $frac{5}{32}$. Taking into account $p(X=5)$, we have the probability $p(Y=4|X=5),p(X=5)=frac{5}{192}$.



Finally, for $X=6$, four out of six tosses need to land heads. 15 possible combinations, each with probability $frac{1}{64}$. Thus, $frac{15}{64}$. Taking into account $p(X=6)$, we have the probability $p(Y=4|X=6),p(X=6)=frac{15}{384}$.



Adding up all three figures, we get $p(Y=4)=frac{29}{384}$.






share|cite|improve this answer










New contributor




DavidPM is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















    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',
    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
    });


    }
    });






    PythonNewBie is a new contributor. Be nice, and check out our Code of Conduct.










     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3001831%2frolling-a-die-and-then-tossing-a-coin%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








    up vote
    0
    down vote













    You can calculate favorable cases.



    Let us focus on $p(Y=4)$, since $p(X=1)$ is trivial. The only possibility for $Y$ to attain such value is for values of X in ${4,5,6}$ (we can ignore the other ones).



    For $X=4$, all $4$ coin tosses would have to land heads for $Y$ to have value $4$. The probability of this event is $(frac{1}{2})^4=frac{1}{16}$. If we take into account the probability $p(x=4)$ then we have $p(Y=4|X=4),p(X=4)=frac{1}{96}$.



    For $X=5$, four out of five tosses would have to land heads. 5 possible combinations, each with probability $frac{1}{32}$. Thus, $frac{5}{32}$. Taking into account $p(X=5)$, we have the probability $p(Y=4|X=5),p(X=5)=frac{5}{192}$.



    Finally, for $X=6$, four out of six tosses need to land heads. 15 possible combinations, each with probability $frac{1}{64}$. Thus, $frac{15}{64}$. Taking into account $p(X=6)$, we have the probability $p(Y=4|X=6),p(X=6)=frac{15}{384}$.



    Adding up all three figures, we get $p(Y=4)=frac{29}{384}$.






    share|cite|improve this answer










    New contributor




    DavidPM is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      0
      down vote













      You can calculate favorable cases.



      Let us focus on $p(Y=4)$, since $p(X=1)$ is trivial. The only possibility for $Y$ to attain such value is for values of X in ${4,5,6}$ (we can ignore the other ones).



      For $X=4$, all $4$ coin tosses would have to land heads for $Y$ to have value $4$. The probability of this event is $(frac{1}{2})^4=frac{1}{16}$. If we take into account the probability $p(x=4)$ then we have $p(Y=4|X=4),p(X=4)=frac{1}{96}$.



      For $X=5$, four out of five tosses would have to land heads. 5 possible combinations, each with probability $frac{1}{32}$. Thus, $frac{5}{32}$. Taking into account $p(X=5)$, we have the probability $p(Y=4|X=5),p(X=5)=frac{5}{192}$.



      Finally, for $X=6$, four out of six tosses need to land heads. 15 possible combinations, each with probability $frac{1}{64}$. Thus, $frac{15}{64}$. Taking into account $p(X=6)$, we have the probability $p(Y=4|X=6),p(X=6)=frac{15}{384}$.



      Adding up all three figures, we get $p(Y=4)=frac{29}{384}$.






      share|cite|improve this answer










      New contributor




      DavidPM is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















        up vote
        0
        down vote










        up vote
        0
        down vote









        You can calculate favorable cases.



        Let us focus on $p(Y=4)$, since $p(X=1)$ is trivial. The only possibility for $Y$ to attain such value is for values of X in ${4,5,6}$ (we can ignore the other ones).



        For $X=4$, all $4$ coin tosses would have to land heads for $Y$ to have value $4$. The probability of this event is $(frac{1}{2})^4=frac{1}{16}$. If we take into account the probability $p(x=4)$ then we have $p(Y=4|X=4),p(X=4)=frac{1}{96}$.



        For $X=5$, four out of five tosses would have to land heads. 5 possible combinations, each with probability $frac{1}{32}$. Thus, $frac{5}{32}$. Taking into account $p(X=5)$, we have the probability $p(Y=4|X=5),p(X=5)=frac{5}{192}$.



        Finally, for $X=6$, four out of six tosses need to land heads. 15 possible combinations, each with probability $frac{1}{64}$. Thus, $frac{15}{64}$. Taking into account $p(X=6)$, we have the probability $p(Y=4|X=6),p(X=6)=frac{15}{384}$.



        Adding up all three figures, we get $p(Y=4)=frac{29}{384}$.






        share|cite|improve this answer










        New contributor




        DavidPM is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        You can calculate favorable cases.



        Let us focus on $p(Y=4)$, since $p(X=1)$ is trivial. The only possibility for $Y$ to attain such value is for values of X in ${4,5,6}$ (we can ignore the other ones).



        For $X=4$, all $4$ coin tosses would have to land heads for $Y$ to have value $4$. The probability of this event is $(frac{1}{2})^4=frac{1}{16}$. If we take into account the probability $p(x=4)$ then we have $p(Y=4|X=4),p(X=4)=frac{1}{96}$.



        For $X=5$, four out of five tosses would have to land heads. 5 possible combinations, each with probability $frac{1}{32}$. Thus, $frac{5}{32}$. Taking into account $p(X=5)$, we have the probability $p(Y=4|X=5),p(X=5)=frac{5}{192}$.



        Finally, for $X=6$, four out of six tosses need to land heads. 15 possible combinations, each with probability $frac{1}{64}$. Thus, $frac{15}{64}$. Taking into account $p(X=6)$, we have the probability $p(Y=4|X=6),p(X=6)=frac{15}{384}$.



        Adding up all three figures, we get $p(Y=4)=frac{29}{384}$.







        share|cite|improve this answer










        New contributor




        DavidPM is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|cite|improve this answer



        share|cite|improve this answer








        edited Nov 17 at 1:55





















        New contributor




        DavidPM is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered Nov 17 at 1:49









        DavidPM

        265




        265




        New contributor




        DavidPM is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        DavidPM is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        DavidPM is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






















            PythonNewBie is a new contributor. Be nice, and check out our Code of Conduct.










             

            draft saved


            draft discarded


















            PythonNewBie is a new contributor. Be nice, and check out our Code of Conduct.













            PythonNewBie is a new contributor. Be nice, and check out our Code of Conduct.












            PythonNewBie is a new contributor. Be nice, and check out our Code of Conduct.















             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3001831%2frolling-a-die-and-then-tossing-a-coin%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

            Le Mesnil-Réaume

            Ida-Boy-Ed-Garten

            web3.py web3.isConnected() returns false always