Giovanni Parmigiani and Inoue (2009) is the most complete modern account of the foundations on which this book stands. Decision Theory: Principles and Approaches moves from coherence and utility through Ramsey, Savage and Anscombe and Aumann to decision functions, admissibility, shrinkage, scoring rules, the value of information, sample size and optimal stopping, and many of its examples are medical. Parmigiani’s earlier Modeling in Medical Decision Making(G. Parmigiani 2002) supplies the clinical models. The worked examples are ours, and each is computed in the chapter.
1.1 Coherence: why the posterior is not optional
A decision maker who announces prices for bets on uncertain events is coherent if no combination of those bets guarantees a loss. The Dutch book theorem of de Finetti says that prices are coherent if and only if they obey the axioms of probability (finitely additive ones) (Finetti 1937; Giovanni Parmigiani and Inoue 2009). Temporal coherence extends the argument to updating. If prices after seeing data \(x\) are announced in advance as conditional prices, avoiding a sure loss across the two periods requires that the new prices equal the conditional probabilities given \(x\), which is Bayes’ rule.
For trials the consequence is concrete. A data monitoring committee that announces in the protocol how it will act on each possible interim result, and then acts differently when the result arrives, is incoherent in an analogous sense: its announced and actual actions are inconsistent. Temporal coherence does not require a rule to be written down in advance; it requires that a rule, once announced, be followed. Regulators demand prespecification for frequentist reasons. Once the rule is written down, the Bayesian and the regulator agree that it binds; they disagree about which rule to write.
1.2 Utility for medical decisions
Parmigiani and Inoue devote a section to utility functions for medical decisions, and two elicitation methods recur in clinical work.
Standard gamble. The patient compares living in a health state for certain with a gamble that yields full health with probability \(q\) and death with probability \(1 - q\). The probability \(q^\ast\) at which the patient is indifferent is the utility of the state on a scale where death is 0 and full health is 1. A patient indifferent at \(q^\ast = 0.85\) assigns the state utility 0.85.
Time trade off. The patient compares \(T\) years in the state with \(t\) years in full health. Indifference at \(t^\ast\) gives utility \(t^\ast/T\). A patient indifferent between ten years with incontinence and eight years in full health assigns 0.8.
The two methods disagree in practice, and the disagreement is informative. The standard gamble includes risk attitude, because it is a lottery; the time trade off includes time preference, because it trades years. A risk averse patient gives a higher standard gamble value than time trade off value for the same state. Pliskin, Shepard, and Weinstein (1980) gave the conditions under which quality adjusted life years are a valid utility. The practical lesson is to elicit with the method that matches the decision: a surgical decision with a risk of death calls for the standard gamble; a choice between a longer life with side effects and a shorter one without calls for the time trade off.
1.3 Decision functions, minimax and the least favorable prior
A decision rule \(\delta\) maps data to actions. Its risk \(R(\theta, \delta) = \mathbb{E}_\theta[L(\theta, \delta(X))]\) is a function of the unknown state. A Bayes rule minimizes the average risk under a prior; a minimax rule minimizes the maximum risk. In a diagnostic decision the two are closely related.
Take the test or treat problem of Chapter 8. The patient has the disease (\(D\)) or not (\(N\)). Failing to treat a diseased patient loses \(B = 0.30\); treating a healthy one loses \(H = 0.05\). A test has sensitivity 0.90 and specificity 0.85. There are four deterministic rules, whose risks in the two states are in Table 1.1.
Show the R code
B <-0.30; H <-0.05; s <-0.90; f <-0.85rules <-data.frame(Rule =c("Never treat", "Always treat", "Treat if test positive", "Treat if test negative"),RD =c(B, 0, B * (1- s), B * s),RN =c(0, H, H * (1- f), H * f))rules$Max <-pmax(rules$RD, rules$RN)kable(rules, col.names =c("Rule", "$R(D,\\delta)$", "$R(N,\\delta)$", "Maximum risk"), digits =4)
Table 1.1: Risk of the four deterministic rules in the test or treat problem.
Rule
\(R(D,\delta)\)
\(R(N,\delta)\)
Maximum risk
Never treat
0.30
0.0000
0.30
Always treat
0.00
0.0500
0.05
Treat if test positive
0.03
0.0075
0.03
Treat if test negative
0.27
0.0425
0.27
The last rule is dominated by the third in both states and is inadmissible. Among deterministic rules the minimax choice is to test and treat positives, with maximum risk 0.030. Randomizing between “treat if positive” with probability \(\lambda\) and “always treat” with probability \(1 - \lambda\) equalizes the risks when
The minimax rule is a Bayes rule for the least favorable prior, the prior at which the decision maker is indifferent between the two rules being mixed. Solving \(\pi \cdot 0.030 + (1 - \pi) \cdot 0.0075 = (1 - \pi) \cdot 0.05\) gives \(\pi = 0.586\). This is exactly the test treatment threshold of Chapter 4 (0.586 in Chapter 8), with odds \(\frac{H}{B}\cdot\frac{f}{1-s}\) for disease. The minimax clinician behaves as if every patient were at the boundary where testing and treating are equally good. That is a defensible posture toward a patient about whom nothing is known, and an indefensible one toward a patient whose risk is known to be two percent. The prior is not a nuisance to be eliminated; ignoring it is itself a prior, and here the prior that makes the decision hardest.
1.4 Admissibility and shrinkage
A rule is admissible if no other rule has risk at least as small in every state and strictly smaller in some. The complete class theorems (Wald 1950) say that, under mild conditions, every admissible rule is a Bayes rule or a limit of Bayes rules. For trial design this is a strong statement: any design and analysis that is admissible is Bayes, or a limit of Bayes rules, for some prior under its loss, and the only question is whether those implied inputs are reasonable. The companion volume draws out the implied loss ratio of the Neyman Pearson test; the complete class theorem says that the exercise is always possible.
Stein’s result (Stein 1956) is the counterexample that keeps the theory honest. With \(K \geq 3\) arms whose effect estimates are independent, \(X_k \sim N(\theta_k, 1)\), the unbiased estimator \(X\) is inadmissible under total squared error \(\sum_k (\hat\theta_k - \theta_k)^2\). The James Stein estimator (James and Stein 1961)
has strictly smaller total risk for every \(\theta\). Take a basket trial with \(K = 8\) baskets. In the first case the true effects are drawn from \(N(0, 0.5)\), where 0.5 is the variance, and the Bayes posterior mean with the correct prior multiplies each estimate by \(0.5/(0.5+1) = 1/3\). In the second case all eight effects equal 2, far from the shrinkage target of 0, and the Bayes rule keeps the same, now wrong, prior.
Table 1.2: Total squared error over eight baskets, from 100,000 simulated trials.
Unshrunk
James Stein
Bayes posterior mean
Effects drawn from N(0, 0.5)
8.03
4.01
2.67
All effects equal 2
8.00
7.01
15.11
When the prior is right, James Stein halves the error of the raw estimates and the Bayes rule does better still (2.67 against 4.0). When all effects equal 2, James Stein still beats the raw estimates (7.0 against 8.0), while the Bayes rule with the wrong prior is much worse (15.1). The Stein estimator buys robustness by estimating the amount of shrinkage from the data, which is what the hierarchical models of the companion volume do when they put a prior on the between group standard deviation \(\tau\).
1.5 Scoring rules and the well calibrated forecaster
A sponsor, a data monitoring committee and a regulator all make probability forecasts: that a Phase III trial will succeed, that a drug will be approved, that a safety signal is real. A scoring rule \(S(q, y)\) rewards a forecast \(q\) when the outcome is \(y\). It is proper if the forecaster maximizes expected score by reporting her true probability. The Brier score (Brier 1950)\(-(q - y)^2\) and the logarithmic score \(\log q^y (1 - q)^{1-y}\) are proper. Under the Brier score the expected penalty for reporting \(q\) when one believes \(p\) is
so a sponsor who reports 0.7 when its honest assessment is 0.5 loses 0.04 per forecast in expectation, a cost that accumulates over a portfolio.
Dawid (1982) showed that a coherent Bayesian expects to be well calibrated: among events to which she assigns probability \(p\), she expects a fraction \(p\) to occur. The companion volume uses calibration to compare Bayes and frequentist rules. Scoring rules give a practical use: a company can score its own portfolio forecasts of Phase II and Phase III success, decompose the score into calibration and refinement, and learn whether its development teams are systematically optimistic.
1.6 Lindley information and the Ockham penalty
Lindley (1956) defined the information in an experiment as the expected reduction in entropy from prior to posterior,
the mutual information between \(\theta\) and the data. It is nonnegative, additive in sequence (the information in two experiments is that of the first plus the expected information of the second given the first), and increasing in the Blackwell order (Blackwell 1953). For a normal mean with a normal prior of variance \(\tau^2\) (a different \(\tau\) from the between group standard deviation above) and data of precision \(n/\sigma^2\), measured in nats (natural logarithms, used throughout this section),
This is exactly half of the Ockham penalty \(L_n = \log(1 + I_n\tau^2)\), where \(I_n = n/\sigma^2\) is the Fisher information, that sets the Bayes bar on the moderate deviation scale of the companion volume. The coincidence is not an accident. The Bayes factor penalizes the alternative by the amount of information an experiment of that size could deliver about \(\theta\), and the bar rises like \(\log n\) because Lindley information does. Table 1.3 takes a trial with \(\tau = 0.25\) and \(\sigma = 1\).
Show the R code
n <-c(50, 200, 800, 3200)kable(data.frame(n = n, Nats =0.5*log(1+ n *0.25^2)), digits =1, col.names =c("$n$", "Information (nats)"))
Table 1.3: Lindley information of a trial with prior standard deviation 0.25 and outcome standard deviation 1.
\(n\)
Information (nats)
50
0.7
200
1.3
800
2.0
3200
2.7
Each quadrupling of the trial adds about 0.7 nats.
Lindley information is also a design criterion in its own right, useful when the decision the trial informs is not yet specified, as in an early exploratory study. Maximizing it over designs gives the Bayesian D optimal design for normal linear models with known variance and a normal prior (Chaloner and Verdinelli 1995).
1.7 Sample size: three Bayesian criteria
Bayesian sample size rules either choose the smallest \(n\) whose posterior is expected to meet a target or weigh the value of the data against the cost of collecting them (Giovanni Parmigiani and Inoue 2009, ch. 14). Two common targets give the first two criteria below; the trade-off gives the third.
Interval length. Choose \(n\) so that the posterior 95 percent interval has length at most \(\ell\) (expected length when the length depends on the data). With a flat analysis prior and two arms, \(2 \times 1.96\sqrt{2\sigma^2/n} \leq \ell\), so \(n \geq 2(3.92\sigma/\ell)^2\). For \(\ell = 0.3\) and \(\sigma = 1\) this is 342 per arm.
Posterior probability. Choose \(n\) so that the preposterior probability of a convincing posterior, \(\Pr(\Pr(\theta > 0 \mid X) > 0.975)\), is at least a target such as 0.8. The answer depends on two priors, a design prior used to predict the data and an analysis prior used to compute the posterior. With design prior \(N(0.3, 0.1^2)\) and a flat analysis prior, with \(\sigma = 1\), the posterior probability exceeds 0.975 when the estimated difference exceeds \(1.96\sqrt{2/n}\), and the criterion is assurance. Under the design prior the estimate is normal with mean 0.3 and variance \(0.1^2 + 2/n\), so assurance is a normal tail probability.
Table 1.4: Assurance with design prior N(0.3, 0.1^2), flat analysis prior, and the same informative prior used for analysis.
\(n\) per arm
Flat analysis prior
Informative analysis prior
50
0.340
0.997
200
0.769
0.989
300
0.861
0.988
400
0.906
0.989
With the flat analysis prior assurance reaches 0.77 at 200 per arm, 0.86 at 300 and 0.91 at 400. With the same informative prior used for analysis, the probability of a convincing posterior is at least 0.988 at every sample size from 50 upward, because the prior alone already gives \(\Pr(\theta > 0) = \Phi(3) = 0.9987\). The trial is then unnecessary for the analyst who holds that prior, which is the right conclusion for her, and a warning against letting a sponsor’s design prior into a regulator’s analysis.
Decision theoretic. Choose \(n\) to maximize expected utility net of sampling cost, as in Chapter 11 and Chapter 10. This is the only one of the three that answers the question of how much information is worth buying.
The frequentist power calculation is a special case of the posterior probability criterion with a point mass design prior at the alternative and a flat analysis prior. A power calculation is therefore a Bayesian sample size calculation with an unusually confident design prior. Inoue, Berry, and Parmigiani (2005) relate the power calculation to two other Bayesian goals, the expected rate of correct classification of the hypotheses and Lindley information (Equation 1.1): for normal data they find the prior inputs under which the Bayesian sample size equals the power based one for every target difference.
At the point \(\theta = 0.3\), a two arm trial needs 234 per arm for ninety percent power. The assurance at that size, which acknowledges uncertainty about \(\theta\), is only 0.81, and assurance first reaches 0.8 at 226 per arm (a lower target than the 90 percent power above).
1.8 Optimal stopping by backward induction
Sequential problems are solved by dynamic programming, and a small example shows what the solution looks like. A single arm trial enrolls patients one at a time, up to 60. The response rate \(p\) has a \(\mathrm{Beta}(3, 7)\) prior, centered at the standard of care rate \(p_0 = 0.3\). Each patient costs \(c = 0.002\) in utility units. When the trial stops after \(n\) patients with \(x\) responses, the sponsor adopts the drug if the posterior mean exceeds \(p_0\), earning \(M(\mathbb{E}[p \mid x, n] - p_0)\) with \(M = 10\) representing the population of future patients, and abandons it otherwise.
Let \(V_n(x)\) be the optimal expected utility from state \((n, x)\). At the horizon, \(V_{60}(x)\) is the terminal value. Before it,
with \(\hat p_n = (3 + x)/(10 + n)\), the predictive probability that the next patient responds. Solving backward gives the continuation region in Table 1.5.
Show the R code
source("code/01-helpers.R")d <-stop_dp()n <-c(5, 10, 20, 30, 40, 50, 55)rng <-sapply(n, function(k) { w <-which(d$cont[[k +1]]) -1; paste(min(w), "to", max(w)) })tab <-rbind(`Continue if x in`= rng, `Adopt on stopping if x at least`=floor(0.3* n) +1)colnames(tab) <-paste("n =", n)kable(tab)
Table 1.5: Optimal stopping: the trial continues while the number of responses lies in the given range.
n = 5
n = 10
n = 20
n = 30
n = 40
n = 50
n = 55
Continue if x in
0 to 4
1 to 5
4 to 8
7 to 11
10 to 14
14 to 16
15 to 17
Adopt on stopping if x at least
2
4
7
10
13
16
17
The continuation region is a band about five responses wide around the adoption boundary. On the posterior mean scale it narrows as the trial proceeds, because each additional patient changes the posterior less and so is worth less, and it closes as the 60-patient horizon approaches. Outside the band the decision is clear enough that further sampling cannot pay for itself. The operating characteristics are computed exactly by following the probability of each state forward.
Table 1.6: Operating characteristics of the optimal design.
True \(p\)
Probability of adoption
Expected patients
0.20
0.053
24.8
0.30
0.496
32.3
0.45
0.976
19.1
With true \(p = 0.2\) the drug is adopted 5 percent of the time after 25 patients on average; with \(p = 0.3\), exactly at the boundary, half the time after 32; with \(p = 0.45\), 98 percent of the time after 19. The design has no type I error target, yet its error rates are small where the stakes are large and large only where the two actions are nearly equivalent. This is the general shape of Bayes sequential designs, and the companion volume treats the Gittins index and bandit designs for related multi arm problems with discounted rewards to patients in the trial.
NoteKey points
Ignoring the prior is a prior. The minimax rule is Bayes for the least favorable prior, which in the diagnostic example is the boundary patient. A clinician who knows more should use it.
Admissible means Bayes for something. Every admissible design is Bayes, or a limit of Bayes rules, for some prior, and reading off those inputs is the best way to judge a conventional design.
Shrink, but let the data say how much. Stein’s estimator and the hierarchical model both shrink, and both estimate the amount from the data. Fixed shrinkage toward the wrong target can be much worse than none.
Information returns are logarithmic. Lindley information grows like \(\log n\), which is why the Bayes bar does.
Keep design and analysis priors apart. The prior used to plan a trial and the prior used to judge it answer different questions and can rightly differ.
A power calculation is a Bayesian sample size calculation with a point mass design prior.
TipDiscussion questions
Prove the Brier score identity \(\mathbb{E}_p[(q - Y)^2] - \mathbb{E}_p[(p - Y)^2] = (q - p)^2\) and deduce that the Brier score is proper.
In the test or treat problem, show that the least favorable prior equals the test treatment threshold of Chapter 4 whenever \(s + f > 1\) and \(B(1 - s) \geq H(1 - f)\), where \(s\) is the sensitivity and \(f\) the specificity, and find what it equals when the second inequality is reversed.
Derive Equation 1.1 from the entropies of the normal prior and posterior.
For \(K = 4\) arms, compute the risk of the James Stein estimator by simulation when \(\theta = (1, 1, 1, 1)\) and when \(\theta = (2, 0, 0, 0)\). When is the gain largest?
Rerun the backward induction with \(M = 3\). How do the continuation band and the expected sample size change? Explain in terms of the value of information.
Blackwell, David. 1953. “Equivalent Comparisons of Experiments.”The Annals of Mathematical Statistics 24 (2): 265–72. https://doi.org/10.1214/aoms/1177729032.
Brier, G. W. 1950. “Verification of forecasts expressed in terms of probability.”Monthly Weather Review 78: 1–3.
Chaloner, Kathryn, and Isabella Verdinelli. 1995. “Bayesian Experimental Design: A Review.”Statistical Science 10 (3): 273–304. https://doi.org/10.1214/ss/1177009939.
Dawid, A. P. 1982. “The well calibrated Bayesian.”Journal of the American Statistical Association 77: 605–10.
Inoue, Lurdes Y. T., Donald A. Berry, and Giovanni Parmigiani. 2005. “Relationship Between Bayesian and Frequentist Sample Size Determination.”The American Statistician 59 (1): 79–87. https://doi.org/10.1198/000313005X21069.
James, W., and C. Stein. 1961. “Estimation with quadratic loss.” In Proceedings of the Fourth Berkeley Symposium on Mathematical Statistics and Probability.
Lindley, D. V. 1956. “On a measure of the information provided by an experiment.”Annals of Mathematical Statistics 27: 986–1005.
Parmigiani, G. 2002. Modeling in Medical Decision Making: A Bayesian Approach. Wiley, Chichester.
Parmigiani, Giovanni, and Lurdes Y. T. Inoue. 2009. Decision Theory: Principles and Approaches. John Wiley & Sons. https://doi.org/10.1002/9780470746684.
Pliskin, J. S., D. S. Shepard, and M. C. Weinstein. 1980. “Utility functions for life years and health status.”Operations Research 28.
Stein, Charles. 1956. “Inadmissibility of the Usual Estimator for the Mean of a Multivariate Normal Distribution.” In Proceedings of the Third Berkeley Symposium on Mathematical Statistics and Probability, 1:197–206. Berkeley: University of California Press.
Wald, A. 1950. Statistical Decision Functions. Wiley.