sampling bias sampling bias in statistics, sampling bias is a bias in which a sample is collected in such a way that some members of the intended population have a lower or higher sampling probability than others. it results in a biased sample of a population (or non-human factors) in which all individuals, or instances, were not equally likely to have been selected. if this is not accounted for, results can be erroneously attributed to the phenomenon under study rather than to the method of sampling. medical sources sometimes refer to sampling bias as ascertainment bias. ascertainment bias has basically the same definition, but is still sometimes classified as a separate type of bias. distinction from selection bias sampling bias is usually classified as a subtype of selection bias, sometimes specifically termed sample selection bias, but some classify it as a separate type of bias. a distinction, albeit not universally accepted, of sampling bias is that it undermines the external validity of a test (the ability of its results to be generalized to the entire population), while selection bias mainly addresses internal validity for differences or similarities found in the sample at hand. in this sense, errors occurring in the process of gathering the sample or cohort cause sampling bias, while errors in any process thereafter cause selection bias. however, selection bias and sampling bias are often used synonymously. types selection from a specific real area. for example, a survey of high school students to measure teenage use of illegal drugs will be a biased sample because it does not include home-schooled students or dropouts. a sample is also biased if certain members are underrepresented or overrepresented relative to others in the population. for example, a "man on the street" interview which selects people who walk by a certain location is going to have an overrepresentation of healthy individuals who are more likely to be out of the home than individuals with a chronic illness. this may be an extreme form of biased sampling, because certain members of the population are totally excluded from the sample (that is, they have zero probability of being selected). self-selection bias (see also non-response bias), which is possible whenever the group of people being studied has any form of control over whether to participate (as current standards of human-subject research ethics require for many real-time and some longitudinal forms of study). participants' decision to participate may be correlated with traits that affect the study, making the participants a non-representative sample. for example, people who have strong opinions or substantial knowledge may be more willing to spend time answering a survey than those who do not. another example is online and phone-in polls, which are biased samples because the respondents are self-selected. those individuals who are highly motivated to respond, typically individuals who have strong opinions, are overrepresented, and individuals that are indifferent or apathetic are less likely to respond. this often leads to a polarization of responses with extreme perspectives being given a disproportionate weight in the summary. as a result, these types of polls are regarded as unscientific. exclusion bias results from exclusion of particular groups from the sample, e.g. exclusion of subjects who have recently migrated into the study area (this may occur when newcomers are not available in a register used to identify the source population). excluding subjects who move out of the study area during follow-up is rather equivalent of dropout or nonresponse, a selection bias in that it rather affects the internal validity of the study. healthy user bias, when the study population is likely healthier than the general population. for example, someone in poor health is unlikely to have a job as manual laborer, so if a study is conducted on manual laborers, the health of the general population will likely be overestimated. berkson's fallacy, when the study population is selected from a hospital and so is less healthy than the general population. this can result in a spurious negative correlation between diseases: a hospital patient without diabetes is more likely to have another given disease such as cholecystitis, since they must have had some reason to enter the hospital in the first place. overmatching, matching for an apparent confounder that actually is a result of the exposure. the control group becomes more similar to the cases in regard to exposure than does the general population. survivorship bias, in which only "surviving" subjects are selected, ignoring those that fell out of view. for example, using the record of current companies as an indicator of business climate or economy ignores the businesses that failed and no longer exist. malmquist bias, an effect in observational astronomy which leads to the preferential detection of intrinsically bright objects. symptom-based sampling the study of medical conditions begins with anecdotal reports. by their nature, such reports only include those referred for diagnosis and treatment. a child who can't function in school is more likely to be diagnosed with dyslexia than a child who struggles but passes. a child examined for one condition is more likely to be tested for and diagnosed with other conditions, skewing comorbidity statistics. as certain diagnoses become associated with behavior problems or intellectual disability, parents try to prevent their children from being stigmatized with those diagnoses, introducing further bias. studies carefully selected from whole populations are showing that many conditions are much more common and usually much milder than formerly believed. truncate selection in pedigree studies simple pedigree example of sampling bias geneticists are limited in how they can obtain data from human populations. as an example, consider a human characteristic. we are interested in deciding if the characteristic is inherited as a simple mendelian trait. following the laws of mendelian inheritance, if the parents in a family do not have the characteristic, but carry the allele for it, they are carriers (e.g. a non-expressive heterozygote). in this case their children will each have a 25% chance of showing the characteristic. the problem arises because we can't tell which families have both parents as carriers (heterozygous) unless they have a child who exhibits the characteristic. the description follows the textbook by sutton. the figure shows the pedigrees of all the possible families with two children when the parents are carriers (aa). nontruncate selection. in a perfect world we should be able to discover all such families with a gene including those who are simply carriers. in this situation the analysis would be free from ascertainment bias and the pedigrees would be under "nontruncate selection" in practice, most studies identify, and include, families in a study based upon them having affected individuals. truncate selection. when afflicted individuals have an equal chance of being included in a study this is called truncate selection, signifying the inadvertent exclusion (truncation) of families who are carriers for a gene. because selection is performed on the individual level, families with two or more affected children would have a higher probability of becoming included in the study. complete truncate selection is a special case where each family with an affected child has an equal chance of being selected for the study. the probabilities of each of the families being selected is given in the figure, with the sample frequency of affected children also given. in this simple case, the researcher will look for a frequency of 4⁄7 or 5⁄8 for the characteristic, depending on the type of truncate selection used. the caveman effect an example of selection bias is called the "caveman effect". much of our understanding of prehistoric peoples comes from caves, such as cave paintings made nearly 40,000 years ago. if there had been contemporary paintings on trees, animal skins or hillsides, they would have been washed away long ago. similarly, evidence of fire pits, middens, burial sites, etc. are most likely to remain intact to the modern era in caves. prehistoric people are associated with caves because that is where the data still exists, not necessarily because most of them lived in caves for most of their lives. problems due to sampling bias sampling bias is problematic because it is possible that a statistic computed of the sample is systematically erroneous. sampling bias can lead to a systematic over- or under-estimation of the corresponding parameter in the population. sampling bias occurs in practice as it is practically impossible to ensure perfect randomness in sampling. if the degree of misrepresentation is small, then the sample can be treated as a reasonable approximation to a random sample. also, if the sample does not differ markedly in the quantity being measured, then a biased sample can still be a reasonable estimate. the word bias has a strong negative connotation. indeed, biases sometimes come from deliberate intent to mislead or other scientific fraud. in statistical usage, bias merely represents a mathematical property, no matter if it is deliberate or unconscious or due to imperfections in the instruments used for observation. while some individuals might deliberately use a biased sample to produce misleading results, more often, a biased sample is just a reflection of the difficulty in obtaining a truly representative sample, or ignorance of the bias in their process of measurement or analysis. an example of how ignorance of a bias can exist is in the widespread use of a ratio (a.k.a. fold change) as a measure of difference in biology. because it is easier to achieve a large ratio with two small numbers with a given difference, and relatively more difficult to achieve a large ratio with two large numbers with a larger difference, large significant differences may be missed when comparing relatively large numeric measurements. some have called this a 'demarcation bias' because the use of a ratio (division) instead of a difference (subtraction) removes the results of the analysis from science into pseudoscience (see demarcation problem). some samples use a biased statistical design which nevertheless allows the estimation of parameters. the u.s. national center for health statistics, for example, deliberately oversamples from minority populations in many of its nationwide surveys in order to gain sufficient precision for estimates within these groups. these surveys require the use of sample weights (see later on) to produce proper estimates across all ethnic groups. provided that certain conditions are met (chiefly that the weights are calculated and used correctly) these samples permit accurate estimation of population parameters. historical examples example of biased sample: as of june 2008 55% of web browsers (internet explorer) in use did not pass the acid2 test. due to the nature of the test, the sample consisted mostly of web developers. a classic example of a biased sample and the misleading results it produced occurred in 1936. in the early days of opinion polling, the american literary digest magazine collected over two million postal surveys and predicted that the republican candidate in the u.s. presidential election, alf landon, would beat the incumbent president, franklin roosevelt, by a large margin. the result was the exact opposite. the literary digest survey represented a sample collected from readers of the magazine, supplemented by records of registered automobile owners and telephone users. this sample included an over-representation of wealthy individuals, who, as a group, were more likely to vote for the republican candidate. in contrast, a poll of only 50 thousand citizens selected by george gallup's organization successfully predicted the result, leading to the popularity of the gallup poll. another classic example occurred in the 1948 presidential election. on election night, the chicago tribune printed the headline dewey defeats truman, which turned out to be mistaken. in the morning the grinning president-elect, harry s. truman, was photographed holding a newspaper bearing this headline. the reason the tribune was mistaken is that their editor trusted the results of a phone survey. survey research was then in its infancy, and few academics realized that a sample of telephone users was not representative of the general population. telephones were not yet widespread, and those who had them tended to be prosperous and have stable addresses. (in many cities, the bell system telephone directory contained the same names as the social register). in addition, the gallup poll that the tribune based its headline on was over two weeks old at the time of the printing. in air quality data, pollutants (such as carbon monoxide, nitrogen monoxide, nitrogen dioxide, or ozone) frequently