What Is Sample Size?

Written by Coursera Staff • Updated on

Deciding on your sample size is an important step in developing robust, meaningful insights from your data. Learn what sample size is and why having the correct sample size is important in statistical research.

[Featured image] Closeup of a hand holding a pen and marking answers on a statistical survey.

Sample size is the number of observations or individuals included in a study or experiment. It is the number of individuals, items, or data points selected from a larger population to represent it statistically. The sample size is a crucial consideration in research because it directly impacts the reliability and extent to which you can generalize those findings to the larger population.

A larger sample size can potentially enhance the precision of estimates, leading to a narrower margin of error. In other words, the results from a larger sample will likely be closer to the true population parameter. A larger sample size can also increase the power of a statistical test. This means that with a larger sample, you are less likely to find results that are not actually true.

How to calculate margin of error for a sample

You can calculate your margin of error based on your sample size and other measures within your data, such as the sample proportion. When you have a sample size above 30, you use the equation below: 

Margin of error = Z x sqrt(p(1-p) / n)

In the above equation, Z is your critical value, p is your sample proportion, and n is your sample size. By adding and subtracting this value from your sample statistic, you can create a confidence interval, which measures how certain you are that the true population value falls in your estimated interval.

Placeholder

However, having a sample size that is too large can cost unnecessary resources and time. A good study will be able to find the most accurate results with the least amount of subjects.

How do you determine sample size?

Determining the appropriate sample size for a study will usually involve considering the purpose of the study, population size, risk of committing an error, and available resources. When determining the appropriate sample size, you should consider factors such as the following:

Your study design

Different types of studies might require different sample sizes. For example, a study aiming to understand a rare disease might need a larger sample size to ensure it captures enough cases for analysis. Whether you choose to conduct an observational study, cohort study, case-control study, or experimental study will affect the sample size you need.

Your population

In general, with a smaller population, you will need a higher sampling ratio than in a larger population. If you are conducting a survey, you may also need to factor in your estimated response rate to ensure your data collection methods are designed to sample enough people to get the number of responses you need. If you have a high degree of variability in your target population, you may also need to increase your sample size to increase the likelihood that your sample represents the population of interest.

Your statistical methods

You can use several statistical analytics methods to calculate an appropriate sample size, such as power analysis. This method considers the effect size, significance level, and power to calculate the sample size. Essentially, you will need to determine what level of confidence you want to have in your results and how much error you are willing to accept.

Your available resources

Lastly, practical considerations like time, money, and availability of subjects can affect the chosen sample size. While a larger sample size may offer more accurate results, it can also require more resources to collect and analyze.

Related terms

Learn data analytics on Coursera

Understanding sample size and its significance can help you perform many analytical tasks. The appropriate sample size is pivotal for the validity and reliability of the study's findings and for ensuring that the resources used in conducting the research are efficiently utilized.

To expand your analytical skills and build a job-ready portfolio, you can take exciting courses and Specializations from leading institutions on Coursera. Start by building your foundational skills and earning a certificate to show employers with the Google Data Analytics Professional Certificate on Coursera.

Keep reading

Updated on
Written by:

Editorial Team

Coursera’s editorial team is comprised of highly experienced professional editors, writers, and fact...

This content has been made available for informational purposes only. Learners are advised to conduct additional research to ensure that courses and other credentials pursued meet their personal, professional, and financial goals.