01 / 15 · Bayesian Modelling
The Bayesian approach
Keep a distribution over everything unknown and predict by averaging over it: two readings of probability, Bayesian reasoning with numbers, what a point estimate loses, models as graphs, and the plan of the course.
Bayesian inference · Conditional probability · Maximum likelihood
On this page 8
Eleven urns are labelled ; urn holds black balls and white ones. Someone picks an urn at random, draws balls with replacement, and sees black ones. What is the probability that the next ball is black? The problem is from MacKay (2003, Section 2.3).
The working method of the Machine Learning course answers in two steps. First fit the parameter by maximum likelihood: urn has the fraction of black balls, its likelihood is largest at , because the derivative of , which is , vanishes at . So the fitted urn is urn 3. Then plug it in: the next ball is black with probability .
The answer ignores that urns 2 and 4 explain the data almost as well. With less data the defect becomes an error. After three draws, all white, maximum likelihood picks urn 0 and states that a black ball is impossible.
The Bayesian inference note of the probability course showed the alternative for a single coin: keep a distribution over the parameter, update it with the data, and predict by averaging over it. This course builds machine learning models that way. A model is assembled from a few standard distributions, everything unknown in it receives a distribution, and learning is the computation of the posterior.
Two readings of probability#
The rules of probability, the sum and product rules and Bayes’ formula, are the same in both readings. What differs is what a probability is about, and therefore which quantities may carry one.
In the frequentist reading, a probability is the long-run frequency of an outcome in a repeatable experiment. A parameter, such as a coin’s probability of heads, is a fixed unknown number. It has no distribution, and statements about it are statements about procedures: a 95% confidence interval is a rule that covers the true value in 95% of repeated samples.
In the Bayesian reading, a probability is a degree of belief in a statement, given the information at hand. Nothing needs to be repeatable. “This email is spam” and “the third weight of this network is positive” each have a probability once we state what we know. A coin toss is random in this sense too: with the exact impulse, mass and air resistance it could be computed, and it is uncertain only because we do not know them. Every unknown quantity, a parameter included, may then carry a distribution.
The same event can then have different probabilities for different observers. A commuter who has taken the 10:30 bus for months knows that it arrives within about seven minutes of the timetable; a passenger whose app tracks the bus knows the arrival to within about three. Both describe one arrival by distributions of different widths, because they know different things. Some randomness may be irreducible, as in radioactive decay, but the Bayesian reading does not have to decide which.
| Frequentist | Bayesian | |
|---|---|---|
| A probability is | a long-run frequency | a degree of belief, given information |
| A parameter is | a fixed unknown constant | a random variable with a prior |
| Inference returns | an estimate and its sampling behaviour | the posterior |
| Typical method | maximum likelihood, confidence intervals | Bayes’ formula, credible intervals, predictive averages |
| When it is justified | exactly for some models, asymptotically in general | coherent for any , if the model and the prior are right |
The last row needs care. Some frequentist procedures are exact at every sample size. For normal data the t-interval covers the mean in exactly 95% of samples. The Clopper–Pearson interval for a binomial proportion keeps every value that neither one-sided binomial test of at level 2.5% rejects. The true value is then excluded only when one of the two tests rejects it, which has probability at most 5% for every (Clopper and Pearson, 1934). Bayes’ formula, for its part, makes small-sample answers consistent with the model and the prior, not more accurate: they are only as good as the model and the prior.
The row still matters for machine learning. A deep network or a topic model has more parameters than any sample can pin down, so the asymptotic arguments behind maximum likelihood do not apply, while Bayes’ formula applies to any sample size, even zero, where the posterior is the prior. As the sample grows with the model fixed, the posterior concentrates at the maximum likelihood estimate, by the Bernstein–von Mises theorem under its regularity conditions, and the two readings give the same answers. The price of the Bayesian reading is a prior, which must be chosen and defended, and an integral, which must be computed.
Why beliefs obey the rules of probability#
Optional depth: two arguments for treating degrees of belief as probabilities. The rest of the note does not depend on it.
Why should degrees of belief add up and multiply like frequencies? R. T. Cox showed in 1946 that if beliefs are real numbers that agree with ordinary logic when statements are certain, and satisfy a few consistency requirements, then they can be rescaled into numbers that obey the sum and product rules (MacKay, 2003, Section 2.2; Bishop, 2006, Section 1.2.3). Probability is then an extension of Boolean logic to uncertain statements. The full derivation of both rules from these requirements is in Jaynes (2003, Chapter 2).
A second argument uses bets. Suppose someone prices a bet that pays 1 if happens at 0.6, and a bet that pays 1 if does not happen also at 0.6, so that their beliefs sum to 1.2. A bookmaker sells them both bets for 1.2. Exactly one bet pays 1, so they lose 0.2 whatever happens. Any prices that break the axioms of probability for finitely many events admit such a set of bets with a sure loss, and prices that obey them do not: de Finetti’s Dutch book theorem (Vineberg, 2022, Sections 1.1 and 1.3).
Bayesian reasoning with numbers#
Which urn?#
Give each urn the prior probability . The draws are independent given the urn, so by the product rule a particular sequence with black balls among has probability under urn . Bayes’ formula over the eleven hypotheses, with the sum rule in the denominator, gives
where the equal priors cancel between the numerator and every term of the denominator. For in :
| Urn | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| 0.063 | 0.221 | 0.293 | 0.236 | 0.129 | 0.047 | 0.010 | 0.001 |
Urns 0, 9 and 10 are ruled out or nearly so. Urn 3 is the most probable, but it holds less than a third of the posterior mass.
The probability that the next ball is black follows in three steps. Write for the draws seen so far:
The first two lines are the law of total probability applied given . The third holds because, once the urn is known, the earlier draws say nothing more about the next one.
This is the value MacKay reports, against for the plug-in. The Bayesian answer is larger because the posterior is skewed: urns with more black balls than urn 3 keep more mass than urns with fewer.
The posterior over the urns and the prediction
A coin with an unknown bias#
Replace the eleven urns by a continuum: a coin whose probability of heads can be any number in , with a uniform prior. The posterior after heads in flips is , the conjugate update of the probability course. For 3 heads in 10 it is . The same three steps with an integral over give , the posterior mean, and a distribution has mean (Bayesian inference note):
Laplace’s rule of succession. The urns were a grid of eleven values of , and the grid already gives the continuous answer to three digits.
For three white balls in three draws, the urn posterior is for , and the probability that the next ball is black is : small, but not zero. A model that predicted 0 and then saw a black ball would pay an infinite log loss. The predictive pays nats.
Sequential updating#
Data that arrive in batches can be processed one batch at a time. Split the ten urn draws into , the first five (two black), and , the last five (one black). We want the posterior after both batches written through , the posterior we already hold after the first.
The tool is Bayes’ formula with an extra condition that stays to the right of every bar:
It is the ordinary formula inside the world where is known, and the denominator is again the sum rule followed by the product rule.
Derivation
It follows in two ways. First, apply the definition of a conditional distribution, then the product rule to the numerator and to the denominator, and cancel :
Second, for a fixed the function is itself a probability distribution, so it obeys the sum and product rules and hence Bayes’ formula; conditioning everything on changes no step. The denominator comes from the sum rule and then the product rule, both given :
If is independent of given , the first factor is , and : the form used next.
Now set , , , and assume the batches are independent given , so that . Then
and the normalizer follows from the sum and product rules given and the same independence:
Together:
Each piece has a role. The posterior after the first batch, , plays the prior. The likelihood is that of the second batch alone. The normalizer is the predictive probability of the second batch given the first, the same average over the posterior as for the next ball above. For the urns it is a sum over the eleven urns and equals ; the evidence of the first batch is , and their product is , the evidence of all ten draws, as the product rule requires.
The split does not matter. Substitute Bayes’ formula for and the product rule ; the factor cancels:
This is the posterior from all the data at once. It is symmetric in and , so neither the split nor the order of the batches changes it.
The Code section updates the urn posterior one ball at a time and recovers the batch answer to . Nothing but the posterior has to be stored between batches, which is why Bayesian learning suits streaming data; stochastic variational inference scales this idea to millions of documents.
Prior, likelihood, posterior and predictive#
Write for the observed data and for the unknown parameters. The general scheme has four objects. The prior states what is believed before the data. The likelihood states how the data are generated for each value of the parameter. Bayes’ formula combines them into the posterior:
The normalizer is the evidence, or marginal likelihood; its integral is the sum rule over followed by the product rule . The probability course wrote the prior as ; this course writes for every density and lets the argument say which one is meant.
The posterior and the joint differ only by that normalizer: , and does not depend on . As functions of they have the same shape and the same maximum, but only the posterior integrates to 1 over ; the joint integrates to . “Posterior = likelihood × prior” is therefore true only up to that constant, . For three black balls in ten draws, the joint sums over the urns to . Its largest value, , is at urn 3, as is the largest posterior probability, .
The answer to a question about new data is the predictive distribution, the model’s predictions averaged over the posterior. It comes from the three steps used for the next ball:
The last line assumes that new and old data are independent given .
For a supervised model with inputs , targets and weights , the model states that the targets are independent given the inputs and the weights, so the likelihood is . The posterior is over the weights. The same three steps give the prediction for a new input , with two modelling assumptions: depends on the data only through , and the new input alone says nothing about , so that :
This is a vote of all the models the weights describe, each weighted by its posterior probability.
Every step after writing the model is an integral. The evidence does not change the shape of the posterior, but it is the quantity by which whole models are compared. For a few prior–likelihood pairs, the conjugate pairs, these integrals have closed forms. For the rest, the course builds approximations.
What a point estimate throws away#
Write for a point estimate, maximum likelihood or MAP:
The MAP line drops from Bayes’ formula because it does not depend on and so does not move the maximum. For i.i.d. data the likelihood is a product over the points, the logarithm turns it into a sum, and the prior enters once for the whole dataset:
Writing with the prior inside the product would count it times, as if the prior were . For a Gaussian prior that multiplies the ridge penalty by , because .
Using a point estimate replaces the posterior by a spike at one value, . Inside the predictive integral the delta function picks out the value of the integrand at , and the predictive becomes the plug-in . The approximation is good when the posterior is a narrow peak, the large-sample regime of the Bernstein–von Mises theorem. Away from that regime, several things are lost.
The first is uncertainty. After three white draws, ML and MAP with the uniform prior both pick urn 0 and predict black with probability 0, where the predictive says . A point estimate cannot say how much the data constrained the parameter. The predictive is also wider than any single model’s prediction: for a normal mean, its variance is the noise variance plus the posterior variance of the mean (Bayesian inference note), and a plug-in keeps only the first.
The second is the choice of summary. The best single number depends on the loss it will be judged by: the posterior mean minimizes the expected squared error, the median the expected absolute error, and the mode the expected 0–1 loss (derivation below). After three white draws, the mode, median and mean of the fraction are , and , three answers from one posterior.
Derivation
Let be the reported number and . For squared error, add and subtract inside the square; the cross term has posterior mean zero:
smallest at . For absolute error, the derivative of in is when and when , so the derivative of the expected loss is . It vanishes where both probabilities are : at the median. For a discrete , as for the urns, the 0–1 loss has expectation , smallest at the most probable value. For a continuous , a loss of 1 outside a window has expectation about for small , smallest at the mode.
The MAP estimate also changes under a reparametrization of , while the posterior does not (Bayesian inference note). The reason is the change-of-variables rule: for the density of is that of times , a factor that varies with and so moves the maximum, while probabilities of events are carried over unchanged.
The third is the shape. A posterior with several modes, such as that of a mixture whose components can be relabelled, is represented by one of them. Even the highest point can mislead. Take the density . Its mode is at 4, the top of a needle that holds a tenth of the mass, with height . The other nine tenths lie in the broad bump around 0, of height only . A MAP estimate reports 4, a value near which almost nothing is likely.
The fourth is the combination of sources. By sequential updating, the posterior from one dataset is the prior for the next, and the result is the posterior of both. A point estimate cannot be passed on this way. As a prior it would be a point mass at , and since the posterior is the prior times the likelihood, it would be zero wherever the prior is: no new data could move it.
The last is a way to compare models. The best-fit likelihood never decreases as a model grows: a larger model contains the smaller one as a special case, and a maximum over a larger set cannot be smaller. So it always prefers the largest model. The evidence, an integral over all parameter values, does not.
MAP estimation, sometimes called poor man’s Bayes, is still the workhorse of practice, and ridge regression and weight decay are MAP estimates. The Bayesian approach does not forbid them. It says what they approximate, so that we know when the approximation is safe.
A model is a graph of standard blocks#
Realistic models have many unknowns: parameters, hyperparameters that control the priors, and latent variables, one per observation, such as the cluster of a point in a Gaussian mixture. Writing their joint distribution directly is hopeless. A Bayesian network, or directed graphical model, writes it as a product of small conditional distributions, one per variable given its parents in a directed acyclic graph. Number the variables so that parents come before children. The product rule gives for any joint distribution, and the network is the assumption, by definition, that each factor depends on its parents only:
Each factor is a standard block: a Bernoulli or categorical choice, a Gaussian whose mean is a linear function of its parents, a gamma distribution for a precision, a beta or Dirichlet distribution for probabilities. A repeated block, such as observations that share a parameter, is drawn once inside a box, a plate, with in its corner. Observed variables are shaded.
Inference is always the same operation: condition on the shaded variables and marginalize the ones that are not asked about. The definition of a conditional distribution gives the ratio , and the sum rule, applied to the numerator and the denominator, brings both back to the joint:
with sums replaced by integrals for continuous variables. Parameters are just more unobserved nodes, which is why the Bayesian approach needs no separate theory for them.
Explaining away: a worked example#
A house has a burglar alarm, a classic example that Vetrov and Kropotov’s first lecture also works through. A burglary and an earthquake happen independently, with and . Either can set off the alarm , and the radio reports earthquakes. The graph has arrows , and , and the joint distribution is with these tables:
and , .
The burglar alarm network: explaining away
When the alarm rings, we first marginalize the earthquake out of the alarm’s table, by the sum and product rules with since and are independent, then apply Bayes’ formula:
A rare event becomes the likelier explanation. In the same way, .
Then the radio reports an earthquake. The same enumeration over the joint table (Code section) gives , and the burglary falls back to . The earthquake explains the alarm, and the evidence for a burglary is explained away.
The graph makes the mechanism visible. and are independent a priori: knowing that there was an earthquake leaves . Once their common effect is observed they become dependent, and . Bishop (2006, Section 8.2.1) shows the same pattern with a fuel gauge. It is also why the posterior over the weights of a regression is correlated even when their prior is independent, and why the latent variables of most models in this course have no simple joint posterior.
The models of this course as compositions#
Every model of the course is a composition of the same few blocks, and the inference method follows from the composition:
| Model | Blocks | Posterior |
|---|---|---|
| Beta–Bernoulli, normal–gamma | a conjugate prior and its likelihood | exact, closed form |
| Bayesian linear regression | Gaussian prior on , linear-Gaussian likelihood | exact Gaussian |
| Relevance vector machine | the same with one prior precision per weight | evidence maximization |
| Bayesian logistic regression | Gaussian prior, Bernoulli likelihood with a sigmoid | Laplace approximation |
| Gaussian mixture, probabilistic PCA | categorical or Gaussian latent variable, Gaussian likelihood | EM, variational inference |
| Latent Dirichlet allocation | Dirichlet priors, two categorical layers | variational inference, Gibbs sampling |
| Variational autoencoder | Gaussian prior, neural-network likelihood | amortized variational inference |
Where it breaks: a correct computation in a wrong model#
Bayes’ formula is coherent given the model. It cannot repair the model. Vetrov and Kropotov end their alarm example with the owner, reassured by the radio report, returning to a burgled flat. Every calculation was right; the graph was wrong. Burglars listen to the radio too, and an earthquake is a good night for them, so and were never independent.
Put that into the model as a toy number. Let a burglary be twenty times as likely on a night with an earthquake, , and keep . The graph gains an arrow , and the same enumeration gives:
| Belief | independent causes | |
|---|---|---|
The radio report that made a burglary negligible now leaves it close to even odds. The prior probability of a burglary barely moved, from to , so no amount of checking the marginal rates would have revealed the error. Only the dependence changed, and the dependence is what explaining away runs on.
The same happens with a likelihood that misdescribes the data. The posterior concentrates, confidently, on the parameter whose model is closest to the truth in KL divergence, the same limit as maximum likelihood. The reason is the law of large numbers: tends to the expectation of under the true distribution, which is minus that KL divergence plus a constant. So the likelihood behaves like up to a factor free of , and it swamps the prior. Kleijn and van der Vaart (2012) state the conditions and prove the limit.
Two other costs are of a different kind. The prior must be chosen, and for small data it shapes the answer, so its influence has to be checked; the model selection note shows that the evidence depends on it even more than the posterior. And the integrals are hard: enumeration over binary variables costs terms, and closed-form posteriors over continuous parameters exist essentially for conjugate and linear-Gaussian models. The rest of the course is about approximating them.
The plan of the course#
The course follows one question through five sections: how to compute the posterior, and what to do when it cannot be computed exactly. The scope and order follow the course of Vetrov and Kropotov (2015) at Moscow State University.
| Section | Notes | What it adds |
|---|---|---|
| Bayesian Modelling | this note; conjugate priors; model selection | the cases with a closed-form posterior and evidence; comparing models by their evidence |
| Bayesian Linear Models | Bayesian linear regression; the relevance vector machine; the Laplace approximation | a Gaussian posterior and predictive; hyperparameters fitted by the evidence; per-weight priors that switch features off; the first approximate posterior, for classification |
| Latent Variables and Approximate Inference | EM and Bayesian PCA; variational inference; Gibbs sampling | the three general methods for models whose posterior has no formula |
| Nonparametric and Topic Models | Gaussian processes; Dirichlet processes; latent Dirichlet allocation | priors over functions; mixtures with an unbounded number of components; a topic model built from the earlier blocks |
| Scalable Inference | stochastic variational inference; black-box variational inference and the VAE; Bayesian deep learning | large datasets; models without conjugacy; what a posterior over network weights adds |
The course assumes the Bayesian inference, multivariate Gaussian and Markov chain Monte Carlo notes of the probability course, the linear models and EM algorithm of the Machine Learning course, and the symmetric matrices and matrix calculus of the Mathematics course.
Its last section leads into the variational and sampling methods of the Generative Models course, starting from the variational autoencoder.
What you should remember#
- Bayesian reading: a probability is a degree of belief, and every unknown, parameters included, gets a distribution.
- Posterior ∝ likelihood × prior; the evidence normalizes it and compares models.
- Predict by averaging over the posterior: urns give instead of the plug-in , and instead of .
- For independent batches, the posterior after one batch is the prior for the next.
- A point estimate loses the width, the shape and the evidence; it is safe when the posterior is a narrow peak.
- A Bayesian network is a product of blocks, one per variable given its parents. Observing a common effect makes independent causes dependent, and a missing arrow makes the exact answer wrong.
Code#
The urn posterior and its predictive, the continuous coin, the three point estimates after three white draws, a mode that misleads, sequential updating and its normalizer, and the burglar alarm by enumeration, with independent causes and with burglaries more likely during earthquakes. The script runs in about a second; exact numbers can differ in the last digit across platforms and library versions.
import numpy as np
from itertools import product
from scipy import stats
# Which urn? Urn u holds u black and 10 - u white balls; an urn is picked uniformly, balls are drawn with replacement
u = np.arange(11)
f = u / 10 # the fraction of black balls in urn u
def urn_posterior(n_black, n_draws, prior=np.full(11, 1 / 11)):
lik = f ** n_black * (1 - f) ** (n_draws - n_black)
return lik * prior / (lik * prior).sum() # Bayes' formula over the 11 hypotheses
post = urn_posterior(3, 10)
print(post.round(3)) # [0. 0.063 0.221 0.293 0.236 0.129 0.047 0.01 0.001 0. 0. ]
print(round(post @ f, 3), f[post.argmax()]) # 0.333 0.3: the predictive against the plug-in of the best urn
# the same question with a continuous bias and a uniform prior: Beta(1 + 3, 1 + 7)
print(round(stats.beta(4, 8).mean(), 3)) # 0.333
# three white balls in three draws: the point estimates say "never black"
post = urn_posterior(0, 3)
cdf = post.cumsum()
print(post[:4].round(3), f[post.argmax()], f[np.searchsorted(cdf, 0.5)], round(post @ f, 4))
# [0.331 0.241 0.169 0.113] 0.0 0.1 0.1625: posterior mode, median and mean of the fraction of black balls
print(round(-np.log(post @ f), 2)) # 1.82: the log loss of the predictive if the next ball is black
# a mode that misleads: 0.9 N(0, 1) + 0.1 N(4, 0.01^2), the heights of the needle and of the bump
mix = lambda t: 0.9 * stats.norm.pdf(t, 0, 1) + 0.1 * stats.norm.pdf(t, 4, 0.01)
print(round(mix(4.0), 2), round(mix(0.0), 3), round(0.9 * 0 + 0.1 * 4, 1)) # 3.99 0.359 0.4: mode at 4, mean 0.4
# sequential updating: one ball at a time gives the batch posterior
draws = [1, 0, 0, 1, 0, 0, 0, 1, 0, 0] # 3 black in 10
p = np.full(11, 1 / 11)
for d in draws:
p = urn_posterior(d, 1, prior=p)
print(np.abs(p - urn_posterior(3, 10)).max() < 1e-12) # True
# the normalizer of the second update: X1 = the first five draws (2 black), X2 = the last five (1 black)
pX1 = (f ** 2 * (1 - f) ** 3).mean() # p(X1): the sum rule over urns with prior 1/11
pX2_X1 = urn_posterior(2, 5) @ (f * (1 - f) ** 4) # p(X2 | X1) = sum_u p(X2 | u) p(u | X1)
print(round(pX2_X1, 4), round(pX1, 5), round(pX1 * pX2_X1, 6), round((f ** 3 * (1 - f) ** 7).mean(), 6))
# 0.0455 0.01515 0.000689 0.000689: p(X2 | X1), p(X1), their product and p(X1, X2)
# the burglar alarm by enumeration of the joint distribution p(e) p(b | e) p(a | b, e) p(r | e)
pE = 0.02
pA = {(0, 0): 0.001, (0, 1): 0.3, (1, 0): 0.9, (1, 1): 0.95} # P(a = 1 | b, e)
pR = {0: 0.001, 1: 0.8} # P(r = 1 | e)
def alarm(pB): # pB[e] = P(b = 1 | e); equal entries mean independent causes
def joint(b, e, a, r):
return ((pB[e] if b else 1 - pB[e]) * (pE if e else 1 - pE)
* (pA[b, e] if a else 1 - pA[b, e]) * (pR[e] if r else 1 - pR[e]))
def prob(query, evidence):
states = [dict(zip('bear', s)) for s in product((0, 1), repeat=4)]
match = lambda s, c: all(s[k] == v for k, v in c.items())
den = sum(joint(**s) for s in states if match(s, evidence))
return round(sum(joint(**s) for s in states if match(s, evidence) and match(s, query)) / den, 3)
return prob
prob = alarm({0: 0.01, 1: 0.01})
print(prob({'b': 1}, {}), prob({'b': 1}, {'a': 1}), prob({'b': 1}, {'a': 1, 'r': 1}))
# 0.01 0.566 0.033: the alarm raises the belief in a burglary, the radio report explains it away
print(prob({'e': 1}, {'a': 1}), prob({'e': 1}, {'a': 1, 'r': 1})) # 0.385 0.998
print(prob({'b': 1}, {'e': 1}), prob({'b': 1}, {'e': 1, 'a': 1})) # 0.01 0.031: independent until the alarm is observed
# the wrong graph: burglaries are 20 times as likely on a night with an earthquake
prob = alarm({0: 0.01, 1: 0.2})
print(prob({'b': 1}, {}), prob({'b': 1}, {'a': 1}), prob({'b': 1}, {'a': 1, 'r': 1}))
# 0.014 0.686 0.443: the radio report no longer explains the burglary away
Next#
Every Bayesian answer here was a sum over eleven urns or sixteen states of the alarm. With continuous parameters the sums become integrals, and the integral in the denominator of Bayes’ formula usually has no formula. The next note finds the cases in which it does: priors that, combined with their likelihood, give a posterior of the same family, so that learning reduces to adding counts. They exist for every member of the exponential family, which includes almost all the standard blocks of this note.
References#
- D. P. Vetrov, D. A. Kropotov. Bayesian Methods in Machine Learning (in Russian). Lecture course, Moscow State University, 2015. Lecture 1, notes and slides (the two approaches to probability, the burglar alarm and its wrong independence assumption).
- Bayesian Methods in Machine Learning (in Russian). Lecture course, HSE University, 2021. Lecture notes, lecture 1 (the frequentist and Bayesian approaches, Bayesian reasoning).
- Конспект курса «Байесовские методы в анализе данных», 2026, github.com/bmml-team/bmml_ftda, лекция 1.
- D. J. C. MacKay. Information Theory, Inference, and Learning Algorithms. Cambridge University Press, 2003. Section 2.2 (degrees of belief and the Cox axioms), Section 2.3 (forward and inverse probabilities; the urn example).
- E. T. Jaynes. Probability Theory: The Logic of Science. Cambridge University Press, 2003. Chapter 2 (the sum and product rules derived from Cox’s requirements).
- S. Vineberg. Dutch Book Arguments. Stanford Encyclopedia of Philosophy, revised 2022. Sections 1.1 (the Dutch book theorem) and 1.3 (its converse).
- C. J. Clopper, E. S. Pearson. The use of confidence or fiducial limits illustrated in the case of the binomial. Biometrika 26(4), 404–413, 1934.
- B. J. K. Kleijn, A. W. van der Vaart. The Bernstein–von Mises theorem under misspecification. Electronic Journal of Statistics 6, 2012.
- C. M. Bishop. Pattern Recognition and Machine Learning. Springer, 2006. Section 1.2.3 (Bayesian probabilities), Section 8.2.1 (conditional independence; explaining away).