[{"@context":"http:\/\/schema.org\/","@type":"BlogPosting","@id":"https:\/\/wiki.edu.vn\/en\/wiki24\/sample-size-determination-wikipedia\/#BlogPosting","mainEntityOfPage":"https:\/\/wiki.edu.vn\/en\/wiki24\/sample-size-determination-wikipedia\/","headline":"Sample size determination – Wikipedia","name":"Sample size determination – Wikipedia","description":"Statistical way determining sample size of population Sample size determination is the act of choosing the number of observations or","datePublished":"2020-06-11","dateModified":"2020-06-11","author":{"@type":"Person","@id":"https:\/\/wiki.edu.vn\/en\/wiki24\/author\/lordneo\/#Person","name":"lordneo","url":"https:\/\/wiki.edu.vn\/en\/wiki24\/author\/lordneo\/","image":{"@type":"ImageObject","@id":"https:\/\/secure.gravatar.com\/avatar\/c9645c498c9701c88b89b8537773dd7c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c9645c498c9701c88b89b8537773dd7c?s=96&d=mm&r=g","height":96,"width":96}},"publisher":{"@type":"Organization","name":"Enzyklop\u00e4die","logo":{"@type":"ImageObject","@id":"https:\/\/wiki.edu.vn\/wiki4\/wp-content\/uploads\/2023\/08\/download.jpg","url":"https:\/\/wiki.edu.vn\/wiki4\/wp-content\/uploads\/2023\/08\/download.jpg","width":600,"height":60}},"image":{"@type":"ImageObject","@id":"https:\/\/wikimedia.org\/api\/rest_v1\/media\/math\/render\/svg\/bf5d898a07e3f77cf494d9f9de94ef2eaa684acd","url":"https:\/\/wikimedia.org\/api\/rest_v1\/media\/math\/render\/svg\/bf5d898a07e3f77cf494d9f9de94ef2eaa684acd","height":"","width":""},"url":"https:\/\/wiki.edu.vn\/en\/wiki24\/sample-size-determination-wikipedia\/","about":["Wiki"],"wordCount":11668,"articleBody":"Statistical way determining sample size of populationSample size determination is the act of choosing the number of observations or replicates to include in a statistical sample. The sample size is an important feature of any empirical study in which the goal is to make inferences about a population from a sample. In practice, the sample size used in a study is usually determined based on the cost, time, or convenience of collecting the data, and the need for it to offer sufficient statistical power. In complicated studies there may be several different sample sizes: for example, in a stratified survey there would be different sizes for each stratum. In a census, data is sought for an entire population, hence the intended sample size is equal to the population. In experimental design, where a study may be divided into different treatment groups, there may be different sample sizes for each group.Sample sizes may be chosen in several ways:using experience \u2013 small samples, though sometimes unavoidable, can result in wide confidence intervals and risk of errors in statistical hypothesis testing.using a target variance for an estimate to be derived from the sample eventually obtained, i.e., if a high precision is required (narrow confidence interval) this translates to a low target variance of the estimator.using a target for the power of a statistical test to be applied once the sample is collected.using a confidence level, i.e. the larger the required confidence level, the larger the sample size (given a constant precision requirement).Table of ContentsIntroduction[edit]Estimation[edit]Estimation of a proportion[edit]Estimation of a mean[edit]Required sample sizes for hypothesis tests [edit]Tables[edit]Mead’s resource equation[edit]Cumulative distribution function[edit]Stratified sample size[edit]Qualitative research[edit]See also[edit]References[edit]General references[edit]Further reading[edit]External links[edit]Introduction[edit]Larger sample sizes generally lead to increased precision when estimating unknown parameters. For example, if we wish to know the proportion of a certain species of fish that is infected with a pathogen, we would generally have a more precise estimate of this proportion if we sampled and examined 200 rather than 100 fish. Several fundamental facts of mathematical statistics describe this phenomenon, including the law of large numbers and the central limit theorem.In some situations, the increase in precision for larger sample sizes is minimal, or even non-existent. This can result from the presence of systematic errors or strong dependence in the data, or if the data follows a heavy-tailed distribution.Sample sizes may be evaluated by the quality of the resulting estimates. For example, if a proportion is being estimated, one may wish to have the 95% confidence interval be less than 0.06 units wide. Alternatively, sample size may be assessed based on the power of a hypothesis test. For example, if we are comparing the support for a certain political candidate among women with the support for that candidate among men, we may wish to have 80% power to detect a difference in the support levels of 0.04 units.Estimation[edit]Estimation of a proportion[edit]A relatively simple situation is estimation of a proportion. For example, we may wish to estimate the proportion of residents in a community who are at least 65 years old.The estimator of a proportion is p^=X\/n{displaystyle {hat {p}}=X\/n}, where X is the number of ‘positive’ e.g., the number of people out of the n sampled people who are at least 65 years old). When the observations are independent, this estimator has a (scaled) binomial distribution (and is also the sample mean of data from a Bernoulli distribution). The maximum variance of this distribution is 0.25, which occurs when the true parameter is p = 0.5. In practice, since p is unknown, the maximum variance is often used for sample size assessments. If a reasonable estimate for p is known the quantity p(1\u2212p){displaystyle p(1-p)} may be used in place of 0.25.For sufficiently large n, the distribution of p^{displaystyle {hat {p}}} will be closely approximated by a normal distribution.[1] Using this and the Wald method for the binomial distribution, yields a confidence interval of the form(p^\u2212Z0.25n,p^+Z0.25n){displaystyle left({widehat {p}}-Z{sqrt {frac {0.25}{n}}},quad {widehat {p}}+Z{sqrt {frac {0.25}{n}}}right)} ,where Z is a standard Z-score for the desired level of confidence (1.96 for a 95% confidence interval).If we wish to have a confidence interval that is W units total in width (W\/2 on each side of the sample mean), we will solveZ0.25n=W\/2{displaystyle Z{sqrt {frac {0.25}{n}}}=W\/2}for n, yielding the sample size sample sizes for binomial proportions given different confidence levels and margins of errorn=Z2W2{displaystyle n={frac {Z^{2}}{W^{2}}}} , in the case of using .5 as the most conservative estimate of the proportion. (Note: W\/2 = margin of error.)In the figure below one can observe how sample sizes for binomial proportions change given different confidence levels and margins of error.Otherwise, the formula would be Zp(1\u2212p)n=W\/2{displaystyle Z{sqrt {frac {p(1-p)}{n}}}=W\/2} , which yields n=4Z2p(1\u2212p)W2{displaystyle n={frac {4Z^{2}p(1-p)}{W^{2}}}}.For example, if we are interested in estimating the proportion of the US population who supports a particular presidential candidate, and we want the width of 95% confidence interval to be at most 2 percentage points (0.02), then we would need a sample size of (1.96)2\/ (0.022) = 9604. It is reasonable to use the 0.5 estimate for p in this case because the presidential races are often close to 50\/50, and it is also prudent to use a conservative estimate. The margin of error in this case is 1 percentage point (half of 0.02).The foregoing is commonly simplified(p^\u22121.960.25n,p^+1.960.25n){displaystyle left({widehat {p}}-1.96{sqrt {frac {0.25}{n}}},{widehat {p}}+1.96{sqrt {frac {0.25}{n}}}right)}will form a 95% confidence interval for the true proportion. If this interval needs to be no more than W units wide, the equation40.25n=W{displaystyle 4{sqrt {frac {0.25}{n}}}=W}can be solved for n, yielding[2][3]n\u00a0=\u00a04\/W2\u00a0=\u00a01\/B2 where B is the error bound on the estimate, i.e., the estimate is usually given as within \u00b1 B. For B = 10% one requires n = 100, for B = 5% one needs n = 400, for B = 3% the requirement approximates to n = 1000, while for B = 1% a sample size of n = 10000 is required. These numbers are quoted often in news reports of opinion polls and other sample surveys. However, the results reported may not be the exact value as numbers are preferably rounded up. Knowing that the value of the n is the minimum number of sample points needed to acquire the desired result, the number of respondents then must lie on or above the minimum.Estimation of a mean[edit]When estimating the population mean using an independent and identically distributed (iid) sample of size n, where each data value has variance \u03c32, the standard error of the sample mean is:\u03c3n.{displaystyle {frac {sigma }{sqrt {n}}}.}This expression describes quantitatively how the estimate becomes more precise as the sample size increases. Using the central limit theorem to justify approximating the sample mean with a normal distribution yields a confidence interval of the form(x\u00af\u2212Z\u03c3n,x\u00af+Z\u03c3n){displaystyle left({bar {x}}-{frac {Zsigma }{sqrt {n}}},quad {bar {x}}+{frac {Zsigma }{sqrt {n}}}right)} ,where Z is a standard Z-score for the desired level of confidence (1.96 for a 95% confidence interval).If we wish to have a confidence interval that is W units total in width (W\/2 being the margin of error on each side of the sample mean), we would solveZ\u03c3n=W\/2{displaystyle {frac {Zsigma }{sqrt {n}}}=W\/2}for n, yielding the sample sizen=4Z2\u03c32W2{displaystyle n={frac {4Z^{2}sigma ^{2}}{W^{2}}}}.For example, if we are interested in estimating the amount by which a drug lowers a subject’s blood pressure with a 95% confidence interval that is six units wide, and we know that the standard deviation of blood pressure in the population is 15, then the required sample size is 4\u00d71.962\u00d715262=96.04{displaystyle {frac {4times 1.96^{2}times 15^{2}}{6^{2}}}=96.04}, which would be rounded up to 97, because the obtained value is the minimum sample size, and sample sizes must be integers and must lie on or above the calculated minimum.Required sample sizes for hypothesis tests [edit]A common problem faced by statisticians is calculating the sample size required to yield a certain power for a test, given a predetermined Type I error rate \u03b1. As follows, this can be estimated by pre-determined tables for certain values, by Mead’s resource equation, or, more generally, by the cumulative distribution function:Tables[edit][4]\u00a0PowerCohen’s d0.20.50.80.25841460.5019332130.6024640160.7031050200.8039364260.9052685340.95651105420.9992014858The table shown on the right can be used in a two-sample t-test to estimate the sample sizes of an experimental group and a control group that are of equal size, that is, the total number of individuals in the trial is twice that of the number given, and the desired significance level is 0.05.[4] The parameters used are:Mead’s resource equation[edit]Mead’s resource equation is often used for estimating sample sizes of laboratory animals, as well as in many other laboratory experiments. It may not be as accurate as using other methods in estimating sample size, but gives a hint of what is the appropriate sample size where parameters such as expected standard deviations or expected differences in values between groups are unknown or very hard to estimate.[5]All the parameters in the equation are in fact the degrees of freedom of the number of their concepts, and hence, their numbers are subtracted by 1 before insertion into the equation.The equation is:[5]E=N\u2212B\u2212T,{displaystyle E=N-B-T,}where:N is the total number of individuals or units in the study (minus 1)B is the blocking component, representing environmental effects allowed for in the design (minus 1)T is the treatment component, corresponding to the number of treatment groups (including control group) being used, or the number of questions being asked (minus 1)E is the degrees of freedom of the error component and should be somewhere between 10 and 20.For example, if a study using laboratory animals is planned with four treatment groups (T=3), with eight animals per group, making 32 animals total (N=31), without any further stratification (B=0), then E would equal 28, which is above the cutoff of 20, indicating that sample size may be a bit too large, and six animals per group might be more appropriate.[6]Cumulative distribution function[edit]Let Xi, i = 1, 2, …, n be independent observations taken from a normal distribution with unknown mean \u03bc and known variance \u03c32. Consider two hypotheses, a null hypothesis:H0:\u03bc=0{displaystyle H_{0}:mu =0}and an alternative hypothesis:Ha:\u03bc=\u03bc\u2217{displaystyle H_{a}:mu =mu ^{*}}for some ‘smallest significant difference’ \u03bc*\u00a0>\u00a00. This is the smallest value for which we care about observing a difference. Now, if we wish to (1) reject H0 with a probability of at least 1\u00a0\u2212\u00a0\u03b2 whenHa is true (i.e. a power of 1\u00a0\u2212\u00a0\u03b2), and (2) reject H0 with probability \u03b1 when H0 is true, then we need the following:If z\u03b1 is the upper \u03b1 percentage point of the standard normal distribution, then"},{"@context":"http:\/\/schema.org\/","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"https:\/\/wiki.edu.vn\/en\/wiki24\/#breadcrumbitem","name":"Enzyklop\u00e4die"}},{"@type":"ListItem","position":2,"item":{"@id":"https:\/\/wiki.edu.vn\/en\/wiki24\/sample-size-determination-wikipedia\/#breadcrumbitem","name":"Sample size determination – Wikipedia"}}]}]