A Bias-Variance Decomposition for Bayesian Deep Learning

Total Page:16

File Type:pdf, Size:1020Kb

A Bias-Variance Decomposition for Bayesian Deep Learning A Bias-Variance Decomposition for Bayesian Deep Learning James Brofos∗ Rui Shu Roy R. Lederman Yale University Stanford University Yale University Abstract We exhibit a decomposition of the Kullback-Leibler divergence into terms corre- sponding to bias, variance, and irreducible error. Our particular focus in this work is Bayesian deep learning and in this domain we illustrate the application of this decomposition to adversarial example identification, to image segmentation, and to malware detection. We empirically demonstrate qualitative similarities between the variance decomposition and mutual information. 1 Introduction Bias-variance decompositions have an important role in the theory and practice of statistics. They can be used to understand the behavior of estimators, to deduce optimality criteria, and to diagnose systemic abnormalities arising from under- and over-fitting. Bias-variance decompositions can also be leveraged to characterize unusual observations based on their uncertainty characterization. Perhaps the most well-known bias-variance decomposition is the following. Example 1.1 (Mean Squared Error Decomposition). Let y =y ¯ + where E = 0 and Var() = σ2 and y¯ 2 R. Let y^θ be a predictor of y, with the parameters of the predictor distributed as θ ∼ π. We note that this characterization comprises a broad class of inference problems, including the case where y and y^θ may depend additionally on a set of features as in regression problems. In this case, θ can be the weights of a neural network and the predictor would also be a function of the input to the network. Then the mean squared error of y^ and y decomposes as, 2 2 2 E E(y − y^θ) = (¯y − Ey^θ) + Var(^yθ) + σ (1) θ θ This first term is the squared “bias” between the true mean and the predictive mean, the second is the variance of the prediction, and the third is the irreducible error (noise that is inherent to the generative process for y that could never be eliminated). Notice that in this decomposition there is a natural sense in which y~ = Eθy^θ is a “centroid” of the random variable y^θ for a squared error loss function; it is well-known that the expectation of a random variable minimizes the squared distance of a random draw to a fixed point. Therefore, the bias captures the squared distance of the true mean to the centroid while the variance captures the average squared distance of a random y^θ to y~. This notion of a centroid will be relevant to our decomposition. We consider the intersection of the bias-variance decomposition with the field of Bayesian deep learning. Although the bias-variance decomposition contained in this work is not specific to Bayesian deep learning in particular, we believe that there is an opportunity to exhibit the benefits of a bias-variance decomposition to applications involving Bayesian neural networks. In contrast to point- estimate neural network models, the promise of Bayesian deep learning is to provide uncertainty ∗Approved for Public Release; Distribution Unlimited. Public Release Case Number 19-2139. c 2019 The authors and The MITRE Corporation. 4th workshop on Bayesian Deep Learning (NeurIPS 2019), Vancouver, Canada. estimates for parameters. The principal difficulty in utilizing Bayesian methods in deep learning is the intractability of the posterior; therefore, we leverage a form of variational inference in order to efficiently generate approximate samples from the neural network posterior. In this work, we seek to propagate this uncertainty characterization through a decision-theoretic lens in order to obtain a general bias-variance decomposition for Bayesian deep learning. An objective in the empirical assessment portion of this work is to assess the usefulness of the bias-variance decomposition on a variety of compelling and real-world applications. The organization of the paper is as follows. In section 3 we first establish the objective and methods of Bayesian deep learning. Thereafter, we review the pertinent theory and describe, using information- theoretic techniques, a bias-variance characterization that is suitable for Bayesian deep learning, with particular focus on classification tasks. This section includes multiple examples that demonstrate the character of proposed decomposition. Section 2 examines related research on general bias-variance decompositions. In section 4 we examine the application of the bias-variance decomposition in several domains: (i) we demonstrate the usefulness of the decomposition in for characterizing unusual and adversarial inputs; (ii) we apply the bias-variance decomposition to a per-pixel image segmentation task and show the effect of contraction of the posterior on the decomposition; (iii) we utilize the bias-variance decomposition to examine software executables and illustrate the regimes of high- uncertainty predictions and evasive malware. In section 5 we conclude and offer some perspective on future work. 2 Related Work The most general treatment of bias-variance decompositions is [8], which considers Bregman di- vergences. Such a general approach is appealing, but suffers the immediate drawback that a notion of a “centroid” for the Bregman divergence may not have a convenient form. [5] also develops a bias-variance decomposition for general loss functions, but breaks with the tradition that loss should equal the sum of bias and variance terms and specializes to classification tasks where the loss is computed as a function of classification decisions (in contrast, we will adopt a distribution-theoretic approach by seeking to estimate a distribution over classes). The bias-variance decomposition we derive in corollary 3.2 arises as a special case of theorem 3.1; however, the corollary 3.2 has been derived directly in [2]. We see an opportunity for a rigorous empirical evaluation of this bias-variance decomposition, which is the primary purpose of this work. 3 Theory In this section we introduce theory for Bayesian deep learning and the information-theoretic treatment of the bias-variance decomposition. In section 4 we combine these frameworks in application to several domains. 3.1 Bayesian Deep Learning Bayesian deep learning offers a probabilistic alternative to neural networks estimated via maximum a posteriori or maximum likelihood. Let θ denote the parameters of a neural network; given a prior π(θ), Bayesian deep learning infers a posterior π(θjY; X) / L(YjX; θ)π(θ) (2) where L is the likelihood function. This work focuses on classification tasks and takes L to be the negative categorical cross entropy. For regression tasks a natural choice of likelihood function is the exponentiated mean squared error. With the Bayesian neural network posterior we can compute the posterior predictive distribution of y∗ given x∗: Z ∗ ∗ ∗ ∗ f(y jx ) = fθ(y jx )π(θjY; X) dθ (3) This has the effect of integrating over uncertainty in the network weights. The principle difficulty in Bayesian deep learning, as in other Bayesian methods, is that the normalizing constant of posterior 2 is intractable, requiring an jθj-dimensional integral over the parameter space. In the numerical examples in this work, we adopt an approximate inference procedure called Monte Carlo dropout. This procedure estimates the true posterior by multiplying the per-layer weight matrices by diagonal matrices consisting of i.i.d. Bernoulli random variables with failure probability p. 3.2 A Bias-Variance Decomposition In this work we will use D(P kQ) to denote the KL-divergence between probability measures P and Q. We use the notation fθ to denote a probability distribution depending on (possibly random) parameters θ. Theorem 3.1 (Bias-Variance-Irreducible Error Decomposition of the KL-Divergence). Let θ ∼ π 0 and ! ∼ π and let fθ be a distribution with the same support as a random probability distribution P! for all θ and !. Then, if Y ∼ P¯, ¯ ~ ~ E E D(P!kfθ) = D(P kP ) + E D(P kfθ) + I(Y ; !) (4) !∼π0θ∼π θ∼π | {z } | {z } | {z } “squared bias” “variance” “irreducible error” where P¯ is the marginal ¯ P (·) = E P!(·) (5) !∼π0 and where ~ P (·) / exp E log fθ(·) (6) θ∼π is the “geometric mixture” of fθ over θ ∼ π. The proof of theorem 3.1 relies on the “forward” and “backward” compensation identities in informa- tion theory; see appendix B. The first term of the decomposition is naturally regarded as (squared) bias because it measures the closeness, in terms of KL-divergence, of the target distribution P to the geometric mixture; theorem 3.4 shows why the geometric mixture has a meaningful interpretation as a centroid of the posterior. The second term in the decomposition has an interpretation as the variance because it measures the average divergence of a random fθ to the geometric mixture centroid. Under this interpretation, both the bias and the variance are measured in units of the logarithmic base, which in these experiments are natural units (nats). An important special case of theorem 3.1 is when P ≡ P! so that there is no randomness in the first argument to the LHS KL-divergence. Corollary 3.2 (Brinda, Klusowski, and Yang [2]). Suppose, in addition, that P ≡ P!. Then, there is no irreducible error and the bias-variance decomposition becomes, ~ ~ E D(P kfθ) = D(P kP ) + E D(P kfθ) (7) θ∼π θ∼π Corollary 3.2 can be derived directly from the reverse compensation identity. 3.3 The Geometric Mixture Centroid The geometric mixture P~ does not feature prominently in machine learning so it is worth recalling some properties it exhibits. We begin by offering some results that motivate why one should consider the geometric mixture at all. The following results are due to [2, 3] and a proof is contained in appendix B. Theorem 3.3 (The Geometric Mixture is a Bayes Rule). Consider the KL-divergence loss L(θ; P (Λ)) = D(P (Λ)kfθ) where Λ is data and P (Λ) is an estimator of fθ.
Recommended publications
  • Point Estimation Decision Theory
    Point estimation Suppose we are interested in the value of a parameter θ, for example the unknown bias of a coin. We have already seen how one may use the Bayesian method to reason about θ; namely, we select a likelihood function p(D j θ), explaining how observed data D are expected to be generated given the value of θ. Then we select a prior distribution p(θ) reecting our initial beliefs about θ. Finally, we conduct an experiment to gather data and use Bayes’ theorem to derive the posterior p(θ j D). In a sense, the posterior contains all information about θ that we care about. However, the process of inference will often require us to use this posterior to answer various questions. For example, we might be compelled to choose a single value θ^ to serve as a point estimate of θ. To a Bayesian, the selection of θ^ is a decision, and in dierent contexts we might want to select dierent values to report. In general, we should not expect to be able to select the true value of θ, unless we have somehow observed data that unambiguously determine it. Instead, we can only hope to select an estimate that is “close” to the true value. Dierent denitions of “closeness” can naturally lead to dierent estimates. The Bayesian approach to point estimation will be to analyze the impact of our choice in terms of a loss function, which describes how “bad” dierent types of mistakes can be. We then select the estimate which appears to be the least “bad” according to our current beliefs about θ.
    [Show full text]
  • Statistical Inference a Work in Progress
    Ronald Christensen Department of Mathematics and Statistics University of New Mexico Copyright c 2019 Statistical Inference A Work in Progress Springer v Seymour and Wes. Preface “But to us, probability is the very guide of life.” Joseph Butler (1736). The Analogy of Religion, Natural and Revealed, to the Constitution and Course of Nature, Introduction. https://www.loc.gov/resource/dcmsiabooks. analogyofreligio00butl_1/?sp=41 Normally, I wouldn’t put anything this incomplete on the internet but I wanted to make parts of it available to my Advanced Inference Class, and once it is up, you have lost control. Seymour Geisser was a mentor to Wes Johnson and me. He was Wes’s Ph.D. advisor. Near the end of his life, Seymour was finishing his 2005 book Modes of Parametric Statistical Inference and needed some help. Seymour asked Wes and Wes asked me. I had quite a few ideas for the book but then I discovered that Sey- mour hated anyone changing his prose. That was the end of my direct involvement. The first idea for this book was to revisit Seymour’s. (So far, that seems only to occur in Chapter 1.) Thinking about what Seymour was doing was the inspiration for me to think about what I had to say about statistical inference. And much of what I have to say is inspired by Seymour’s work as well as the work of my other professors at Min- nesota, notably Christopher Bingham, R. Dennis Cook, Somesh Das Gupta, Mor- ris L. Eaton, Stephen E. Fienberg, Narish Jain, F. Kinley Larntz, Frank B.
    [Show full text]
  • An Economic Theory of Statistical Testing∗
    An Economic Theory of Statistical Testing∗ Aleksey Tetenovy August 21, 2016 Abstract This paper models the use of statistical hypothesis testing in regulatory ap- proval. A privately informed agent proposes an innovation. Its approval is beneficial to the proponent, but potentially detrimental to the regulator. The proponent can conduct a costly clinical trial to persuade the regulator. I show that the regulator can screen out all ex-ante undesirable proponents by committing to use a simple statistical test. Its level is the ratio of the trial cost to the proponent's benefit from approval. In application to new drug approval, this level is around 15% for an average Phase III clinical trial. The practice of statistical hypothesis testing has been widely criticized across the many fields that use it. Examples of such criticism are Cohen (1994), Johnson (1999), Ziliak and McCloskey (2008), and Wasserstein and Lazar (2016). While conventional test levels of 5% and 1% are widely agreed upon, these numbers lack any substantive motivation. In spite of their arbitrary choice, they affect thousands of influential decisions. The hypothesis testing criterion has an unusual lexicographic structure: first, ensure that the ∗Thanks to Larbi Alaoui, V. Bhaskar, Ivan Canay, Toomas Hinnosaar, Chuck Manski, Jos´eLuis Montiel Olea, Ignacio Monz´on, Denis Nekipelov, Mario Pagliero, Amedeo Piolatto, Adam Rosen and Joel Sobel for helpful comments and suggestions. I have benefited from presenting this paper at the Cornell Conference on Partial Identification and Statistical Decisions, ASSET 2013, Econometric Society NAWM 2014, SCOCER 2015, Oxford, UCL, Pittsburgh, Northwestern, Michigan, Virginia, and Western. Part of this research was conducted at UCL/CeMMAP with financial support from the European Research Council grant ERC-2009-StG-240910-ROMETA.
    [Show full text]
  • 6 X 10.5 Long Title.P65
    Cambridge University Press 978-0-521-68567-2 - Principles of Statistical Inference D. R. Cox Index More information Author index Aitchison, J., 131, 175, 199 Daniels, H.E., 132, 201 Akahira, M., 132, 199 Darmois, G., 28 Amari, S., 131, 199 Davies, R.B., 159, 201 Andersen, P.K., 159, 199 Davis, R.A., 16, 200 Anderson, T.W., 29, 132, 199 Davison, A.C., 14, 132, 200, 201 Anscombe, F.J., 94, 199 Dawid, A.P., 131, 201 Azzalini, A., 14, 160, 199 Day, N.E., 160, 200 Dempster, A.P., 132, 201 de Finetti, B., 196 Baddeley, A., 192, 199 de Groot, M., 196 Barnard, G.A., 28, 29, 63, 195, 199 Dunsmore, I.R., 175, 199 Barndorff-Nielsen, O.E., 28, 94, 131, 132, 199 Barnett, V., 14, 200 Edwards, A.W.F., 28, 195, 202 Barnett, V.D., 14, 200 Efron, B., 132, 202 Bartlett, M.S., 131, 132, 159, 200 Eguchi, S., 94, 201 Berger, J., 94, 200 Berger, R.L., 14, 200 Bernardo, J.M., 62, 94, 196, 200 Farewell, V., 160, 202 Besag, J.E., 16, 160, 200 Fisher, R.A., 27, 28, 40, 43, 44, 53, 55, Birnbaum, A., 62, 200 62, 63, 66, 93, 95, 132, 176, 190, Blackwell, D., 176 192, 194, 195, 202 Boole, G., 194 Fraser, D.A.S., 63, 202 Borgan, Ø., 199 Fridette, M., 175, 203 Box, G.E.P., 14, 62, 200 Brazzale, A.R., 132, 200 Breslow, N.E., 160, 200 Brockwell, P.J., 16, 200 Garthwaite, P.H., 93, 202 Butler, R.W., 132, 175, 200 Gauss, C.F., 15, 194 Geisser, S., 175, 202 Gill, R.D., 199 Carnap, R., 195 Godambe, V.P., 176, 202 Casella, G.C., 14, 29, 132, 200, 203 Good, I.J., 196 Christensen, R., 93, 200 Green, P.J., 160, 202 Cochran, W.G., 176, 192, 200 Greenland, S., 94, 202 Copas, J., 94, 201 Cox, D.R., 14, 16, 43, 63, 94, 131, 132, 159, 160, 192, 199, 201, 204 Hacking, I., 28, 202 Creasy, M.A., 44, 201 Hald, A., 194, 202 209 © Cambridge University Press www.cambridge.org Cambridge University Press 978-0-521-68567-2 - Principles of Statistical Inference D.
    [Show full text]
  • Principles of Statistical Inference
    Principles of Statistical Inference In this important book, D. R. Cox develops the key concepts of the theory of statistical inference, in particular describing and comparing the main ideas and controversies over foundational issues that have rumbled on for more than 200 years. Continuing a 60-year career of contribution to statistical thought, Professor Cox is ideally placed to give the comprehensive, balanced account of the field that is now needed. The careful comparison of frequentist and Bayesian approaches to inference allows readers to form their own opinion of the advantages and disadvantages. Two appendices give a brief historical overview and the author’s more personal assessment of the merits of different ideas. The content ranges from the traditional to the contemporary. While specific applications are not treated, the book is strongly motivated by applications across the sciences and associated technologies. The underlying mathematics is kept as elementary as feasible, though some previous knowledge of statistics is assumed. This book is for every serious user or student of statistics – in particular, for anyone wanting to understand the uncertainty inherent in conclusions from statistical analyses. Principles of Statistical Inference D.R. COX Nuffield College, Oxford CAMBRIDGE UNIVERSITY PRESS Cambridge, New York, Melbourne, Madrid, Cape Town, Singapore, São Paulo Cambridge University Press The Edinburgh Building, Cambridge CB2 8RU, UK Published in the United States of America by Cambridge University Press, New York www.cambridge.org Information on this title: www.cambridge.org/9780521866736 © D. R. Cox 2006 This publication is in copyright. Subject to statutory exception and to the provision of relevant collective licensing agreements, no reproduction of any part may take place without the written permission of Cambridge University Press.
    [Show full text]
  • 1 Introduction
    Optimal Decision Rules for Weak GMM By Isaiah Andrews1 and Anna Mikusheva2 Abstract This paper studies optimal decision rules, including estimators and tests, for weakly identi- fied GMM models. We derive the limit experiment for weakly identified GMM, and propose a theoretically-motivated class of priors which give rise to quasi-Bayes decision rules as a limiting case. Together with results in the previous literature, this establishes desirable properties for the quasi-Bayes approach regardless of model identification status, and we recommend quasi-Bayes for settings where identification is a concern. We further propose weighted average power- optimal identification-robust frequentist tests and confidence sets, and prove a Bernstein-von Mises-type result for the quasi-Bayes posterior under weak identification. Keywords: Limit Experiment, Quasi Bayes, Weak Identification, Nonlinear GMM JEL Codes: C11, C12, C20 First draft: July 2020. This draft: July 2021. 1 Introduction Weak identification arises in a wide range of empirical settings. Weakly identified non- linear models have objective functions which are near-flat in certain directions, or have multiple near-optima. Standard asymptotic approximations break down when identifi- cation is weak, resulting in biased and non-normal estimates, as well as invalid standard errors and confidence sets. Further, existing optimality results do not apply in weakly 1Harvard Department of Economics, Littauer Center M18, Cambridge, MA 02138. Email ian- [email protected]. Support from the National Science Foundation under grant number 1654234, and from the Sloan Research Fellowship is gratefully acknowledged. 2Department of Economics, M.I.T., 50 Memorial Drive, E52-526, Cambridge, MA, 02142. Email: [email protected].
    [Show full text]
  • Multiple Hypothesis Testing and Multiple Outlier Identification Methods
    Multiple Hypothesis Testing and Multiple Outlier Identification Methods A Thesis Submitted to the College of Graduate Studies and Research in Partial Fulfillment of the Requirements for the Degree of Doctor of Philosophy in the Department of Mathematics and Statistics University of Saskatchewan Saskatoon, Saskatchewan By Yaling Yin March 2010 c Yaling Yin , March 2010. All rights reserved. Permission to Use In presenting this thesis in partial fulfilment of the requirements for a Postgraduate degree from the University of Saskatchewan, I agree that the Libraries of this University may make it freely available for inspection. I further agree that permission for copying of this thesis in any manner, in whole or in part, for scholarly purposes may be granted by the professor or professors who supervised my thesis work or, in their absence, by the Head of the Department or the Dean of the College in which my thesis work was done. It is understood that any copying or publication or use of this thesis or parts thereof for financial gain shall not be allowed without my written permission. It is also understood that due recognition shall be given to me and to the University of Saskatchewan in any scholarly use which may be made of any material in my thesis. Requests for permission to copy or to make other use of material in this thesis in whole or part should be addressed to: Head of the Department of Mathematics and Statistics University of Saskatchewan Saskatoon, Saskatchewan Canada S7N 5E6 i Abstract Traditional multiple hypothesis testing procedures, such as that of Benjamini and Hochberg, fix an error rate and determine the corresponding rejection region.
    [Show full text]
  • STAT 200B: Theoretical Statistics
    STAT 200B: Theoretical Statistics Arash A. Amini March 2, 2020 1 / 218 Statistical decision theory A probability model = Pθ : θ Ω for data X : • Ω: parameter space,P : samplef space.2 g 2 X X An action space : set of available actions (decisions). • A A loss function: • 0-1 loss L(θ; a) = 1 θ = a Ω = = 0; 1 . f 6 2g A f d g Quadratic loss (Squared error) L(θ; a) = θ a 2 Ω = = R . k − k A Statistical inference as a game: 1. Nature picks the \true" parameter θ, and draws X Pθ. Thus, X is a random element of . ∼ X 2. Statistician observes X and makes a decision δ(X ) . δ : is called a decision rule. 2 A X!A 3. Statistician incurs the loss L(θ; δ(X )). The goal of the statistician is to minimize its expected loss, a.k.a the risk: R(θ; δ) := EθL(θ; δ(X )) 2 / 218 The goal of the statistician is to minimize its expected loss, a.k.a the risk: • R(θ; δ) := EθL(θ; δ(X )) = L(θ; δ(x)) dPθ(x) Z = L(θ; δ(x)) pθ(x) dµ(x) Z when family is dominated: Pθ = pθdµ. Usually work with the family of densities p ( ): θ Ω . • f θ · 2 g 3 / 218 Example 1 (Bernoulli trials) A coin being flipped, want to estimate the probability of coming up heads. • One possible model: • iid X = (X1;:::; Xn), Xi Ber(θ), for some θ [0; 1]. n ∼ n 2 Formally, = 0; 1 , Pθ = (Ber(θ))⊗ and Ω = [0; 1].
    [Show full text]
  • Statistical Decision Functions with Judgment
    Working Paper Series Simone Manganelli Statistical decision functions with judgment No 2512 / January 2021 Disclaimer: This paper should not be reported as representing the views of the European Central Bank (ECB). The views expressed are those of the authors and do not necessarily reflect those of the ECB. Abstract A decision maker tests whether the gradient of the loss function eval- uated at a judgmental decision is zero. If the test does not reject, the action is the judgmental decision. If the test rejects, the action sets the gradient equal to the boundary of the rejection region. This statisti- cal decision rule is admissible and conditions on the sample realization. The confidence level reflects the decision maker’s aversion to statistical uncertainty. The decision rule is applied to a problem of asset alloca- tion. Keywords: Statistical Decision Theory; Hypothesis Testing; Confidence Intervals; Conditional Inference. JEL Codes: C1; C11; C12; C13; D81. ECB Working Paper Series No 2512 / January 2021 1 Non-technical Summary The use of judgment is ubiquitous in decision making, yet it lacks a formal treatment in statistics. Policy institutions, like central banks, routinely use state of the art econometric models to forecast key economic variables. When forecasts differ from the assessment of the decision makers, they are adjusted with ‘expert judgment’. The process of incorporating judgment in the decision process should be turned on its head. Decision makers should first express their judgmental de- cision and then econometricians should recommend whether there is statistical evidence to deviate from it. The statistical decision incorporating judgment lies at the boundary of a confidence interval.
    [Show full text]
  • Econometrics and Decision Theory
    Journal of Econometrics 95 (2000) 255}283 Econometrics and decision theory Gary Chamberlain* Department of Economics, Harvard University, Cambridge, MA 02138, USA Abstract The paper considers the role of econometrics in decision making under uncertainty. This leads to a focus on predictive distributions. The decision maker's subjective distribu- tion is only partly speci"ed; it belongs to a set S of distributions. S can also be regarded as a set of plausible data-generating processes. Criteria are needed to evaluate procedures for constructing predictive distributions. We use risk robustness and minimax regret risk relative to S. To obtain procedures for constructing predictive distributions, we use Bayes procedures based on parametric models with approximate prior distributions. The priors are nested, with a "rst stage that incorporates qualitative information such as exchangeability, and a second stage that is quite di!use. Special points in the parameter space, such as boundary points, can be accommodated with second-stage priors that have one or more mass points but are otherwise quite di!use. An application of these ideas is presented, motivated by an individual's consumption decision. The problem is to construct a distribution for that individual's future earnings, based on his earnings history and on a longitudinal data set that provides earnings histories for a sample of individuals. ! 2000 Elsevier Science S.A. All rights reserved. JEL classixcation: C23; C44 Keywords: Expected utility; Predictive distribution; Risk robustness; Minimax regret; Bayes procedure; Longitudinal data * Corresponding author. Tel.: (617) 495-1869; fax: (617) 495-8570. E-mail address: gary}[email protected]. (G.
    [Show full text]
  • Bayesian Statistics
    Bayesian Statistics B.J.K. Kleijn University of Amsterdam Korteweg-de Vries institute for Mathematics Spring 2009 Contents Preface iii 1 Introduction 1 1.1 Frequentist statistics . 1 1.2 Bayesian statistics . 8 1.3 The frequentist analysis of Bayesian methods . 10 1.4 Exercises . 11 2 Bayesian basics 13 2.1 Bayes' rule, prior and posterior distributions . 14 2.2 Bayesian point estimators . 22 2.3 Credible sets and Bayes factors . 27 2.4 Decision theory and classification . 37 2.5 Exercises . 46 3 Choice of the prior 51 3.1 Subjective and objective priors . 52 3.2 Non-informative priors . 55 3.3 Conjugate families, hierarchical and empirical Bayes . 60 3.4 Dirichlet process priors . 71 3.5 Exercises . 79 4 Bayesian asymptotics 79 4.1 Asymptotic statistics . 79 4.1.1 Consistency, rate and limit distribution . 80 4.1.2 Local asymptotic normality . 84 4.2 Schwarz consistency . 90 4.3 Posterior rates of convergence . 96 4.4 The Bernstein-Von Mises theorem . 101 4.5 The existence of test sequences . 104 i 5 Model and prior selection 87 5.1 Bayes factors revisited . 87 5.2 Marginal distributions . 87 5.3 Empirical Bayesian methods . 87 5.4 Hierarchical priors . 87 6 Numerical methods in Bayesian statistics 89 6.1 Markov-chain Monte-Carlo simulation . 89 6.2 More . 89 A Measure theory 91 A.1 Sets and sigma-algebras . 91 A.2 Measures . 91 A.3 Measurability and random variables . 93 A.4 Integration . 93 A.5 Existence of stochastic processes . 95 A.6 Conditional distributions .
    [Show full text]
  • Bayesian Statistics Lecture Notes 2015
    Bayesian Statistics Lecture Notes 2015 B.J.K. Kleijn Korteweg-de Vries institute for Mathematics Contents Preface iii 1 Introduction 1 1.1 Frequentist statistics . 1 1.1.1 Data and model . 1 1.1.2 Frequentist estimation . 6 1.2 Bayesian statistics . 9 1.3 The frequentist analysis of Bayesian methods . 12 1.4 Exercises . 13 2 Bayesian basics 15 2.1 Bayes's rule, prior and posterior distributions . 16 2.1.1 Bayes's rule . 16 2.1.2 Bayes's billiard . 20 2.1.3 The Bayesian view of the model . 21 2.1.4 A frequentist's view of the posterior . 23 2.2 Bayesian point estimators . 27 2.2.1 Posterior predictive and posterior mean . 27 2.2.2 Small-ball and formal Bayes estimators . 30 2.2.3 The Maximum-A-Posteriori estimator . 31 2.3 Confidence sets and credible sets . 33 2.3.1 Frequentist confidence intervals . 33 2.3.2 Bayesian credible sets . 36 2.4 Tests and Bayes factors . 37 2.4.1 Neyman-Pearson tests . 37 2.4.2 Randomized tests and the Neyman-Pearson lemma . 40 2.4.3 Test sequences and minimax optimality . 42 2.4.4 Bayes factors . 44 2.5 Decision theory and classification . 47 2.5.1 Decision theory . 47 2.5.2 Bayesian decision theory . 51 i 2.5.3 Frequentist versus Bayesian classification . 53 2.6 Exercises . 56 3 Choice of the prior 61 3.1 Subjective priors . 62 3.1.1 Motivation for the subjectivist approach . 62 3.1.2 Methods for the construction of subjective priors .
    [Show full text]