Reply

Join Date: Oct 2006
Posts: 2,915
Reputation: niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute 
Solved Threads: 304
Moderator
Featured Poster
niek_e's Avatar
niek_e niek_e is offline Offline
Cenosillicaphobiac

Bug in poll

 
1
  #1
Sep 30th, 2009
Attachment taken from here.

47.83%
34.78%
47.83%
21.74%
8.70%
21.74%
13.04%
4.35%
0%
34.78%
---------- +
234.31 %

Which is more then 100%

The problem is that the percentage is calculated from the total voters and the votes. In this example there are 23 voters, and for example 11 votes for C++, which is indeed 47.83. But it's fails to take into account that 1 voter can make more then 1 vote.
Last edited by niek_e; Sep 30th, 2009 at 11:47 am.
Attached Thumbnails
d.JPG  
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,047
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Bug in poll

 
0
  #2
Oct 3rd, 2009
This is the correct way to tally votes when someone can vote more than once. Regardless of whether someone votes more than once, 47% of all those polled use Java. 47% of all those polled use C++. Obviously that means that there are some people who use Java AND C++. But when polls allow for more than one answer, the nature of statistics don't require it to equal 100% because it's not as if you're breaking a pie into fractions and everyone belongs just in one of those pieces.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 2,915
Reputation: niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute 
Solved Threads: 304
Moderator
Featured Poster
niek_e's Avatar
niek_e niek_e is offline Offline
Cenosillicaphobiac

Re: Bug in poll

 
0
  #3
Oct 3rd, 2009
Originally Posted by cscgal View Post
the nature of statistics don't require it to equal 100%
That's a weird statement. Because the '%' symbol means percent. As in "per cent" Which is Latin for "x per 100".


The total in this poll is 234.31 per 100....
Last edited by niek_e; Oct 3rd, 2009 at 11:32 pm.
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,047
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: Bug in poll

 
3
  #4
Oct 3rd, 2009
Let me try to explain it a different way. Let's say that a bunch of people are given a survey and have to choose whether they eat apples, bananas, or pears.

Tommy likes apples and bananas.
Susie likes apples.
Johnny likes pears and bananas.

Two of the three people who voted like apples. Two-thirds of the people who voted like apples. 66% like apples.

Two of the three people who voted like bananas. Two-thirds of the people who voted like bananas. 66% like bananas.

One of the three people who voted like pears. One-third of the people who voted like pears. 33% like pears.

Now let's say someone comes along and asks how popular apples are. You can say that of the people you surveyed, 66% of them eat apples. And now someone else comes along and asks how popular banans are. You can say that of the people you surveyed, 66% of them eat bananas.

But 66% + 66% + 33% > 100%
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 818
Reputation: kaninelupus has a spectacular aura about kaninelupus has a spectacular aura about 
Solved Threads: 42
kaninelupus's Avatar
kaninelupus kaninelupus is offline Offline
Practically a Posting Shark

Re: Bug in poll

 
-1
  #5
Oct 4th, 2009
Nice explanation Dani.
GMX - What GMail could'a, would'a, should'a been :)
Reply With Quote Quick reply to this message  
Reply

Tags
bug, poll

Message:



Similar Threads
Other Threads in the DaniWeb Community Feedback Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC