The statistical theory of estimating the population parameter proportion is relatively well understood, with several computational approaches available and very sound inference of its properties. However, in this blog we want to draw attention to a few critical aspects to consider, mainly associated with sample size.
Crucial aspects of sample size
Let’s start by defining the issue. Imagine that you are performing a biological study and the focus is on the evaluation of a binary response (i.e., 0 or 1) on a random sample of individuals from a population. For example, if a group of plants grown in a greenhouse develop a certain disease (coded as 1) or not (coded as 0), or if a random sample of people agree (coded as 1) or not (coded as 0) with an economic policy. And there are many other everyday examples of binary response data. The underlying distribution of this process is assumed to be a Binomial Probability Distribution with a population parameter p. The usual estimator for the parameter p is:
where s is the number of successes, and n is the number of observed samples. The simple estimator of the variability (or precision) of is:
Note that the largest variability will be obtained with = 0.5; hence, this represents our worst-case scenario.
With these two equations in mind, we will proceed to discuss three topics:
- what happens as we increase our sample size to a relatively large number,
- how the estimation of the variability based on the above formula compares to its approximation based on the Central Limit Theorem (CLT), and
- the issues when the population proportion p is very close to 0 or 1.
Large vs. small samples sizes: obtaining a reasonable range
The estimation of together with its variance was presented above. Let’s consider, for more clarity, a 95% confidence interval (CI) of the estimate of a proportion, with the assumption that is exactly 0.40 or 0.10. As expected, different values of n will produce different CIs. (Note – we have used the exact calculation of the CIs based on the Binomial distribution but this can be done using an approximation; more on this later).
Sample size impact on confidence intervals
A set of 95% CIs for different sample sizes are presented in the table below.

For both proportion values evaluated, a sample size of n = 10 results in a CI too wide to be of much value. For example, for = 0.4 the width of the CI is 0.612 (from 0.126 to 0.738). Only when the sample size is around n = 400 do we start obtaining a reasonable range. For = 0.1, a width of less than 0.1 is obtained around n = 200. Hence, for values closer to the extremes (say > 0.8 and < 0.2) we require fewer samples to obtain a sufficiently narrow CI. However, in general, we need samples in the hundreds to provide an estimate of the proportion with a reasonable level of precisions.
Balancing precision with sample size
In contrast, note that when n is large (i.e., n = 10,000) the CI widths are less than 0.02. For example, with a sample size of 10,000 the CI for = 0.2 is from 0.094 to 0.106. This is a very small range, providing us with good confidence in the estimator of our parameter. This is an important aspect, as with very large sample sizes we will have extremely narrow CIs and therefore samples larger than 40,000 are seldom justified.
Census vs. sampling: resource allocation
The above has critical implications on some census or inventories. For example, if a city with a population of 400,000 wants to determine the proportion of people that favour a particular policy, then it does not need to ask this question to more than 10,000 people. If this is asked to say all citizens, this will be a waste of resources, as even a sample of a quarter of the population (i.e., 10,000) will give a narrow CI ranging from only 0.395 to 0.405 (for of 0.40).
The issue of large samples has been used as a strong argument against taking a census of a population, where, for some statistics, asking detailed questions to a random subset of the population is a good use of the resources. It is important, however, to note that any sample obtained has to be unbiased and random (more on this later).
Approximated statistical inference: go large
You probably have heard about the Central Limit Theorem (CLT), where, as the sample size increases, the distribution of the mean of the data from ANY distribution will approximate (i.e., converge) to a Normal distribution. This is critical for many variables, but particularly useful for a discrete response such as those originating from a Binomial distribution. In this case, we can use the estimates:
and:
where is the variance of the raw data (zeros and ones).
This approximation gets better as the sample size gets larger, with the main advantage that all statistical inference, including CIs and hypothesis testing, can be based on the Normal distribution. But how large does n have to be for a reasonable approximation? We can explore this in the table below where the 95% confidence interval (CI) of the estimated proportion, with the assumption that is exactly 0.40 or 0.10, was obtained using both the exact calculation and the CLT approximation.

