Base-rate effect in a positive study 2026-10-14
When the prior odds of a real effect are , a study's Type I error is , and its statistical power is , a positive report updates those odds to . This follows directly from Bayes' theorem. A small false-positive rate does not itself make the effect's posterior probability high: the prior odds and power also matter. The posterior exceeds one half exactly when .
Bayes factor Created 2026-09-28 Updated 2026-10-18
A Bayes factor measures how data change the relative support for two specified statistical models. Write for their Bayesian model evidence and define the direction explicitly:For positive finite , a value above one favors over ; a value below one favors over . Reversing the comparison gives , the opposite direction used in some formulas below.
For mutually exclusive, exhaustive with positive prior probabilities, divide their two Bayes' theorem formulas. Their common data normalizer cancels, leavingThe Bayes factor therefore multiplies prior odds into posterior odds. It is evidence conditional on the specified statistical models and their within-model prior distributions; it is not . Model prior probabilities supply a separate input.[ref]
Bayes Factors by Robert E. Kass and Adrian E. Raftery. Kass and Raftery, Bayes Factors (1995), section 3.1, p. 776: posterior odds, prior odds, and direction of the Bayes factor
For an original stipulated example, consider ten independent and identically distributed Bernoulli trials, with heads as success. Compare with , both fixed before seeing the data. Take to be one particular ordered sequence containing eight heads and two tails. The likelihood function under either point model is , soIf , the prior odds for against are . Hence the posterior odds are , andEqual model prior probabilities would instead give . The same Bayes factor can thus accompany different posterior probabilities. These statements condition on the two-model comparison; they do not establish that either statistical model describes a real coin.
Using the heads count instead of the ordered sequence changes the sample space. The binomial distribution assigns it mass . The same binomial coefficient multiplies both models' Bayesian model evidence and cancels in their Bayes factor. Mixing an ordered-sequence numerator with a count denominator would introduce an erroneous factor of .
Fix the candidate statistical models, their parameter prior distributions, and model prior probabilities before using the current data for this update. The Bayes factor is useful because it separates evidence from model prior odds, but it still depends on the parameter prior distributions. An improper prior has an arbitrary multiplicative normalization: multiplying its kernel by multiplies its formal marginal likelihood by , even if the within-model posterior distribution is normalizable. Without a separately justified convention, the ordinary Bayes factor is then undefined up to arbitrary constants.[ref]
Bayes Factors by Robert E. Kass and Adrian E. Raftery. Kass and Raftery, Bayes Factors (1995), sections 5.2–5.3, pp. 782–783: prior sensitivity and undefined multiplicative constants
Bayes factor for the sign of a normal mean 2026-10-31
For a random sample with known and prior distribution with , compare to . The prior odds are one by symmetry. Normal-normal conjugacy gives a normal posterior distribution withIts negative and nonnegative masses are and , whereSince the Bayes factor is the posterior odds divided by the prior odds,Here is the cumulative distribution function of the standard normal distribution. The ratio decreases with the sample mean. For any threshold , the inequality is equivalent to and hence toFor , the quantile is , and the equivalent posterior probability threshold for is . The symmetry and proper normalization of the two hypothesis-conditional priors are essential to replacing the Bayes factor by the posterior odds directly.
Equal likelihoods preserve model odds Created 2026-10-25 Updated 2026-10-31
For two models with finite positive prior odds, a sequence of data with identical conditional likelihoods under both models has Bayes factor one. The posterior odds therefore equal the prior odds. This requires equality of the probability model for all the data considered, not merely that both models fit a selected data set.
Odds under at-least-one-positive selection 2026-10-14
For studies conditionally independent given the truth of one relationship, the event that at least one is positive has probability under the alternative and under the null. Its Bayes factor therefore gives the displayed posterior odds. For interior error probabilities these tend back to the prior odds . If power exceeds size, the Bayes factor decreases to one: the quotient of geometric sums is a weighted average of decreasing powers .
This result concerns the coarsened selection event. Full observed results instead multiply their individual Bayes factors, and concordant evidence can accumulate without this bound. It is a useful example of information discarded by publication bias.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 46 2 a Solution Created 2026-10-03 Updated 2026-10-14
The inequality in the printed rule is reversed. With the stated definition of , a larger score favors group one. For example, in one dimension take , , , equal priors and . The score is , and , whereas the printed rule assigns group two. The correct Bayes classifier follows from minimizing the error cost as follows.
Let be the region assigned to group one, let be its multivariate normal density, and let each misclassification cost , with zero cost for correct classification. The expected cost isThe permitted integral-minimization result therefore selects . Points of equality may be assigned to either group without changing the risk. Equivalently, the Bayes classifier chooses the larger posterior probability.
For positive priors and a common positive-definite covariance matrix, the normalization constants cancel in the likelihood ratio. Expanding the two quadratic forms givesThus the correct Gaussian Bayes classifier, choosing group one on ties, isThis proves the intended classification result with the necessary correction. Equal error costs remove from the decision, while prior odds determine the threshold.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 46 2 b iii Solution Created 2026-10-03 Updated 2026-10-14
Now the prior odds are . The fitted log posterior odds are , so the Gaussian Bayes classifier assigns fattus when . The prior-dependent Gaussian discriminant boundary becomesIt moves upwards parallel to the original line by , expanding the fattus region. This is the dashed line in the sketch. The fifth individual's fitted log likelihood ratio remains zero, but its posterior odds become , giving posterior fattus probability .
The fifth individual is now classified as fattus. For completeness, the other four classifications remain apathus, fattus, apathus and fattus: their scores lie on the same side of the new threshold as before.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 46 2 b i Solution Created 2026-10-03 Updated 2026-10-14
Use a multivariate normal distribution within each species, a common positive-definite covariance matrix, equal prior odds and equal misclassification costs. Assume the training observations are independent and representative of the populations. Substituting the sample means and pooled sample covariance matrix gives a fitted linear discriminant analysis rule, rather than a rule with known population parameters.
The determinant of the pooled covariance is , soThe midpoint of the sample means is , whose scalar product with is . Hence the fitted log likelihood ratio isAssign fattus when and apathus when ; either assignment is optimal on under equal priors. The separating line is , with fattus below it. As a sign check, the scores at the two sample means are and , respectively. This uses the corrected Gaussian Bayes classifier from (a).
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 44 1 a Solution Created 2026-10-03 Updated 2026-10-14
Let the prior odds be , so . The Type I error gives , while the statistical power gives . By Bayes' theorem,This is a posterior probability of the null, not the false-positive probability conditional on the null. The distinction is the base-rate effect in a positive study.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 44 1 g Solution 2026-10-14
Let denote the event that at least one study is positive. Conditional independence gives and . Updating the prior odds by this event's Bayes factor givesThese are the odds under at-least-one-positive selection, not the odds using every study's actual result.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 36 4 a Solution Created 2026-10-03 Updated 2026-10-14
Compute the Bayesian model evidence for each model by integrating its sampling density against its parameter prior:The posterior odds are the prior odds multiplied by the Bayes factor:The parameter priors used for evidence must be normalized; arbitrary normalization constants in model-specific improper priors would make this comparison undefined.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 1 a Solution Created 2026-10-03 Updated 2026-10-14
If and , the prior odds on the null hypothesis areThese odds concern which model is true before seeing the observations. They are separate from the prior distribution of the success probability within the alternative model.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 1 b Solution Created 2026-10-03 Updated 2026-10-14
Use the orientation that favours the null hypothesis:For a composite model the denominator is its Bayesian model evidence, obtained by integrating the likelihood against the model's prior distribution. This Bayes factor exceeds one when the observed data have greater marginal probability under . By Bayes' theorem,Thus the posterior odds equal the prior odds multiplied by the Bayes factor. The reciprocal orientation instead gives .
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 36 1 h Solution Created 2026-10-03 Updated 2026-10-14
No. A Bayes factor favouring the alternative means , but the posterior odds are . They are less than one only if . For example, prior odds of on the null hypothesis, combined with a Bayes factor of in favour of the alternative, still give posterior odds of on the null hypothesis. An unusual claim can require substantial evidence to overcome low initial plausibility.
The raven paradox combines a plausible equivalence principle with an overly unrestricted account of positive-instance scientific confirmation. Let and mean that is a raven and black respectively. ThenA white shoe is a positive instance of the right-hand generalization. If every positive instance confirms its universal generalization, and logically equivalent statements receive the same evidential support, inspecting the shoe seems to confirm the original raven claim. There is no contradiction in the equivalence itself. The tension concerns the evidential rule and the intuition that an arbitrary shoe teaches us nothing about birds.[ref]
Studies in the Logic of Confirmation I by Carl Hempel. Section 5: instance confirmation, equivalent hypotheses and nonblack nonravens
The right response is to make background knowledge and sampling explicit. Under Bayesian confirmation, evidence increases support for precisely when its likelihood is greater under than under the alternative, assuming nondegenerate prior probabilities. A fact can therefore be compatible with yet provide no new support. The mere existence of a white shoe does not determine the needed likelihood ratio.[ref]
How Bayesian Confirmation Theory Handles the Paradox of the Ravens by Branden Fitelson and James Hawthorne. Sections 1–3: background information, competing confirmation conditions and quantitative comparisons
Consider a deliberately simple finite model. There are objects, exactly ravens, and nonravens, with . All nonravens are white. Under all ravens are black; under exactly one raven is white. Draw uniformly from the entire population. The event of drawing a white nonraven has probability under either hypothesis. Its Bayes factor is one and it leaves the prior odds unchanged. A black raven instead has likelihoods and , so gives Bayes factor for .
Now change the protocol: draw uniformly from the white objects, then discover that the selected object is a nonraven. This result has likelihoods and . It gives the small positive Bayes factorFor and , this is , whereas sampling a black raven from the full population gives . The white nonraven can now help because the search could have revealed a white raven. The two experiments have different selection information, so their differing evidential values do not violate logical equivalence.
This model establishes possibilities, not a universal numerical law about shoes. Different alternatives, population information or selection procedures change the result. If the shoe's being a nonraven was already known, discovering that it is white need not add anything. Conversely, ruling out a potential counterexample can supply a small amount of information. Retain logical equivalence, but reject the unconditional instance-confirmation rule. Once the complete evidential situation is specified, neither zero support nor weak positive support is paradoxical, and neither amounts to proof of a universal law.
Empirical equivalence must be specified relative to a domain and an account of what counts as observable. Two theories may fit all evidence collected so far while predicting different future results; that is ordinary underdetermination by a finite record. A stronger equivalence requires the same observable consequences for every permitted experiment in the stated domain. For stochastic predictions, matching a set of possible outcomes is not enough: the theories must assign the same outcome probability distributions under corresponding preparations and testing assumptions.
A clear physical example at the level of descriptions occurs in electromagnetism. Write the electric field and magnetic field using a scalar potential and magnetic vector potential :For a smooth, single-valued function , the gauge transformationleaves both fields unchanged: the curl of a gradient vanishes, and the mixed derivatives cancel in the electric-field expression. With the same charges, boundary conditions and force law, these descriptions give the same classical measurements. Agreement is structural, not an accidental fit to a few readings. However, many physicists regard such descriptions as representing one physical situation, so this alone is not an example of two genuinely incompatible physical theories. The smooth global transformation assumption also matters; equality of local fields is not an unrestricted license to identify every globally different potential configuration.
A second example exhibits possible surplus structure. For particles interacting by Newtonian forces depending only on relative positions, a common Galilean transformationleaves relative positions and accelerations unchanged. Accordingly, adding a privileged but completely uncoupled state of uniform rest does not alter any internal mechanical prediction. Rival choices of that unobservable rest state cannot be distinguished by these experiments. This is a deliberately specified completion of the mechanical model: it does not show that rotation or acceleration is undetectable, or that Newtonian mechanics and special relativity are empirically equivalent. The latter give different high-speed predictions. Whether undetectable absolute rest makes a genuinely different theory or a redundant representation is precisely one philosophical issue raised by the example.
Thus there are concrete cases of empirical redundancy, while the existence of equally well-motivated, fully distinct rivals with identical consequences across all physics is a much stronger claim. Historical theories often agree only in limited regimes or after additional assumptions. One must not convert that restricted agreement into an equivalence theorem for every possible test.
The philosophical relevance does not depend on finding a complete historical pair. A constructed rival can expose the logical limits of evidence, although an artificial extension need not deserve the same credibility as an economical account. If two specified models have equal likelihoods for every admissible data set , thenfor finite positive prior odds. The Bayes factor is one; the data do not discriminate between them. Choices about simplicity or interpretation would be additional considerations. Constructive empiricism treats empirical adequacy as the relevant belief commitment in acceptance, while a scientific realist must explain what further warrants belief in the unobservable structure. The equivalence argument identifies a limit of evidential discrimination; it does not establish that every theoretical claim is equally good or that every unobservable claim is false.[ref]
The Scientific Image by Bas van Fraassen. Chapter 2 on empirical adequacy, realism and theory acceptance
Bayes' theorem solves a precise part of the scientific confirmation problem: it gives a coherent relation between prior commitments, evidential likelihoods and updated probabilities. It does not select those commitments from no premises, and it should not be identified with every meaning of confirmation.
For background information , a hypothesis and newly considered evidence , let , and . With a positive denominator,The first formula requires a positive denominator; the odds formula additionally assumes and . The second equation separates prior odds from the Bayes factor. For , the evidence raises the probability of exactly when . It is not enough that is likely under ; it must be more likely than under the relevant alternative mixture. This guards against an inverse-probability error in evaluating scientific tests.
For example, let the prior be 0.01 and the two likelihoods be 0.8 and 0.08. The Bayes factor is ten, but the posterior probability is only . The evidence strongly favours relative to its previous odds without making probable in an absolute sense. Evidence can therefore confirm a hypothesis while leaving a rational investigator doubtful. The comparison also depends on which alternatives are included in and how their probabilities are distributed.
The raven paradox shows another benefit. Logically equivalent claims receive identical probabilities in the same probabilistic model, but this does not force every investigation of a white object to provide the same evidence about ravens. If an object is selected because it is already known to be a shoe, observing that it is not a raven may have equal likelihood under the rival hypotheses and provide a Bayes factor of one. Random selection from a specified population can give different likelihoods. The sampling procedure and background information must be represented, rather than letting a grammatical positive-instance rule determine evidential support.[ref]
Studies in the Logic of Confirmation I by Carl Hempel. Section 5: equivalence and the paradox of positive-instance confirmation
[ref]How Bayesian Confirmation Theory Handles the Paradox of the Ravens by Branden Fitelson and James Hawthorne. Analysis of dependence on background knowledge, sampling assumptions and alternative hypotheses
The problem of old evidence is a genuine limit of the simplest updating account. If already belongs to , conditioning on it again produces no increase. Yet an old measurement can be important support for a newly formulated theory. One may assess support relative to a specified earlier or counterfactual background, or model learning a previously unrecognized connection between theory and evidence. These are substantive additions. Simply applying the same conditioning rule to an already certain fact does not represent the new intellectual achievement.[ref]
Why I Am Not a Bayesian by Clark Glymour. Chapter 3 of Theory and Evidence: old evidence and newly considered theory
Other limitations concern model construction and priors. A hypothesis assigned zero prior probability remains at zero after ordinary conditioning on evidence of positive total probability. A badly specified likelihood can generate confident but unreliable results. Different reasonable priors need not disappear under finite or non-discriminating evidence. Nor does the theorem supply a noncircular solution to the problem of induction: the model's connection to future physical events remains an empirical commitment.
Posterior probability depends on prior odds, while finite observations leave alternative continuations
. Original mathematical illustrations with explicitly chosen probabilities and functions, not historical or experimental data. Details.Thus the Bayesian framework gives a rigorous account of probability change, comparison of alternatives and some apparent paradoxes. These are real achievements. It is incomplete as a general recipe for scientific judgment unless the hypotheses, backgrounds, likelihoods and forms of learning are also defended. A mathematical rule of coherent updating can organize evidential reasoning without establishing that every coherent input represents nature correctly.
Scientific underdetermination occurs when the relevant evidence does not select a unique theoretical account. Its force depends on the scope of “the evidence”. Several models can agree with a finite data set while disagreeing about new measurements; a suitable experiment can then discriminate them. The stronger claim of empirical equivalence says that rivals agree on every possible observation within a stated domain, so further evidence of that same kind cannot separate them.
The Duhem problem gives a related but distinct source of ambiguity. If a target theory and auxiliary hypotheses jointly imply an observation , then observing shows , not uniquely . Independent evidence about the apparatus or background assumptions can redistribute support. It does not make the original conjunction logically true; it provides additional information relevant to which revision is warranted.
A finite-data example makes the limits clear. If interpolates observations at distinct , then every polynomial has the same sampled values. Thus polynomial interpolation does not determine a unique prediction outside the sampled points when the degree is unrestricted. A degree bound of would instead give the familiar uniqueness result, so the allowed model class matters. That does not show that every interpolant is equally credible for extrapolation. Smoothness assumptions, independently motivated mechanisms and further measurements can matter. But those extra commitments must be stated rather than smuggled into the claim that the original data uniquely determined a model.
In a probabilistic comparison, Bayes' theorem giveswhen the quantities are defined. Equal likelihoods leave the prior odds unchanged by this evidence. Neither equality nor unequal priors follows merely from both theories being logically compatible with . Thus compatibility, equal fit in a particular measure and full empirical equivalence should not be conflated.
The philosophical significance is a constraint on inference, not a universal proof of irrationality. An empiricist may use it to motivate restraint about hidden structure; a scientific realist may defend further explanatory or intervention-based reasons for belief. A convincing sceptical argument must identify genuine rivals and the relevant equivalence, while a convincing realist reply must explain why its additional virtues track the claims at issue. Scientific knowledge can be selective and fallible even when evidence does not deductively choose a unique complete theory.
Scientific underdetermination limits what evidence alone establishes, but its practical consequences depend on the strength of the equivalence being claimed. Rival theories fitting present data need not agree on future observations. Rival formulations agreeing on every observable in a specified domain present a more persistent limitation within that domain.
With finitely many data points , suppose an interpolation polynomial fits all measurements. Thenalso fits them for every . This proves nonuniqueness for a deliberately broad model class. It does not prove that all these functions are equally plausible physical theories. Constraints from independently tested mechanisms, bounds on derivatives, symmetries and the measurement process can sharply restrict the class. A new observation at a different point can also distinguish the displayed alternatives.
The Duhem problem concerns an additional kind of latitude: a prediction tests a theory together with auxiliary hypotheses. A mismatch can be assigned to different components. This is a reason to vary apparatus, calibrate independently and use multiple kinds of evidence. It is not a demonstration that any preferred theory can be made equally well supported by arbitrary repairs.[ref]
The Aim and Structure of Physical Theory by Pierre Duhem. part II, chapter VI, section 2: an experimental test concerns a theoretical group
Exact empirical equivalence requires more. If two accounts supply identical probability distributions for all observations allowed by a stated setup, observations of that kind cannot favour one through their likelihoods. Bayesian inference makes the limitation explicit: posterior odds equal prior odds when the likelihood ratio is one. Declaring a prior preference does not transform it into new experimental discrimination.
Theories can nevertheless differ in explanatory organization, computational usefulness or how they connect with a larger domain. Those are legitimate questions, provided their role is stated. If a proposed new intervention distinguishes them, the equivalence did not cover that enlarged domain. If the difference is instead only a change of redundant description, treating it as two competing physical worlds may create a spurious dispute; gauge symmetry provides an important case requiring care.
For scientific practice, the appropriate response is model comparison with explicit assumptions, searches for discriminating tests and honest limits on what has been established. For scientific realism, enduring empirical equivalence challenges any claim that the evidence uniquely fixes a full ontology. It does not make precise predictions or experimental decisions impossible. Underdetermination is consequently a constraint on inference whose seriousness must be demonstrated case by case, rather than a general proof that all scientific reasoning is arbitrary.
Let and , assuming both are positive. The prior odds are . Given data , the posterior odds areWith conditional joint likelihood , define the hypothesis-conditional marginal densitiesThe Bayes factor for relative to is . The normalizations matter: the prior distribution within each hypothesis must have total probability one. Bayes' theorem now givesConverting posterior odds to posterior probability therefore gives

