Assessment 
Biopsychology 
Comparative 
Cognitive 
Developmental 
Language 
Individual differences 
Personality 
Philosophy 
Social 
Methods 
Statistics 
Clinical 
Educational 
Industrial 
Professional items 
World psychology 
Statistics: Scientific method · Research methods · Experimental design · Undergraduate statistics courses · Statistical tests · Game theory · Decision theory
Pretest probability and posttest probability (alternatively spelled pretest and posttest probability) are the subjective probabilities of the presence of a condition (such as a disease) before and after a diagnostic test, respectively. Posttest probability, in turn, can be positive or negative, depending on whether the test falls out as a positive test or a negative test, respectively. In some cases, it is used for the probability of developing the condition of interest in the future.
The subjectivity of the probabilities is based on the fact that, in reality, an individual either has the condition or not (with the probability always being either 0% or 100%), so pre and posttest probabilities for individuals can rather be regarded as psychological phenomena in the minds of those involved in the diagnostics at hand.
Test, in this sense, can refer to any medical test (but usually in the sense of diagnostic tests), and in a broad sense also including questions and even assumptions (such as assuming that the target individual is a female or male). The ability to make a difference between pre and posttest probabilities of various conditions is a major factor in the indication of medical tests.
Pretest probabilityEdit
The pretest probability of an individual can be chosen to be one of the following:
 The prevalence of the disease, which may have to be chosen if no other characteristic is known for the individual, or it can be chosen for ease of calculation even if other characteristics are known although such omission may cause inaccurate results
 The posttest probability of the condition resulting from one or more preceding tests
 A rough estimation, which may have to be chosen if more systematic approaches are not possible or efficient
