A simple classroom demonstration of ascertainment bias is to estimate the primary sex ratio (which we know to be 50:50) by asking all females students to report the ratio in their own families, and comparing the result with the same question asked of male students. The women will collectively report a higher ratio of women, since the survey method ensures that every family reported has at least one female child, and is biased by families with only a single, female child (themselves). The men will report a higher ratio of men, for the complementary reason.
Ascertainment bias is important in studying the genetics of medical conditions, since data are typically collected by physicians in a clinical setting. The results may be skewed because the sample is of patients who have seen a doctor, rather than a random sample of the population as a whole. Berkson's paradox illustrates this effect.
Often, proper design of experiments can minimize this effect. Another way to deal with this effect is to take the non-random sampling into account when analyzing results.
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 1/4 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). If we were able to discover all such families, the chances for each of the pedigrees are listed under "nontruncate selection". In general, though, we cannot discover those families without any affected children. This situation is called "truncate selection", since the families without affected children are truncated from the study. If every family with an affected child has an equal chance of being selected for the study, then the situation is called complete truncate selection. If individuals are selected for the study, then the families with two affected children are more likely to be chosen than families with one, which is called single truncate selection. 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.
In more general situations, the methods of analysis go back to the 1930s with studies by JBS Haldane and RA Fisher.