Exit poll in elections












8












$begingroup$



We want to run an exit poll for the government referendum, by asking the voters in one vote center whether they voted for option A or B.
We have an urn with 5 red, 3 green and 2 blue marbles. Each voter randomly picks one marble from the urn, sees its color and then places it back in the urn. If it is red, he tells the truth (we assume that he must have voted either A or B – there is no other option). If it is green, he replies “B”, regardless of what he has actually voted and if it is blue, he replies “A”, again regardless of what he has actually voted.
At the end of the exit poll, we got 40% A’s. What is the actual percentage of the A’s voters in this vote center?




Probabilities is not my strong area of knowledge :(



I was told that this is an easy example of Bayes theorem - I went through it but really can't find how to apply it!



begin{align}
mathsf P(Rmid G, B) & = frac{mathsf P(R,G,B)}{mathsf P(G, B)}
end{align}



OK of course the probability of R is 0.5, of G 0.333 and for B 0.2.
But I don't know what to do then.










share|cite|improve this question









$endgroup$

















    8












    $begingroup$



    We want to run an exit poll for the government referendum, by asking the voters in one vote center whether they voted for option A or B.
    We have an urn with 5 red, 3 green and 2 blue marbles. Each voter randomly picks one marble from the urn, sees its color and then places it back in the urn. If it is red, he tells the truth (we assume that he must have voted either A or B – there is no other option). If it is green, he replies “B”, regardless of what he has actually voted and if it is blue, he replies “A”, again regardless of what he has actually voted.
    At the end of the exit poll, we got 40% A’s. What is the actual percentage of the A’s voters in this vote center?




    Probabilities is not my strong area of knowledge :(



    I was told that this is an easy example of Bayes theorem - I went through it but really can't find how to apply it!



    begin{align}
    mathsf P(Rmid G, B) & = frac{mathsf P(R,G,B)}{mathsf P(G, B)}
    end{align}



    OK of course the probability of R is 0.5, of G 0.333 and for B 0.2.
    But I don't know what to do then.










    share|cite|improve this question









    $endgroup$















      8












      8








      8


      3



      $begingroup$



      We want to run an exit poll for the government referendum, by asking the voters in one vote center whether they voted for option A or B.
      We have an urn with 5 red, 3 green and 2 blue marbles. Each voter randomly picks one marble from the urn, sees its color and then places it back in the urn. If it is red, he tells the truth (we assume that he must have voted either A or B – there is no other option). If it is green, he replies “B”, regardless of what he has actually voted and if it is blue, he replies “A”, again regardless of what he has actually voted.
      At the end of the exit poll, we got 40% A’s. What is the actual percentage of the A’s voters in this vote center?




      Probabilities is not my strong area of knowledge :(



      I was told that this is an easy example of Bayes theorem - I went through it but really can't find how to apply it!



      begin{align}
      mathsf P(Rmid G, B) & = frac{mathsf P(R,G,B)}{mathsf P(G, B)}
      end{align}



      OK of course the probability of R is 0.5, of G 0.333 and for B 0.2.
      But I don't know what to do then.










      share|cite|improve this question









      $endgroup$





      We want to run an exit poll for the government referendum, by asking the voters in one vote center whether they voted for option A or B.
      We have an urn with 5 red, 3 green and 2 blue marbles. Each voter randomly picks one marble from the urn, sees its color and then places it back in the urn. If it is red, he tells the truth (we assume that he must have voted either A or B – there is no other option). If it is green, he replies “B”, regardless of what he has actually voted and if it is blue, he replies “A”, again regardless of what he has actually voted.
      At the end of the exit poll, we got 40% A’s. What is the actual percentage of the A’s voters in this vote center?




      Probabilities is not my strong area of knowledge :(



      I was told that this is an easy example of Bayes theorem - I went through it but really can't find how to apply it!



      begin{align}
      mathsf P(Rmid G, B) & = frac{mathsf P(R,G,B)}{mathsf P(G, B)}
      end{align}



      OK of course the probability of R is 0.5, of G 0.333 and for B 0.2.
      But I don't know what to do then.







      probability






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 30 '18 at 9:37









      Eduardo Juan RamirezEduardo Juan Ramirez

      1405




      1405






















          2 Answers
          2






          active

          oldest

          votes


















          2












          $begingroup$

          A voter votes, picks a ball and based on the color of the ball and the rule in place says "A" or "B". What is the probability that the voter will say "A" in the end? The voter will eventually say "A" in two cases only:




          1. He really voted for option A and picked the red ball forcing him to tell the truth

          2. ...or the voter picked the blue ball that forces him to say "A"


          Translated to probabilities:



          $$p(text{voter says "A" in the end})= \
          p(text{voter voted for option A})times p(text{voter picked the red ball})+p(text{voter picked the blue ball})$$



          ...or with the numbers that you have:



          $$p(text{voter says "A" in the end})=
          p(text{voter voted for option A})times frac{5}{10}+frac{2}{10}tag{1}$$



          We also know (based on our exit poll) that:



          $$p(text{voter says "A" in the end})=40%=0.4$$



          Replace that into (1) and you get:



          $$0.4= p(text{voter voted for option A})times 0.5+0.2tag{1}$$



          $$p(text{voter voted for option A})=0.4=40%$$



          Turns out to be the same, but that's just a lucky coincidence.






          share|cite|improve this answer









          $endgroup$





















            1












            $begingroup$

            Suppose there are $1000$ voters, $10a$ vote for $A$ and $10b$ for $B$.



            Also let it be that $5a$ of the $A$-voters picks a red marble, $3a$ a green marble and $2a$ a blue marble.



            Similarly $5b$ of the $B$-voters picks a red marble, $3b$ a green marble and $2b$ a blue marble.



            Then in total $7a+2b$ will say to have voted for $A$, so we have the equalities:




            • $a+b=100$

            • $7a+2b=400$


            leading to $a=40$, i.e. $40%$ voters for $A$.






            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%2f3056648%2fexit-poll-in-elections%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









              2












              $begingroup$

              A voter votes, picks a ball and based on the color of the ball and the rule in place says "A" or "B". What is the probability that the voter will say "A" in the end? The voter will eventually say "A" in two cases only:




              1. He really voted for option A and picked the red ball forcing him to tell the truth

              2. ...or the voter picked the blue ball that forces him to say "A"


              Translated to probabilities:



              $$p(text{voter says "A" in the end})= \
              p(text{voter voted for option A})times p(text{voter picked the red ball})+p(text{voter picked the blue ball})$$



              ...or with the numbers that you have:



              $$p(text{voter says "A" in the end})=
              p(text{voter voted for option A})times frac{5}{10}+frac{2}{10}tag{1}$$



              We also know (based on our exit poll) that:



              $$p(text{voter says "A" in the end})=40%=0.4$$



              Replace that into (1) and you get:



              $$0.4= p(text{voter voted for option A})times 0.5+0.2tag{1}$$



              $$p(text{voter voted for option A})=0.4=40%$$



              Turns out to be the same, but that's just a lucky coincidence.






              share|cite|improve this answer









              $endgroup$


















                2












                $begingroup$

                A voter votes, picks a ball and based on the color of the ball and the rule in place says "A" or "B". What is the probability that the voter will say "A" in the end? The voter will eventually say "A" in two cases only:




                1. He really voted for option A and picked the red ball forcing him to tell the truth

                2. ...or the voter picked the blue ball that forces him to say "A"


                Translated to probabilities:



                $$p(text{voter says "A" in the end})= \
                p(text{voter voted for option A})times p(text{voter picked the red ball})+p(text{voter picked the blue ball})$$



                ...or with the numbers that you have:



                $$p(text{voter says "A" in the end})=
                p(text{voter voted for option A})times frac{5}{10}+frac{2}{10}tag{1}$$



                We also know (based on our exit poll) that:



                $$p(text{voter says "A" in the end})=40%=0.4$$



                Replace that into (1) and you get:



                $$0.4= p(text{voter voted for option A})times 0.5+0.2tag{1}$$



                $$p(text{voter voted for option A})=0.4=40%$$



                Turns out to be the same, but that's just a lucky coincidence.






                share|cite|improve this answer









                $endgroup$
















                  2












                  2








                  2





                  $begingroup$

                  A voter votes, picks a ball and based on the color of the ball and the rule in place says "A" or "B". What is the probability that the voter will say "A" in the end? The voter will eventually say "A" in two cases only:




                  1. He really voted for option A and picked the red ball forcing him to tell the truth

                  2. ...or the voter picked the blue ball that forces him to say "A"


                  Translated to probabilities:



                  $$p(text{voter says "A" in the end})= \
                  p(text{voter voted for option A})times p(text{voter picked the red ball})+p(text{voter picked the blue ball})$$



                  ...or with the numbers that you have:



                  $$p(text{voter says "A" in the end})=
                  p(text{voter voted for option A})times frac{5}{10}+frac{2}{10}tag{1}$$



                  We also know (based on our exit poll) that:



                  $$p(text{voter says "A" in the end})=40%=0.4$$



                  Replace that into (1) and you get:



                  $$0.4= p(text{voter voted for option A})times 0.5+0.2tag{1}$$



                  $$p(text{voter voted for option A})=0.4=40%$$



                  Turns out to be the same, but that's just a lucky coincidence.






                  share|cite|improve this answer









                  $endgroup$



                  A voter votes, picks a ball and based on the color of the ball and the rule in place says "A" or "B". What is the probability that the voter will say "A" in the end? The voter will eventually say "A" in two cases only:




                  1. He really voted for option A and picked the red ball forcing him to tell the truth

                  2. ...or the voter picked the blue ball that forces him to say "A"


                  Translated to probabilities:



                  $$p(text{voter says "A" in the end})= \
                  p(text{voter voted for option A})times p(text{voter picked the red ball})+p(text{voter picked the blue ball})$$



                  ...or with the numbers that you have:



                  $$p(text{voter says "A" in the end})=
                  p(text{voter voted for option A})times frac{5}{10}+frac{2}{10}tag{1}$$



                  We also know (based on our exit poll) that:



                  $$p(text{voter says "A" in the end})=40%=0.4$$



                  Replace that into (1) and you get:



                  $$0.4= p(text{voter voted for option A})times 0.5+0.2tag{1}$$



                  $$p(text{voter voted for option A})=0.4=40%$$



                  Turns out to be the same, but that's just a lucky coincidence.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Dec 30 '18 at 12:11









                  OldboyOldboy

                  8,88611138




                  8,88611138























                      1












                      $begingroup$

                      Suppose there are $1000$ voters, $10a$ vote for $A$ and $10b$ for $B$.



                      Also let it be that $5a$ of the $A$-voters picks a red marble, $3a$ a green marble and $2a$ a blue marble.



                      Similarly $5b$ of the $B$-voters picks a red marble, $3b$ a green marble and $2b$ a blue marble.



                      Then in total $7a+2b$ will say to have voted for $A$, so we have the equalities:




                      • $a+b=100$

                      • $7a+2b=400$


                      leading to $a=40$, i.e. $40%$ voters for $A$.






                      share|cite|improve this answer









                      $endgroup$


















                        1












                        $begingroup$

                        Suppose there are $1000$ voters, $10a$ vote for $A$ and $10b$ for $B$.



                        Also let it be that $5a$ of the $A$-voters picks a red marble, $3a$ a green marble and $2a$ a blue marble.



                        Similarly $5b$ of the $B$-voters picks a red marble, $3b$ a green marble and $2b$ a blue marble.



                        Then in total $7a+2b$ will say to have voted for $A$, so we have the equalities:




                        • $a+b=100$

                        • $7a+2b=400$


                        leading to $a=40$, i.e. $40%$ voters for $A$.






                        share|cite|improve this answer









                        $endgroup$
















                          1












                          1








                          1





                          $begingroup$

                          Suppose there are $1000$ voters, $10a$ vote for $A$ and $10b$ for $B$.



                          Also let it be that $5a$ of the $A$-voters picks a red marble, $3a$ a green marble and $2a$ a blue marble.



                          Similarly $5b$ of the $B$-voters picks a red marble, $3b$ a green marble and $2b$ a blue marble.



                          Then in total $7a+2b$ will say to have voted for $A$, so we have the equalities:




                          • $a+b=100$

                          • $7a+2b=400$


                          leading to $a=40$, i.e. $40%$ voters for $A$.






                          share|cite|improve this answer









                          $endgroup$



                          Suppose there are $1000$ voters, $10a$ vote for $A$ and $10b$ for $B$.



                          Also let it be that $5a$ of the $A$-voters picks a red marble, $3a$ a green marble and $2a$ a blue marble.



                          Similarly $5b$ of the $B$-voters picks a red marble, $3b$ a green marble and $2b$ a blue marble.



                          Then in total $7a+2b$ will say to have voted for $A$, so we have the equalities:




                          • $a+b=100$

                          • $7a+2b=400$


                          leading to $a=40$, i.e. $40%$ voters for $A$.







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Dec 30 '18 at 14:00









                          drhabdrhab

                          103k545136




                          103k545136






























                              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%2f3056648%2fexit-poll-in-elections%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

                              To store a contact into the json file from server.js file using a class in NodeJS

                              Redirect URL with Chrome Remote Debugging Android Devices

                              Dieringhausen