Estimation of posttest probabilityEdit
In clinical practice, posttest probabilities are often just roughly estimated or even guessed. This is usually acceptable in the finding of a pathognomonic sign or symptom, in which case it is almost certain that the target condition is present; or in the absence of finding a sine qua non sign or symptom, in which case it is almost certain that the target condition is absent.
In reality, however, the subjective probability of the presence of a condition is never exactly 0 or 100%. Yet, there are several systematic methods to estimate that probability. Such methods are usually based on previously having performed the test on a reference group in which the presence or absence on the condition is known (or at least estimated by another test that is considered highly accurate, such as by "Gold standard), in order to establish data of test performance. These data are subsequently used to interpret the test result of any individual tested by the method. An alternative or complement to reference groupbased methods is comparing a test result to a previous test on the same individual, which is more common in tests for monitoring.
The most important systematic reference groupbased methods to estimate posttest probability includes the ones summarized and compared in the following table, and further described in individual sections below.
Method  Establishment of performance data  Method of individual interpretation  Ability to accurately interpret subsequent tests  Additional advantages  Additional disadvantages 

By predictive values  Direct quotients from reference group  Most straightforward: Predictive value equals probability  Usually low: Separate reference group required for every subsequent pretest state  Available both for binary and continuous values  
By likelihood ratio  Derived from sensitivity and specificity  Posttest odds given by multiplying pretest odds with the ratio  Theoretically limitless  Pretest state (and thus the pretest probability) does not have to be same as in reference group  Requires binary values 
By relative risk  Quotient of risk among exposed and risk among unexposed  Pretest probability multiplied by the relative risk  Low, unless subsequent relative risks are derived from same multivariate regression analysis  Relatively intuitive to use  Result usually related to incidence rather than having the condition right now 
By diagnostic criteria and clinical prediction rules  Variable, but usually most tedious  Variable  Usually excellent for all test included in criteria  Usually most preferable if available 
By predictive valuesEdit
Predictive values can be used to estimate the posttest probability of an individual if the pretest probability of the individual can be assumed to be roughly equal to the prevalence in a reference group on which both test results and knowledge on the presence or absence of the condition (for example a disease, such as may determined by "Gold standard) are available.
If the test result is of a binary classification into either positive or negative tests, then the following table can be made:
Condition (as determined by "Gold standard")  
Positive  Negative  
Test outcome  Positive  True Positive  False Positive (Type I error)  → Positive predictive value 
Negative  False Negative (Type II error)  True Negative  → Negative predictive value  
↓ Sensitivity  ↓ Specificity 
Pretest probability can be calculated from the diagram as follows:
Pretest probability = (True positive + False negative) / Total sample
Also, in this case, the positive posttest probability (the probability of having the target condition if the test falls out positive), is numerically equal to the positive predictive value, and the negative posttest probability (the probability of having the target condition if the test falls out negative) is numerically complementary to the negative predictive value ([negative posttest probability] = 1  [negative predictive value]),^{[1]} again assuming that the individual being tested does not have any other risk factors that result in that individual having a different pretest probability than the reference group used to establish the positive and negative predictive values of the test.
In the diagram above, this positive posttest probability, that is, the posttest probability of a target condition given a positive test result, is calculated as:
Positive posttest probability = True positives / (True positives + False positives)
Similarly:
The posttest probability of disease given a negative result is calculated as:
Negative posttest probability = False negatives / (False negatives + True negatives)
The validity of the equations above also depend on that the sample from the population does not have substantial sampling bias that could cause the groups of those who have the condition and those who do not to be substantially disproportionate from corresponding prevalence and "nonprevalence" in the population. In effect, the equations above are not valid with merely a casecontrol study that separately collects one group with the condition and one group without it.
By likelihood ratioEdit
The above methods are inappropriate to use if the pretest probability differs from the prevalence in the reference group used to establish, among others, the positive predictive value of the test. Such difference can occur if another test preceded, or the person involved in the diagnostics considers that another pretest probability has to be used because of knowledge of, for example, specific complaints, other elements of a medical history, signs in a physical examination, either by calculating on each finding as a test in itself with its own sensitivity and specificity, or at least making a rough estimation of the individual pretest probability.
In these cases, the prevalence in the reference group is not completely accurate in representing the pretest probability of the individual, and, consequently, the predictive value (whether positive or negative) is not completely accurate in representing the posttest probability of the individual of having the target condition.
In these cases, a posttest probability can be estimated more accurately by using a likelihood ratio for the test. Likelihood ratio is calculated from sensitivity and specificity of the test, and thereby it does not depend on prevalence in the reference group,^{[2]} and, likewise, it does not change with changed pretest probability, in contrast to positive or negative predictive values (which would change). Also, in effect, the validity of posttest probability determined from likelihood ratio is not vulnerable to sampling bias in regard to those with and without the condition in the population sample, and can be done as a casecontrol study that separately gathers those with and without the condition.
Estimation of posttest probability from pretest probability and likelihood ratio goes as follows:^{[2]}
 Pretest odds = (Pretest probability / (1  Pretest probability)
 Posttest odds = Pretest odds * Likelihood ratio
In equation above, positive posttest probability is calculated using the likelihood ratio positive, and the negative posttest probability is calculated using the likelihood ratio negative.
 Posttest probability = Posttest odds / (Posttest odds + 1)
The relation can also be estimated by a socalled Fagan nomogram (shown at right) by making a straight line from the point of the given pretest probability to the given likelihood ratio in their scales, which, in turn, estimates the posttest probability at the point where that straight line crosses its scale.
The posttest probability can, in turn, be used as pretest probability for additional tests if it continues to be calculated in the same manner.^{[2]}
ExampleEdit
An individual was screened with the test of fecal occult blood (FOB) to estimate the probability for that person having the target condition of bowel cancer, and it fell out positive (blood were detected in stool). Before the test, that individual had a pretest probability of having bowel cancer of, for example, 3% (0.03), as could have been estimated by evaluation of, for example, the medical history, examination and previous tests of that individual.
The sensitivity, specificity etc. of the FOB test were established with a population sample of 203 people (without such heredity), and fell out as follows:
Patients with bowel cancer (as confirmed on endoscopy)  
Positive  Negative  
Fecal occult blood screen test outcome  Positive  TP = 2  FP = 18  → Positive predictive value = TP / (TP + FP) = 2 / (2 + 18) = 2 / 20 = 10% 
Negative  FN = 1  TN = 182  → Negative predictive value = TN / (FN + TN) = 182 / (1 + 182) = 182 / 183 ≈ 99.5%  
↓ Sensitivity = TP / (TP + FN) = 2 / (2 + 1) = 2 / 3 ≈ 66.67%  ↓ Specificity = TN / (FP + TN) = 182 / (18 + 182) = 182 / 200 = 91% 
From this, the likelihood ratios of the test can be established:^{[2]}
 Likelihood ratio positive = sensitivity / (1 − specificity) = 66.67% / (1 − 91%) = 7.4
 Likelihood ratio negative = (1 − sensitivity) / specificity = (1 − 66.67%) / 91% = 0.37
 Pretest probability (in this example) = 0.03
 Pretest odds = 0.03 / (1  0.03) = 0.0309
 Positive posttest odds = 0.0309 * 7.4 = 0.229
 Positive posttest probability = 0.229 / (0.229 + 1) = 0.186 or 18.6%
Thus, that individual has a posttest probability (or "posttest "risk") of 18.6% of having bowel cancer.
The prevalence in the population sample is calculated to be:
 Prevalence = (2 + 1) / 203 = 0.0148 or 1.48%
The individual's pretest probability was more than twice the one of the population sample, although the individual's posttest probability was less than twice the one of the population sample (which is estimated by the positive predictive value of the test of 10%), opposite to what would result by a less accurate method of simply multiplying relative risks.
Specific sources of inaccuracyEdit
Specific sources of inaccuracy when using likelihood ratio to determine a posttest probability include interference with determinants or previous tests or overlap of test targets, as explained below:
Interference with testEdit
Posttest probability, as estimated from the pretest probability with likelihood ratio, should be handled with caution in individuals with other determinants (such as risk factors) than the general population, as well as in individuals that have undergone previous tests, because such determinants or tests may also influence the test itself in unpredictive ways, still causing inaccurate results. An example with the risk factor of obesity is that additional abdominal fat can make it difficult to palpate abdominal organs and decrease the resolution of abdominal ultrasonography, and similarly, remnant barium contrast from a previous radiography can interfere with subsequent abdominal examinations,^{[4]} in effect decreasing the sensitivities and specificities of such subsequent tests. On the other hand, the effect of interference can potentially improve the efficacy of subsequent tests as compared to usage in the reference group, such as some abdominal examinations being easier when performed on underweight people.
Overlap of testsEdit
Furthermore, the validity of calculations upon any pretest probability that itself is derived from a previous test depend on that the two tests do not significantly overlap in regard to the target parameter being tested, such as blood tests of substances belonging to one and the same deranged metabolic pathway. An example of the extreme of such an overlap is where the sensitivity and specificity has been established for a blood test detecting "substance X", and likewise for one detecting "substance Y". If, in fact, "substance X" and "substance Y" are one and the same substance, then, making a two consecutive tests of one and the same substance may not have any diagnostic value at all, although the calculation appears to show a difference. In contrast to interference as described above, increasing overlap of tests only decreases their efficacy. In the medical setting, diagnostic validity is increased by combining tests of different modalities to avoid substantial overlap, for example in making a combination of a blood test, a biopsy and radiograph.
Methods to overcome inaccuracyEdit
To avoid such sources of inaccuracy by using likelihood ratios, the optimal method would be to gather a large reference group of equivalent individuals, in order to establish separate predictive values for use of the test in such individuals. However, with more knowledge of an individual's medical history, physical examination and previous test etc. that individual becomes more unique, with increasing difficulty to find a reference group to establish tailored predictive values, making an estimation of posttest probability by predictive values invalid.
Another method to overcome such inaccuracies is by evaluating the test result in the context of diagnostic critera, as described in the next section.
By relative riskEdit
Posttest probability can sometimes be estimated by multiplying the pretest probability with a relative risk given by the test. In clinical practice, this is usually applied in evaluation of a medical history of an individual, where the "test" usually is a question (or even assumption) regarding various risk factors, for example, sex, tobacco smoking or weight, but it can potentially be a substantial test such as putting the individual on a weighing scale. When using relative risks, the resultant probability is usually rather related to the individual developing the condition over a period of time (similarly to the incidence in a population), instead of being the probability of an individual of having the condition in the present, but can indirectly be an estimation of the latter.
Usage of hazard ratio can be used somewhat similarly to relative risk.
One risk factorEdit
To establish a relative risk, the risk in an exposed group is divided by the risk in an unexposed group.
If only one risk factor of an individual is taken into account, the posttest probability can be estimated by multiplying the relative risk with the risk in the control group. The control group usually represents the unexposed population, but if a very low fraction of the population is exposed, then the prevalence in the general population can often be assumed to be equal to the prevalence in the control group. In such cases, the posttest probability can be estimated by multiplying the relative risk with the risk in the general population.
For example, the incidence of breast cancer in a woman in the United Kingdom at age 55 to 59 is estimated to be approximately 280 cases per 100.000 per year,^{[5]} and the risk factor of having been exposed to highdose ionizing radiation to the chest (for example, as treatments for other cancers) confers a relative risk of breast cancer between 2.1 to 4.0,^{[6]} compared to unexposed. Because a low fraction of the population is exposed, the prevalence in the unexposed population can be assumed to be equal to the prevalence in the general population. Subsequently, it can be estimated that a woman in the United Kingdom that is aged between 55 and 59 and that has been exposed to highdose ionizing radiation should have a risk of developing breast cancer over a period of one year of between 588 and 1.120 in 100.000 (that is, between 0,6% and 1.1%).
Multiple risk factorsEdit
Theoretically, the total risk in the presence of multiple risk factors can be roughly estimated by multiplying with each relative risk, but is generally much less accurate than using likelihood ratios, and is usually done only because it is much easier to perform when only relative risks are given, compared to, for example, converting the source data to sensitivities and specificities and calculate by likelihood ratios. Likewise, relative risks are often given instead of likelihood ratios in the literature because the former is more intuitive. Sources of inaccuracy of multiplying relative risks include:
 Relative risks are affected by the prevalence of the condition in the reference group (in contrast to likelihood ratios, which are not), and this issue results in that the validity of posttest probabilities become less valid with increasing difference between the prevalence in the reference group and the pretest probability for any individual. Any known risk factor or previous test of an individual almost always confers such a difference, decreasing the validity of using relative risks in estimating the total effect of multiple risk factors or tests. Most physicians do not appropriately take such differences in prevalence into account when interpreting test results, which may cause unnecessary testing and diagnostic errors.^{[7]}
 A separate source of inaccuracy of multiplying several relative risks, considering only positive tests, is that it tends to overestimate the total risk as compared to using likelihood ratios. This overestimation can be explained by the inability of the method to compensate for the fact that the total risk cannot be more than 100%. This overestimation is rather small for small risks, but becomes higher for higher values. For example, the risk of developing breast cancer at an age younger than 40 years in women in the United Kingdom can be estimated to be approximately 2%.^{[8]} Also, studies on Ashkenazi Jews has indicated that a mutation in BRCA1 confers a relative risk of 21.6 of developing breast cancer in women under 40 years of age, and a mutation in BRCA2 confers a relative risk of 3.3 of developing breast cancer in women under 40 years of age.^{[9]} From these data, it may be estimated that a woman with a BRCA1 mutation would have a risk of approximately 40% of developing breast cancer at an age younger than 40 years, and woman with a BRCA2 mutation would have a risk of approximately 6%. However, in the rather improbable situation of having both a BRCA1 and a BRCA2 mutation, simply multiplying with both relative risks would result in a risk of over 140% of developing breast cancer before 40 years of age, which can not possibly be accurate in reality.
The (latter mentioned) effect of overestimation can be compensated for by converting risks to odds, and relative risks to odds ratios. However, this does not compensate for (former mentioned) effect of any difference between pretest probability of an individual and the prevalence in the reference group.
A method to compensate for both sources of inaccuracy above is to establish the relative risks by multivariate regression analysis. However, to retain its validity, relative risks established as such need to be multiplied with all the other risk factors in the same regression analysis, and without any addition of other factors beyond the regression analysis.
In addition, multiplying multiple relative risks has the same risk of missing important overlaps of the included risk factors, similarly to when using likelihood ratios. Also, different risk factors can act in synergy, with the result that, for example, two factors that both individually have a relative risk of 2 have a total relative risk of 6 when both are present, or can inhibit each other, somewhat similarly to the interference described for using likelihood ratios.
By diagnostic criteria and clinical prediction rulesEdit
Most major diseases have established diagnostic criteria and/or clinical prediction rules. The establishment of diagnostic criteria or clinical prediction rules consists of a comprehensive evaluation of many tests that are regarded to be important in estimating the probability of a condition of interest, sometimes also including how to divide it into subgroups, and when and how to treat the condition. Such establishment can include usage of predictive values, likelihood ratios as well as relative risks.
For example, the ACR criteria for systemic lupus erythematosis defines the diagnosis as presence of at least 4 out of 11 findings, each of which can be regarded as a target value of a test with its own sensitivity and specificity. In this case, there has been evaluation of the tests for these target parameters when used in combination in regard to, for example, interference between them and overlap of target parameters, thereby striving to avoid inaccuracies that could otherwise arise if attempting to calculate the probability of the disease using likelihood ratios of the individual tests. Therefore, if diagnostic criteria have been established for a condition, it is generally most appropriate to interpret any posttest probability for that condition in the context of these criteria.
Also, there are risk assessment tools for estimating the combined risk of several risk factors, such as the online tool [1] from the Framingham Heart Study for estimating the risk for coronary heart disease outcomes using multiple risk factors, including age, gender, blood lipids, blood pressure and smoking, being much more accurate than multiplying the individual relative risks of each risk factor.
Still, an experienced physician may estimate the posttest probability (and the actions it motivates) by a broad consideration including criteria and rules in addition to other methods described previously, including both individual risk factors and the performances of tests that have been carried out.
Clinical use of pre and posttest probabilitiesEdit
A clinically useful parameter is the absolute (rather than relative, and not negative) difference between pre and posttest probability, calculated as:
Absolute difference =  (pretest probability)  (posttest probability) 
A major factor for such an absolute difference is the power of the test itself, such as can be described in terms of, for example, sensitivity and specificity or likelihood ratio. Another factor is the pretest probability, with a lower pretest probability resulting in a lower absolute difference, with the consequence that even very powerful tests achieve a low absolute difference for very unlikely conditions in an individual (such as rare diseases in the absence of any other indicating sign), but on the other hand, that even tests with low power can make a great difference for highly suspected conditions.
The probabilities in this sense may also need to be considered in context of conditions that are not primary targets of the test, such as profilerelative probabilities in a differential diagnostic procedure.
The absolute difference can be put in relation to the benefit for an individual that a medical test achieves, such as can roughly be estimated as:
, where:
 b_{n} is the net benefit of performing a medical test
 Λp is the absolute difference between pre and posttest probability of conditions (such as diseases) that the test is expected to achieve.
 r_{i} is the rate of how much probability differences are expected to result in changes in interventions (such as a change from "no treatment" to "administration of lowdose medical treatment"). For example, if the only expected effect of a medical test is to make one disease more likely compared to another, but the two diseases have the same treatment (or neither can be treated), then, this factor is very low and the test is probably without value for the individual in this aspect.
 b_{i} is the benefit of changes in interventions for the individual
 h_{i} is the harm of changes in interventions for the individual, such as side effects of medical treatment
 h_{t} is the harm caused by the test itself
Additional factors that influence a decision whether a medical test should be performed or not include: cost of the test, availability of additional tests, potential interference with subsequent test (such as an abdominal palpation potentially inducing intestinal activity whose sounds interfere with a subsequent abdominal auscultation), time taken for the test or other practical or administrative aspects. Also, even if not beneficial for the individual being tested, the results may be useful for the establishment of statistics in order to improve health care for other individuals.
See alsoEdit
 Diagnostic test interpretation, including general sources of inaccuracy and imprecision
ReferencesEdit
 ↑ EvidenceBased Practice Online Course By Mark Ebell. College of Public Health, University of Georgia. Retrieved Aug 2011
 ↑ ^{2.0} ^{2.1} ^{2.2} ^{2.3} Likelihood Ratios, from CEBM (Centre for EvidenceBased Medicine). Page last edited: 01 February 2009. When used in examples, the general formulas are taken from reference, while example numbers are different
 ↑ Parameters taken from image in: Zhang W, Doherty M, Pascual E, et al. (October 2006). EULAR evidence based recommendations for gout. Part I: Diagnosis. Report of a task force of the Standing Committee for International Clinical Studies Including Therapeutics (ESCISIT). Ann. Rheum. Dis. 65 (10): 1301–11.
 ↑ Page 750 (Chapter 10) in: Dunning, Marshall Barnett; Fischbach, Frances Talaska (2009). A manual of laboratory and diagnostic tests [electronic resource], Philadelphia: Wolters Kluwer Health/Lippincott Williams & Wilkins.
 ↑ Excel chart for Figure 1.1: Breast Cancer (C50), Average Number of New Cases per Year and AgeSpecific Incidence Rates, UK, 20062008 at Breast cancer  UK incidence statistics at Cancer Research UK. Section updated 18/07/11.
 ↑ ACS (2005). Breast Cancer Facts & Figures 2005–2006. (PDF) URL accessed on 20070426.
 ↑ PMID 21053091 (PMID 21053091)
Citation will be completed automatically in a few minutes. Jump the queue or expand by hand  ↑ 2% given from a cumulative incidence 2.075 cases per 100.000 in females younger up to age 39, from the Cancer Research UK reference above.
 ↑ PMID 11352856 (PMID 11352856)
Citation will be completed automatically in a few minutes. Jump the queue or expand by hand
Biomedical research: Clinical study design / Design of experiments  

Overview  
Controlled study (EBM I to II1; A to B)  
Observational study (EBM II2 to II3; B to C)  
Epidemiology/ methods 

Trial/test types  
Analysis of clinical trials  
Interpretation of results  
* Category 