In a survey of 100 people (population=1000), 100 people responded A and 0 people responded B. How to determine margin of error?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I took a few stats classes in university but it's been a decade since I did any of this so I apologize if this is trivial.



I am looking at a research paper and 100 people were surveyed (total population is 1000). All 100 people responded A and 0 people responded B. Trying to determine how to calculate a margin of error for say a 95% (or 99%) confidence level, but things seem confusing (to me lol) when dealing with a completely lopsided response.



Can anyone help? Thank you!







share|cite|improve this question
























    up vote
    2
    down vote

    favorite












    I took a few stats classes in university but it's been a decade since I did any of this so I apologize if this is trivial.



    I am looking at a research paper and 100 people were surveyed (total population is 1000). All 100 people responded A and 0 people responded B. Trying to determine how to calculate a margin of error for say a 95% (or 99%) confidence level, but things seem confusing (to me lol) when dealing with a completely lopsided response.



    Can anyone help? Thank you!







    share|cite|improve this question






















      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I took a few stats classes in university but it's been a decade since I did any of this so I apologize if this is trivial.



      I am looking at a research paper and 100 people were surveyed (total population is 1000). All 100 people responded A and 0 people responded B. Trying to determine how to calculate a margin of error for say a 95% (or 99%) confidence level, but things seem confusing (to me lol) when dealing with a completely lopsided response.



      Can anyone help? Thank you!







      share|cite|improve this question












      I took a few stats classes in university but it's been a decade since I did any of this so I apologize if this is trivial.



      I am looking at a research paper and 100 people were surveyed (total population is 1000). All 100 people responded A and 0 people responded B. Trying to determine how to calculate a margin of error for say a 95% (or 99%) confidence level, but things seem confusing (to me lol) when dealing with a completely lopsided response.



      Can anyone help? Thank you!









      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Aug 9 at 20:46









      Emily Newsom

      111




      111




















          3 Answers
          3






          active

          oldest

          votes

















          up vote
          2
          down vote













          Imagine that $n$ people out of the population of $1000$ answered "A". So the proportion of people who answered "A" is:



          $$p=fracn1000$$



          Then, assuming that your sample of 100 was totally random, the probability of selecting $100$ people who answered "A" was:



          $$underbraceptimes p times ... times p_100 , mathrmtimes = p^100$$



          Since $p=fracn1000$, we have
          $$p^100=fracn^1001000^100$$



          For $95%$ confidence, set $p^100$ equal to $0.05$ and solve the equation:



          $$fracn^1001000^100=0.05$$



          $$implies fracn1000=sqrt[100]0.05=0.970$$



          $$implies n=970$$



          Which means that you can be $95%$ confident that $n$ (the number of people who responded "A") is greater than $970$.



          We would say that $970$ is the "critical value" at a "$5%$ significance level".



          Perhaps try to work through the calculation yourself with $0.01$ instead of $0.05$, to find the critical value at a $1%$ significance level.






          share|cite|improve this answer





























            up vote
            0
            down vote













            Roughly, the margin of error (for 95% confidence) for a sample of 100 is 10.



            But that is for a single variable. In this case, you have two variables ... so figuring out a threshold for statistical significance might make more sense (and that's not simply two times 10, but for 100 in each sample it would be 13



            Then again, you don't have two samples here, but just one, and the answers are dependent on each other. That is, I assume that they were given a choice: A or B. So, you can't use your standard statistical significance mesures here either.



            Common sense tells you that this result is totally significant though. Whether the difference needs to be 13 or 20, or ... surely this differece of 100 out of 100 should settle things.



            Finally, using typical margins of error calculations and statistical significance thresholds only work well when your results are not at the 'boundary' ... as I said, for a sample of 100 you can roughly take a margin of error of 10% ... but if you get 0, the margin is bound to be a bit lower than that. And in this case you clearly are at exactly this border ... so all the more reason to say that this is statistically significant.






            share|cite|improve this answer



























              up vote
              0
              down vote













              The actual formula for margin of error is:



              $$E = zsqrtfracwidehat p(1-widehat p)n$$



              So you can see that $1 - widehat p = 0$, hence $E = 0$ which isn't useful.



              This is the problem pointed out in Bram28's response.



              However, if I run a one proportion Z test to see what population proportion is statistically significantly different, I get $.97 (p = .039)$ So I would say a reasonable margin of error would be $.02$.



              That is, for a sample proportion of 1, it is reasonable to assume a margin of error of $.02$ whereby a population proportion of $.98$ is not statistically significantly different than $1$ where $(p >.05) (95%$ significance).






              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',
                convertImagesToLinks: true,
                noModals: false,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: 10,
                bindNavPrevention: true,
                postfix: "",
                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%2f2877677%2fin-a-survey-of-100-people-population-1000-100-people-responded-a-and-0-people%23new-answer', 'question_page');

                );

                Post as a guest






























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes








                up vote
                2
                down vote













                Imagine that $n$ people out of the population of $1000$ answered "A". So the proportion of people who answered "A" is:



                $$p=fracn1000$$



                Then, assuming that your sample of 100 was totally random, the probability of selecting $100$ people who answered "A" was:



                $$underbraceptimes p times ... times p_100 , mathrmtimes = p^100$$



                Since $p=fracn1000$, we have
                $$p^100=fracn^1001000^100$$



                For $95%$ confidence, set $p^100$ equal to $0.05$ and solve the equation:



                $$fracn^1001000^100=0.05$$



                $$implies fracn1000=sqrt[100]0.05=0.970$$



                $$implies n=970$$



                Which means that you can be $95%$ confident that $n$ (the number of people who responded "A") is greater than $970$.



                We would say that $970$ is the "critical value" at a "$5%$ significance level".



                Perhaps try to work through the calculation yourself with $0.01$ instead of $0.05$, to find the critical value at a $1%$ significance level.






                share|cite|improve this answer


























                  up vote
                  2
                  down vote













                  Imagine that $n$ people out of the population of $1000$ answered "A". So the proportion of people who answered "A" is:



                  $$p=fracn1000$$



                  Then, assuming that your sample of 100 was totally random, the probability of selecting $100$ people who answered "A" was:



                  $$underbraceptimes p times ... times p_100 , mathrmtimes = p^100$$



                  Since $p=fracn1000$, we have
                  $$p^100=fracn^1001000^100$$



                  For $95%$ confidence, set $p^100$ equal to $0.05$ and solve the equation:



                  $$fracn^1001000^100=0.05$$



                  $$implies fracn1000=sqrt[100]0.05=0.970$$



                  $$implies n=970$$



                  Which means that you can be $95%$ confident that $n$ (the number of people who responded "A") is greater than $970$.



                  We would say that $970$ is the "critical value" at a "$5%$ significance level".



                  Perhaps try to work through the calculation yourself with $0.01$ instead of $0.05$, to find the critical value at a $1%$ significance level.






                  share|cite|improve this answer
























                    up vote
                    2
                    down vote










                    up vote
                    2
                    down vote









                    Imagine that $n$ people out of the population of $1000$ answered "A". So the proportion of people who answered "A" is:



                    $$p=fracn1000$$



                    Then, assuming that your sample of 100 was totally random, the probability of selecting $100$ people who answered "A" was:



                    $$underbraceptimes p times ... times p_100 , mathrmtimes = p^100$$



                    Since $p=fracn1000$, we have
                    $$p^100=fracn^1001000^100$$



                    For $95%$ confidence, set $p^100$ equal to $0.05$ and solve the equation:



                    $$fracn^1001000^100=0.05$$



                    $$implies fracn1000=sqrt[100]0.05=0.970$$



                    $$implies n=970$$



                    Which means that you can be $95%$ confident that $n$ (the number of people who responded "A") is greater than $970$.



                    We would say that $970$ is the "critical value" at a "$5%$ significance level".



                    Perhaps try to work through the calculation yourself with $0.01$ instead of $0.05$, to find the critical value at a $1%$ significance level.






                    share|cite|improve this answer














                    Imagine that $n$ people out of the population of $1000$ answered "A". So the proportion of people who answered "A" is:



                    $$p=fracn1000$$



                    Then, assuming that your sample of 100 was totally random, the probability of selecting $100$ people who answered "A" was:



                    $$underbraceptimes p times ... times p_100 , mathrmtimes = p^100$$



                    Since $p=fracn1000$, we have
                    $$p^100=fracn^1001000^100$$



                    For $95%$ confidence, set $p^100$ equal to $0.05$ and solve the equation:



                    $$fracn^1001000^100=0.05$$



                    $$implies fracn1000=sqrt[100]0.05=0.970$$



                    $$implies n=970$$



                    Which means that you can be $95%$ confident that $n$ (the number of people who responded "A") is greater than $970$.



                    We would say that $970$ is the "critical value" at a "$5%$ significance level".



                    Perhaps try to work through the calculation yourself with $0.01$ instead of $0.05$, to find the critical value at a $1%$ significance level.







                    share|cite|improve this answer














                    share|cite|improve this answer



                    share|cite|improve this answer








                    edited Aug 9 at 21:52

























                    answered Aug 9 at 21:42









                    Malkin

                    1,482523




                    1,482523




















                        up vote
                        0
                        down vote













                        Roughly, the margin of error (for 95% confidence) for a sample of 100 is 10.



                        But that is for a single variable. In this case, you have two variables ... so figuring out a threshold for statistical significance might make more sense (and that's not simply two times 10, but for 100 in each sample it would be 13



                        Then again, you don't have two samples here, but just one, and the answers are dependent on each other. That is, I assume that they were given a choice: A or B. So, you can't use your standard statistical significance mesures here either.



                        Common sense tells you that this result is totally significant though. Whether the difference needs to be 13 or 20, or ... surely this differece of 100 out of 100 should settle things.



                        Finally, using typical margins of error calculations and statistical significance thresholds only work well when your results are not at the 'boundary' ... as I said, for a sample of 100 you can roughly take a margin of error of 10% ... but if you get 0, the margin is bound to be a bit lower than that. And in this case you clearly are at exactly this border ... so all the more reason to say that this is statistically significant.






                        share|cite|improve this answer
























                          up vote
                          0
                          down vote













                          Roughly, the margin of error (for 95% confidence) for a sample of 100 is 10.



                          But that is for a single variable. In this case, you have two variables ... so figuring out a threshold for statistical significance might make more sense (and that's not simply two times 10, but for 100 in each sample it would be 13



                          Then again, you don't have two samples here, but just one, and the answers are dependent on each other. That is, I assume that they were given a choice: A or B. So, you can't use your standard statistical significance mesures here either.



                          Common sense tells you that this result is totally significant though. Whether the difference needs to be 13 or 20, or ... surely this differece of 100 out of 100 should settle things.



                          Finally, using typical margins of error calculations and statistical significance thresholds only work well when your results are not at the 'boundary' ... as I said, for a sample of 100 you can roughly take a margin of error of 10% ... but if you get 0, the margin is bound to be a bit lower than that. And in this case you clearly are at exactly this border ... so all the more reason to say that this is statistically significant.






                          share|cite|improve this answer






















                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            Roughly, the margin of error (for 95% confidence) for a sample of 100 is 10.



                            But that is for a single variable. In this case, you have two variables ... so figuring out a threshold for statistical significance might make more sense (and that's not simply two times 10, but for 100 in each sample it would be 13



                            Then again, you don't have two samples here, but just one, and the answers are dependent on each other. That is, I assume that they were given a choice: A or B. So, you can't use your standard statistical significance mesures here either.



                            Common sense tells you that this result is totally significant though. Whether the difference needs to be 13 or 20, or ... surely this differece of 100 out of 100 should settle things.



                            Finally, using typical margins of error calculations and statistical significance thresholds only work well when your results are not at the 'boundary' ... as I said, for a sample of 100 you can roughly take a margin of error of 10% ... but if you get 0, the margin is bound to be a bit lower than that. And in this case you clearly are at exactly this border ... so all the more reason to say that this is statistically significant.






                            share|cite|improve this answer












                            Roughly, the margin of error (for 95% confidence) for a sample of 100 is 10.



                            But that is for a single variable. In this case, you have two variables ... so figuring out a threshold for statistical significance might make more sense (and that's not simply two times 10, but for 100 in each sample it would be 13



                            Then again, you don't have two samples here, but just one, and the answers are dependent on each other. That is, I assume that they were given a choice: A or B. So, you can't use your standard statistical significance mesures here either.



                            Common sense tells you that this result is totally significant though. Whether the difference needs to be 13 or 20, or ... surely this differece of 100 out of 100 should settle things.



                            Finally, using typical margins of error calculations and statistical significance thresholds only work well when your results are not at the 'boundary' ... as I said, for a sample of 100 you can roughly take a margin of error of 10% ... but if you get 0, the margin is bound to be a bit lower than that. And in this case you clearly are at exactly this border ... so all the more reason to say that this is statistically significant.







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Aug 9 at 21:05









                            Bram28

                            55.2k33982




                            55.2k33982




















                                up vote
                                0
                                down vote













                                The actual formula for margin of error is:



                                $$E = zsqrtfracwidehat p(1-widehat p)n$$



                                So you can see that $1 - widehat p = 0$, hence $E = 0$ which isn't useful.



                                This is the problem pointed out in Bram28's response.



                                However, if I run a one proportion Z test to see what population proportion is statistically significantly different, I get $.97 (p = .039)$ So I would say a reasonable margin of error would be $.02$.



                                That is, for a sample proportion of 1, it is reasonable to assume a margin of error of $.02$ whereby a population proportion of $.98$ is not statistically significantly different than $1$ where $(p >.05) (95%$ significance).






                                share|cite|improve this answer
























                                  up vote
                                  0
                                  down vote













                                  The actual formula for margin of error is:



                                  $$E = zsqrtfracwidehat p(1-widehat p)n$$



                                  So you can see that $1 - widehat p = 0$, hence $E = 0$ which isn't useful.



                                  This is the problem pointed out in Bram28's response.



                                  However, if I run a one proportion Z test to see what population proportion is statistically significantly different, I get $.97 (p = .039)$ So I would say a reasonable margin of error would be $.02$.



                                  That is, for a sample proportion of 1, it is reasonable to assume a margin of error of $.02$ whereby a population proportion of $.98$ is not statistically significantly different than $1$ where $(p >.05) (95%$ significance).






                                  share|cite|improve this answer






















                                    up vote
                                    0
                                    down vote










                                    up vote
                                    0
                                    down vote









                                    The actual formula for margin of error is:



                                    $$E = zsqrtfracwidehat p(1-widehat p)n$$



                                    So you can see that $1 - widehat p = 0$, hence $E = 0$ which isn't useful.



                                    This is the problem pointed out in Bram28's response.



                                    However, if I run a one proportion Z test to see what population proportion is statistically significantly different, I get $.97 (p = .039)$ So I would say a reasonable margin of error would be $.02$.



                                    That is, for a sample proportion of 1, it is reasonable to assume a margin of error of $.02$ whereby a population proportion of $.98$ is not statistically significantly different than $1$ where $(p >.05) (95%$ significance).






                                    share|cite|improve this answer












                                    The actual formula for margin of error is:



                                    $$E = zsqrtfracwidehat p(1-widehat p)n$$



                                    So you can see that $1 - widehat p = 0$, hence $E = 0$ which isn't useful.



                                    This is the problem pointed out in Bram28's response.



                                    However, if I run a one proportion Z test to see what population proportion is statistically significantly different, I get $.97 (p = .039)$ So I would say a reasonable margin of error would be $.02$.



                                    That is, for a sample proportion of 1, it is reasonable to assume a margin of error of $.02$ whereby a population proportion of $.98$ is not statistically significantly different than $1$ where $(p >.05) (95%$ significance).







                                    share|cite|improve this answer












                                    share|cite|improve this answer



                                    share|cite|improve this answer










                                    answered Aug 9 at 22:18









                                    Phil H

                                    1,8442311




                                    1,8442311






















                                         

                                        draft saved


                                        draft discarded


























                                         


                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2877677%2fin-a-survey-of-100-people-population-1000-100-people-responded-a-and-0-people%23new-answer', 'question_page');

                                        );

                                        Post as a guest













































































                                        這個網誌中的熱門文章

                                        Is there any way to eliminate the singular point to solve this integral by hand or by approximations?

                                        Why am i infinitely getting the same tweet with the Twitter Search API?

                                        Carbon dioxide