By Elena Llaudet, co-author of Data Analysis for Social Science (DSS)
Random sampling creates a representative sample of the target population when the sample size n is large enough.
Suppose the population consists of 1,000 individuals, where 20% of them are orange, 10% are blue, 20% are pink, 30% are green, and 20% are purple. If we randomly select a sample of n individuals from this population, the sample will have similar proportions of each type of individual as long as n is large enough. Let's take a closer look:
CONCLUSION: Random sampling ensures that there are no systematic differences between the sample and the population, but it does not guarantee that there will be no differences due to chance alone. Fortunately, these chance differences tend to diminish as n increases.
Note: N is the total population size and n is the sample size. The white numbers on top of each bar show the actual count of individuals of that type in each group.