Approximating inference for precision
Here you can see that the exact and Normal approximation are already very close for n = 100, and for samples as large as 1,000 the differences are in the 3rd decimal place.
These results are relevant as they indicate that for large samples (say n > 400), we can safely rely on the Normal approximation for the majority of our statistical inference, and this includes not only estimation of variances and confidence intervals, but also hypothesis testing, and even calculation of significance levels and power of a test. All of these elements are clearly defined for Normal distributions and there is plenty of software, such as Genstat, that will facilitate these calculations.
Note, however, that the approximation to the Normal distribution for small samples is better for population proportions close to 0.5 than at the extremes of 0 or 1. For this reason, a common simple rule of thumb is that the Normal approximation can be used with some confidence if n x p > 10 or n x (1 – p) > 10.
Very small (or very large) population proportion: avoiding zero successes
An additional element to note that can have important implications is when the population proportion is expected to be very small (or very large). For example, if this value is 0.01 (1%), when we obtain a sample of 100 individuals, we have a probabilistic expectation that only 1 of them will be a success! And we have a high probability just by random chance that we will not obtain a single success! This situation is fine when we focus on the estimation of the proportion, but if our focus is on further studying or evaluating these ‘special’ success cases, then this is a rather small (and risky) sample to draw very strong conclusions from. For example, if we have a disease that presents almost no natural resistance in a population (think about American chestnut); then, finding those unusual genotypes that present the resistance might be of great value. However, with very low population probabilities (e.g. p < 0.001) we need to ensure that our study has a reasonable chance of including those samples with the attributes of interest!
In the table below we demonstrate this issue by calculating the probability, for a Binomial distribution, that under given and known values of p and n we will obtain exactly zero successes. Mathematically this is P(s = 0 | p, n). If this probability is small (low risk), we can have confidence that observing no successes will be a remote situation, meaning that we can proceed with our sampling. But if this probability is large (high risk), then we will have increased concerns that our study will provide no experimental units that are successes.

Looking at low probability scenarios
Some interesting results arise from the above table. For a proportion of p = 0.1 we can see that with 40 samples the probability of 0 successes is only 1.5%. This should lead us to a reasonable number of successes (expected value of 4 = 0.1 x 40), but note that the estimate of the population parameter will not be very precise (actually its exact 95% CI is from 0.028 to 0.237). However, the scenario with a population parameter of 0.01 (or 1%) provides for this sample size a probability of 66.9% of obtaining no successes. This is an extremely large risk indicating that practically 1 out of 3 replications of the same study will lead us to not a single success in the sample! To reduce this high probability to a reasonable level, we will require at least 400 samples, ensuring only a 1.8% probability of no successes (still 2 in 100). Note that for the population parameter of 0.001 (0.1%), the situation is even more inadequate, requiring in the order of thousands of samples to ensure a reasonable risk level.
The above results provide us with an important conclusion: that for the cases of very low probabilities, we require very large samples to ensure that we collect a reasonable number of successes. This is critical, for example, in our American Chestnut case, where we will require, as seen above, extremely large sample sizes to find some resistant individuals.
Sampling strategy: A shield against bias
As we have shown in these small cases, it is important to explore the statistical theory and properties of a Binomial distribution when we want to estimate a proportion. There are many other aspects to consider in this (and other distributions) that are important to evaluate when we move to the practical side of things.
One aspect that is critical to mention is that a sample drawn to measure a Binomial or Binary response assumes, under the above theory, that it will be totally random. In our practical applications we need to ensure this is the case, as non-random samples will lead to bias in our estimates. Non-random sampling in practice is quite common, for example, by sampling clusters of individuals (e.g., questionnaires applied in certain neighbourhoods in large cities, or assessing a disease on the borders of a field experiment). Therefore, a full and well-planned sampling protocol needs to be clearly defined and implemented.
Finally, we have several statistical methodologies that will analyse and model Binomially distributed responses. We have for example logistic regression and generalized linear mixed models. All of these tools will manage these responses under its correct underlying probability distribution, but as mentioned before, the origin and properties of these distributions need to be explored and better understood.