Dumb math question: Get min sample size based on result?

Jul 26, 2006
143
2
81
If there is a survey with 10.21% people picked option A and 89.79% picked option B, how can I figure out the minimum amount of respondents that are mathematically possible?

Now obviously there might be some rounding going on, but is there a good mathematical way to figure this out without writing a script to brute force it?
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,282
3,904
75
Rounding makes a hash of things. For instance, if the rounding was to the nearest percent, you'd say there were ten people.
 
Jul 26, 2006
143
2
81
Rounding makes a hash of things. For instance, if the rounding was to the nearest percent, you'd say there were ten people.

It cannot be 10, because if there was 10 people that would be 10%, you would never 'round' to 10.21. Im thinking more along the lines of the number might be 10.2028 and they rounded to 10.21.
 

SOFTengCOMPelec

Platinum Member
May 9, 2013
2,417
75
91
141, 1381 = 10.2099927...
Very close with a tiny bit of rounding

1,381 People

Since the exact rounding method/system has NOT been specified. The question is probably ambiguous.
E.g. If NO rounding is permitted. Then 1,021 , 10,000 (people) is probably the correct answer.
 
Last edited:
Reactions: Ken g6
Jul 26, 2006
143
2
81
Tnx, but how did you get those numbers (the 141)? Is there a math way to figure this out or did you just write a simple php/python script or something?

This questioned bugged me because 10k is also what I figured, yet that number is impossible (should be closer to 500 total people included). This is also the only report item that specifies decimals. Thinking the HR person who did it messed up on that report or did something weird.
 

SOFTengCOMPelec

Platinum Member
May 9, 2013
2,417
75
91
You are right, I used a simple script/program to do it.
There probably is a quicker mathematical solution, but off-hand, I don't know what it is.

As it stands, I don't think the question is quite right, because it is ambiguous as regards rounding/precision.
 

compcons

Platinum Member
Oct 22, 2004
2,155
1,166
136
I can't hence my post. You just listed 100% of what I already know about this

Solve the first equation for a. It will have some numbers and b as a variable. Then substitute that new a in for all a in the second equation. The will give b as an actual number. The go back and substitute that for b in the first equation and solve for a.
 
Aug 11, 2008
10,451
642
126
I dont know how to do it personally, but there is something called a "power" calculation. It tells you the sample size needed to get a statistically significant result based on the uncertainty you are willing to accept. We use this every time we submit a grant for an animal or human study to estimate the number of subjects necessary. Like I said though, our statisticians do the calculations, so I dont know how to do it.
 

Paperdoc

Platinum Member
Aug 17, 2006
2,319
284
126
SOFTengCOMPelec has the right answer, and it's based on logic more than algebra. To start with we have only ONE variable: the fraction of the sample that picked Option A is 0.1021. Then there's the logical statement that the ONLY other choice was Option B, and hence the fraction that made that choice is already known.

The point about rounding is crucial. In attempting to answer OP's question we can make an assumption (since the info is not provided) that the results quoted are absolutely precise with NO rounding. The precision of the the result is 4 significant digits, so the possible variability in it is no more than than ± 1 in 10,000. Thus the MINIMUM sample size is 10,000. Now, a larger sample size could also generate exactly that result of 0.1021 (with an infinite number of zeroes after that to indicate absolute precision) ONLY if the sample size is exactly an integer multiple of 10,000. That is, the sample size also could be 20,000, 30,000, 100,000 or 1,000,000, etc. But it cannot be 19,287, for example, because that could not generate that exact result without any rounding. IF we assume that some rounding has been done already, then all bets are off and you can NOT determine a unique minimum sample size.

In terms of mathematics, this type of statistic falls into the realm of a Binary Distribution (that is, there are only two possible choices for an individual observation), an area widely used in studies of the occurence of defects and of reliability or failure of equipment.
 
Reactions: SOFTengCOMPelec

Paperdoc

Platinum Member
Aug 17, 2006
2,319
284
126
That won't work since there isn't an unique solution.
In fact, because there are ONLY TWO possible answers ( option A or option B), then by definition we know that, for the fractions who chose those options, A + B =1, with NO rounding errors at all! So the original equations proposed amount to:

A / (A +B) = A / 1 = A
B / (A + B) = B / 1 = B

That is NOT two equations in two independent unknowns; they cannot be "solved" using algebraic methods. As SOFTengCOMPelec and I said, this is a logic problem, and it can ONLY yield a unique solution if you ADD the ASSUMPTION that the fractions provided have NO rounding errors involved. Otherwise there is NO unique solution.
 
Reactions: SOFTengCOMPelec
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |