Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Stratified sampling
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Sampling from a population which can be partitioned into subpopulations}} {{more citations needed|date=December 2020}} In [[statistics]], '''stratified sampling''' is a method of [[sampling (statistics)|sampling]] from a [[Population (statistics)|population]] which can be [[partition of a set|partitioned]] into [[subpopulation]]s. [[File:Stratified_sampling.PNG|thumb|Stratified sampling example]] In [[statistical survey]]s, when subpopulations within an overall population vary, it could be advantageous to sample each subpopulation ('''stratum''') independently. '''Stratification''' is the process of dividing members of the population into homogeneous subgroups before sampling. The strata should define a partition of the population. That is, it should be ''[[Collectively exhaustive events|collectively exhaustive]]'' and ''[[Mutual exclusivity|mutually exclusive]]'': every element in the population must be assigned to one and only one stratum. Then sampling is done in each stratum, for example: by [[simple random sampling]]. The objective is to improve the precision of the sample by reducing [[sampling error]]. It can produce a [[weighted mean]] that has less variability than the [[arithmetic mean]] of a [[simple random sample]] of the population. In [[computational statistics]], stratified sampling is a method of [[variance reduction]] when [[Monte Carlo method]]s are used to estimate population statistics from a known population.<ref name="varred17">{{cite journal|last1=Botev|first1=Z.|last2=Ridder|first2=A.|title=Variance Reduction|journal= Wiley StatsRef: Statistics Reference Online|date=2017|pages=1–6|doi=10.1002/9781118445112.stat07975|isbn=9781118445112}}</ref> == Example== Assume that we need to estimate the average number of votes for each candidate in an election. Assume that a country has 3 towns: Town A has 1 million factory workers, Town B has 2 million office workers and Town C has 3 million retirees. We can choose to get a random sample of size 60 over the entire population but there is some chance that the resulting random sample is poorly balanced across these towns and hence is biased, causing a significant error in estimation (when the outcome of interest has a different distribution, in terms of the parameter of interest, between the towns). Instead, if we choose to take a random sample of 10, 20 and 30 from Town A, B and C respectively, then we can produce a smaller error in estimation for the same total sample size. This method is generally used when a population is not a homogeneous group. ==Strategies== #''Proportionate allocation'' uses a [[sampling fraction]] in each of the strata that are proportional to that of the total population. For instance, if the population consists of ''n'' total individuals, ''m'' of which are male and ''f'' female (and where ''m'' + ''f'' = ''n''), then the relative size of the two samples (''x''<sub>1</sub> = ''m''/''n'' males, ''x''<sub>2</sub> = ''f''/''n'' females) should reflect this proportion. #''Optimum allocation'' (or ''disproportionate allocation'') – The sampling fraction of each stratum is proportionate to both the proportion (as above) and the [[standard deviation]] of the distribution of the variable. Larger samples are taken in the strata with the greatest variability to generate the least possible overall sampling variance. [[Neyman allocation]] is a strategy of this type. A real-world example of using stratified sampling would be for a political [[Statistical survey|survey]]. If the respondents needed to reflect the diversity of the population, the researcher would specifically seek to include participants of various minority groups such as race or religion, based on their proportionality to the total population as mentioned above. A stratified survey could thus claim to be more representative of the population than a survey of [[simple random sampling]] or [[systematic sampling]]. Both mean and variance can be corrected for disproportionate sampling costs using [[Sample_size_determination#Stratified_sample_size|stratified sample sizes]]. ==Advantages== The reasons to use stratified sampling rather than [[Simple random sample|simple random sampling]] include<ref name=":0">{{Cite news|title = 6.1 How to Use Stratified Sampling {{!}} STAT 506|url = https://online.stat.psu.edu/stat506/lesson/6/6.1|newspaper = Pennstate: Statistics Online Courses|access-date = 2015-07-23}}</ref> # If measurements within strata have a lower standard deviation (as compared to the overall standard deviation in the population), stratification gives a smaller error in estimation. # For many applications, measurements become more manageable and/or cheaper when the population is grouped into strata. # When it is desirable to have estimates of the population [[Statistical parameter|parameters]] for groups within the population – stratified sampling verifies we have enough samples from the strata of interest. If the population density varies greatly within a region, stratified sampling will ensure that estimates can be made with equal accuracy in different parts of the region, and that comparisons of sub-regions can be made with equal [[statistical power]]. For example, in [[Ontario]] a survey taken throughout the province might use a larger sampling fraction in the less populated north, since the disparity in population between north and south is so great that a sampling fraction based on the provincial sample as a whole might result in the collection of only a handful of data from the north. ==Disadvantages== It would be a misapplication of the technique to make subgroups' sample sizes proportional to the amount of data available from the subgroups, rather than scaling sample sizes to subgroup sizes (or to their variances, if known to vary significantly—e.g. using an [[F-test|F test]]). Data representing each subgroup are taken to be of equal importance if suspected variation among them warrants stratified sampling. If subgroup variances differ significantly and the data needs to be stratified by variance, it is not possible to simultaneously make each subgroup sample size proportional to subgroup size within the total population. For an efficient way to partition sampling resources among groups that vary in their means, variance and costs, see [[Sample size#Stratified sample size|"optimum allocation"]]. The problem of stratified sampling in the case of unknown class priors (ratio of subpopulations in the entire population) can have a deleterious effect on the performance of any analysis on the dataset, e.g. classification.<ref name=minimax-sampling/> In that regard, [[minimax|minimax sampling ratio]] can be used to make the dataset robust with respect to uncertainty in the underlying data generating process.<ref name=minimax-sampling/> Combining sub-strata to ensure adequate numbers can lead to [[Simpson's paradox]], where trends that exist in different groups of data disappear or even reverse when the groups are combined. == Mean and standard error == The mean and variance of stratified random sampling are given by:<ref name=":0" /> :<math>\bar{x} = \frac{1}{N} \sum_{h=1}^L N_h \bar{x}_h</math> :<math>s_\bar{x}^2 = \sum_{h=1}^L \left(\frac{N_h}{N}\right)^2 \left(\frac{N_h - n_h}{N_h - 1}\right)\frac{s_h^2}{n_h}</math> where :<math>L ={}</math>number of strata :<math>N ={}</math>the sum of all stratum sizes :<math>N_h ={}</math>size of stratum <math>h</math> :<math>\bar{x}_h ={}</math>sample mean of stratum <math>h</math> :<math>n_h ={}</math>number of observations in stratum <math>h</math> :<math>s_h ={}</math>sample standard deviation of stratum <math>h</math> Note that the term <math>(N_h-n_h) / (N_h-1)</math>, which equals <math>1-\frac{n_h - 1}{N_h - 1}</math>, is a [[Standard error#Correction for finite population|finite population correction]] and <math>N_h</math> must be expressed in "sample units". Forgoing the finite population correction gives: :<math>s_\bar{x}^2 = \sum_{h=1}^L \left(\frac{N_h}{N}\right)^2 \frac{s_h^2}{n_h}</math> where the <math>w_h = N_h/N</math> is the population weight of stratum <math>h</math>. ==Sample size allocation== For the proportional allocation strategy, the size of the sample in each stratum is taken in proportion to the size of the stratum. Suppose that in a company there are the following staff:<ref>{{cite web |last1=Hunt |first1=Neville |last2=Tyrrell |first2=Sidney |year=2001 |url=http://nestor.coventry.ac.uk/~nhunt/meths/strati.html |archive-url=https://archive.today/20131013132818/http://nestor.coventry.ac.uk/~nhunt/meths/strati.html |url-status=dead |archive-date=13 October 2013 |title=Stratified Sampling |work=Webpage at Coventry University |access-date=12 July 2012 }}</ref> *male, full-time: 90 *male, part-time: 18 *female, full-time: 9 *female, part-time: 63 *total: 180 and we are asked to take a sample of 40 staff, stratified according to the above categories. The first step is to calculate the percentage of each group of the total. *% male, full-time = 90 ÷ 180 = 50% *% male, part-time = 18 ÷ 180 = 10% *% female, full-time = 9 ÷ 180 = 5% *% female, part-time = 63 ÷ 180 = 35% This tells us that of our sample of 40, *50% (20 individuals) should be male, full-time. *10% (4 individuals) should be male, part-time. *5% (2 individuals) should be female, full-time. *35% (14 individuals) should be female, part-time. Another easy way without having to calculate the percentage is to multiply each group size by the sample size and divide by the total population size (size of entire staff): * male, full-time = 90 × (40 ÷ 180) = 20 * male, part-time = 18 × (40 ÷ 180) = 4 * female, full-time = 9 × (40 ÷ 180) = 2 * female, part-time = 63 × (40 ÷ 180) = 14 ==See also== {{Portal|Mathematics}} *[[Opinion poll]] *[[Multistage sampling]] *[[Statistical benchmarking]] *[[Sample size#Stratified sample size|Stratified sample size]] *[[Stratification (clinical trials)]] ==References== {{Reflist|refs= <ref name=minimax-sampling>{{cite journal|last1=Shahrokh Esfahani|first1=Mohammad|last2=Dougherty, Edward R.|title=Effect of separate sampling on classification accuracy|journal=Bioinformatics|date=2014|volume=30|issue=2|pages=242–250|doi=10.1093/bioinformatics/btt662|pmid=24257187|author2-link=Edward R. Dougherty|doi-access=free}}</ref> }} ==Further reading== *{{cite book |last=Särndal |first=Carl-Erik |chapter=Stratified Sampling |title=Model Assisted Survey Sampling |location=New York |publisher=Springer |year=2003 |pages=100–109 |isbn=0-387-40620-4 |display-authors=etal}} {{Quality Tools}} {{Statistics|collection|state=collapsed}} {{DEFAULTSORT:Stratified Sampling}} [[Category:Sampling (statistics)]] [[Category:Sampling techniques]] [[Category:Variance reduction]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Cite book
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite news
(
edit
)
Template:Cite web
(
edit
)
Template:More citations needed
(
edit
)
Template:Portal
(
edit
)
Template:Quality Tools
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Statistics
(
edit
)