Bayesian Linear Regression Regression Regression

Total Page:16

File Type:pdf, Size:1020Kb

Bayesian Linear Regression Regression Regression Bayesian linear Bayesian linear Bayesian linear regression regression regression UFC/DC UFC/DC ATAI-I (CK0146) ATAI-I (CK0146) PR (TIP8311) PR (TIP8311) 2016.2 2016.2 Bayesian linear Bayesian linear regression regression Parameter distribution Parameter distribution Predictive distribution Predictive distribution Equivalent kernel Bayesian linear regression Equivalent kernel In a maximum likelihood approach for setting parameters in a linear model for Gaussian processes Gaussian processes regression, we tune effective model complexity, the number ofbasisfunctions Linear models for regression Linear regression revisited Linear regression revisited • We control it based on the size of the data set Gaussian processes for Gaussian processes for regression regression Learning the Learning the hyper-parameters hyper-parameters Francesco Corona Adding a regularisation term to the log likelihood function means that the effective model complexity can be controlled by the regularisation coefficient • The choice of the number and form of the basis functions is still important in determining the overall behaviour of the model Bayesian linear Bayesian linear regression (cont.) Bayesian linear Bayesian linear regression (cont.) regression regression UFC/DC UFC/DC ATAI-I (CK0146) ATAI-I (CK0146) PR (TIP8311) PR (TIP8311) 2016.2 2016.2 Bayesian linear Bayesian linear regression regression Parameter distribution Parameter distribution Predictive distribution This leaves the issue of setting appropriate model complexity for the problem Predictive distribution Equivalent kernel Equivalent kernel • We therefore turn to a Bayesian treatment of linear regression Gaussian processes It cannot be decided simply by maximising the likelihood function Gaussian processes • Linear regression revisited • This always leads to excessively complex models and over-fitting Linear regression revisited Avoids the over-fitting problem of maximum likelihood Gaussian processes for Gaussian processes for regression regression • Leads to automatic methods of setting model complexity Learning the Learning the hyper-parameters hyper-parameters Remark Independent hold-out data can be used to determine model complexity We again focus on the case of a single target variable t • This can be both computationally expensive and wasteful of data Bayesian linear Outline Bayesian linear regression regression UFC/DC UFC/DC ATAI-I (CK0146) ATAI-I (CK0146) PR (TIP8311) PR (TIP8311) 2016.2 2016.2 Bayesian linear Bayesian linear regression regression Parameter distribution Parameter distribution Predictive distribution 1 Bayesian linear regression Predictive distribution Equivalent kernel Parameter distribution Equivalent kernel Gaussian processes Predictive distribution Gaussian processes Linear regression revisited Linear regression revisited Gaussian processes for Equivalent kernel Gaussian processes for Parameter distribution regression regression Bayesian linear regression Learning the Learning the hyper-parameters hyper-parameters 2 Gaussian processes Linear regression revisited Gaussian processes for regression Learning the hyper-parameters Bayesian linear Parameter distribution Bayesian linear Parameter distribution (cont.) regression regression UFC/DC UFC/DC ATAI-I (CK0146) ATAI-I (CK0146) PR (TIP8311) PR (TIP8311) 2016.2 2016.2 The posterior distribution is ∝ to the product of likelihood function and prior • 23 Bayesian linear The Bayesian treatment of linear regression starts by introducing Bayesian linear Due to the choice of a conjugate prior, the posterior is Gaussian too regression apriorprobabilitydistributionoverthemodelparametersw1 regression Parameter distribution Parameter distribution N Predictive distribution Predictive distribution T −1 p(w|t) ∝ N (tn|w φ(xn), β ) N (w|m0, S0) Equivalent kernel Equivalent kernel The likelihood function p(t|w)istheexponentialofaquadraticfunctionofw n=1 Gaussian processes Gaussian processes " ! # Linear regression revisited Linear regression revisited β T 1 T −1 N ∝ exp − (t − Φ) (t − Φ) exp − (w − m0) S (w − m0) Gaussian processes for T Gaussian processes for 0 regression p(t|w)= N (t |w φ(x ), β) regression 2 2 n n " # " # Learning the n=1 Learning the hyper-parameters ! hyper-parameters The posterior distribution can be thus written directly in the form The corresponding conjugate prior is thus a Gaussian distribution of the form p(w|t)=N (w|mN , SN )(2) p(w)=N (w|m0, S0)(1) −1 ΦT mN = SN (S0 m0 + β t)(3) • Mean m0 and covariance S0 −1 −1 ΦT Φ SN = S0 − β (4) 2We derived something similar when discussing Bayes’ theoremforGaussianvariables. 3This distribution is calculated by completing the square in the exponential and finding the 1There also is the noise precision parameter β,wefirstassumeitisaknownconstant normalisation coefficient using the result for a normalised Gaussian. Bayesian linear Parameter distribution (cont.) Bayesian linear Parameter distribution (cont.) regression regression UFC/DC UFC/DC ATAI-I (CK0146) ATAI-I (CK0146) PR (TIP8311) PR (TIP8311) 2016.2 2016.2 Bayesian linear Bayesian linear regression regression Parameter distribution Parameter distribution Predictive distribution Predictive distribution Consider a simple form of the Gaussian distribution, zero-mean isotropic Equivalent kernel Because the posterior distribution is Gaussian, mode and mean coincide Equivalent kernel • Only a single precision parameter α characterises it • Gaussian processes The maximum posterior weight vector is given by wMAP = mN Gaussian processes Linear regression revisited Linear regression revisited p(w|α)=N (w|0, α−1I)(5) Gaussian processes for −1 Gaussian processes for regression If we consider an infinitely broad prior S0 = α I with α → 0, the mean regression Learning the Learning the hyper-parameters mN of the posterior distribution reduces to the maximum likelihood value hyper-parameters T −1 T The corresponding posterior distribution over w is p(w|t)=N (w|mN , SN ) wML =(Φ Φ) Φ t T mN = βSN Φ t (6) Similarly, if N =0,thenagaintheposteriordistributionrevertstotheprior −1 ΦT Φ SN = αI + β (7) Bayesian linear Parameter distribution (cont.) Bayesian linear Parameter distribution (cont.) regression regression UFC/DC UFC/DC ATAI-I (CK0146) ATAI-I (CK0146) PR (TIP8311) PR (TIP8311) 2016.2 2016.2 To illustrate Bayesian learning in a linear basis function model, together with the sequential update of a posterior distribution, we consider plain line fitting Bayesian linear The log of the posterior distribution is given by the Bayesian linear regression regression Parameter distribution sum of the log likelihood and the log of the prior Parameter distribution Predictive distribution • As a function of w,ittakestheform Predictive distribution Consider a single input variable x,asingletargetvariablet and linear model Equivalent kernel Equivalent kernel Gaussian processes N Gaussian processes y x w 2 ( , w)= 0 + w1x β T α T Linear regression revisited ln p(w|α)=− tn − w φ(xn) − w w +const (8) Linear regression revisited Gaussian processes for Gaussian processes for 2 n 2 We generate a synthetic set of data from function f (x, a)=a0 + a1x regression $=1 " # regression Learning the Learning the • a a hyper-parameters hyper-parameters with 0 = −0.3and 1 =0.5 Maximisation of this posterior distribution with respect to w is equivalent to For a selection of input points xn ∼ U(−1, +1), we first evaluate f (xn, a)and N 2 2 then we add Gaussian noise ε ∼ N (0, 0.2 )togetthetargetvaluestn 1 T λ T tn − w φ(xn) + w w, with λ = α/β • 2 2 The goal is to recover the values of a0 and a1 (thru w0 and w1) n=1 $ " # • Under the assumption that the variance of the noise is known • the minimisation of the sum-of-squares error function 1 2 • β = =25 with the addition of a quadratic regularisation term 0.2 " # • We fix α =2.0intheGaussianpriorp(w|α)=N (w|0, α−1I) Bayesian linear Parameter distribution (cont.) Bayesian linear Parameter distribution (cont.) regression regression UFC/DC UFC/DC ATAI-I (CK0146) ATAI-I (CK0146) PR (TIP8311) PR (TIP8311) 2016.2 2016.2 Bayesian linear Bayesian linear regression regression The plain Gaussian is not the only available form of prior overtheparameters Parameter distribution Parameter distribution • The Gaussian can be generalised Predictive distribution Predictive distribution Equivalent kernel Equivalent kernel M−1 q 1 M α Gaussian processes Gaussian processes 1/q q p(w|α)= (α/2) exp − |wj | (9) Linear regression revisited Linear regression revisited 2 Γ(1/q) 2 j=0 Gaussian processes for Gaussian processes for " # " $ # regression regression Learning the Learning the • It is not a conjugate prior to the likelihood function, unless q =2 hyper-parameters hyper-parameters Finding the maximum of the posterior distribution over the parameters corresponds to the minimisation of a regularised error function N M 2 1 T λ q tn − w φ(xn) + |wj | 2 n 2 $=1 " # $j=1 Because w is bi-dimensional, we can plot the prior and posterior distribution Bayesian linear Bayesian linear Predictive distribution regression regression UFC/DC UFC/DC ATAI-I (CK0146) ATAI-I (CK0146) PR (TIP8311) PR (TIP8311) 2016.2 2016.2 Bayesian linear Bayesian linear In practice, we are not usually interested in the value of w itself regression regression Parameter distribution Parameter distribution • We want to predictions of t for new values of x Predictive distribution Predictive distribution Equivalent kernel Equivalent kernel Gaussian processes Gaussian processes This requires that we evaluate the predictive distribution defined by Linear regression revisited Linear
Recommended publications
  • Paradoxes and Priors in Bayesian Regression
    Paradoxes and Priors in Bayesian Regression Dissertation Presented in Partial Fulfillment of the Requirements for the Degree Doctor of Philosophy in the Graduate School of The Ohio State University By Agniva Som, B. Stat., M. Stat. Graduate Program in Statistics The Ohio State University 2014 Dissertation Committee: Dr. Christopher M. Hans, Advisor Dr. Steven N. MacEachern, Co-advisor Dr. Mario Peruggia c Copyright by Agniva Som 2014 Abstract The linear model has been by far the most popular and most attractive choice of a statistical model over the past century, ubiquitous in both frequentist and Bayesian literature. The basic model has been gradually improved over the years to deal with stronger features in the data like multicollinearity, non-linear or functional data pat- terns, violation of underlying model assumptions etc. One valuable direction pursued in the enrichment of the linear model is the use of Bayesian methods, which blend information from the data likelihood and suitable prior distributions placed on the unknown model parameters to carry out inference. This dissertation studies the modeling implications of many common prior distri- butions in linear regression, including the popular g prior and its recent ameliorations. Formalization of desirable characteristics for model comparison and parameter esti- mation has led to the growth of appropriate mixtures of g priors that conform to the seven standard model selection criteria laid out by Bayarri et al. (2012). The existence of some of these properties (or lack thereof) is demonstrated by examining the behavior of the prior under suitable limits on the likelihood or on the prior itself.
    [Show full text]
  • A Compendium of Conjugate Priors
    A Compendium of Conjugate Priors Daniel Fink Environmental Statistics Group Department of Biology Montana State Univeristy Bozeman, MT 59717 May 1997 Abstract This report reviews conjugate priors and priors closed under sampling for a variety of data generating processes where the prior distributions are univariate, bivariate, and multivariate. The effects of transformations on conjugate prior relationships are considered and cases where conjugate prior relationships can be applied under transformations are identified. Univariate and bivariate prior relationships are verified using Monte Carlo methods. Contents 1 Introduction Experimenters are often in the position of having had collected some data from which they desire to make inferences about the process that produced that data. Bayes' theorem provides an appealing approach to solving such inference problems. Bayes theorem, π(θ) L(θ x ; : : : ; x ) g(θ x ; : : : ; x ) = j 1 n (1) j 1 n π(θ) L(θ x ; : : : ; x )dθ j 1 n is commonly interpreted in the following wayR. We want to make some sort of inference on the unknown parameter(s), θ, based on our prior knowledge of θ and the data collected, x1; : : : ; xn . Our prior knowledge is encapsulated by the probability distribution on θ; π(θ). The data that has been collected is combined with our prior through the likelihood function, L(θ x ; : : : ; x ) . The j 1 n normalized product of these two components yields a probability distribution of θ conditional on the data. This distribution, g(θ x ; : : : ; x ) , is known as the posterior distribution of θ. Bayes' j 1 n theorem is easily extended to cases where is θ multivariate, a vector of parameters.
    [Show full text]
  • A Review of Bayesian Optimization
    Taking the Human Out of the Loop: A Review of Bayesian Optimization The Harvard community has made this article openly available. Please share how this access benefits you. Your story matters Citation Shahriari, Bobak, Kevin Swersky, Ziyu Wang, Ryan P. Adams, and Nando de Freitas. 2016. “Taking the Human Out of the Loop: A Review of Bayesian Optimization.” Proc. IEEE 104 (1) (January): 148– 175. doi:10.1109/jproc.2015.2494218. Published Version doi:10.1109/JPROC.2015.2494218 Citable link http://nrs.harvard.edu/urn-3:HUL.InstRepos:27769882 Terms of Use This article was downloaded from Harvard University’s DASH repository, and is made available under the terms and conditions applicable to Open Access Policy Articles, as set forth at http:// nrs.harvard.edu/urn-3:HUL.InstRepos:dash.current.terms-of- use#OAP 1 Taking the Human Out of the Loop: A Review of Bayesian Optimization Bobak Shahriari, Kevin Swersky, Ziyu Wang, Ryan P. Adams and Nando de Freitas Abstract—Big data applications are typically associated with and the analytics company that sits between them. The analyt- systems involving large numbers of users, massive complex ics company must develop procedures to automatically design software systems, and large-scale heterogeneous computing and game variants across millions of users; the objective is to storage architectures. The construction of such systems involves many distributed design choices. The end products (e.g., rec- enhance user experience and maximize the content provider’s ommendation systems, medical analysis tools, real-time game revenue. engines, speech recognizers) thus involves many tunable config- The preceding examples highlight the importance of au- uration parameters.
    [Show full text]
  • 9 Introduction to Hierarchical Models
    9 Introduction to Hierarchical Models One of the important features of a Bayesian approach is the relative ease with which hierarchical models can be constructed and estimated using Gibbs sampling. In fact, one of the key reasons for the recent growth in the use of Bayesian methods in the social sciences is that the use of hierarchical models has also increased dramatically in the last two decades. Hierarchical models serve two purposes. One purpose is methodological; the other is substantive. Methodologically, when units of analysis are drawn from clusters within a population (communities, neighborhoods, city blocks, etc.), they can no longer be considered independent. Individuals who come from the same cluster will be more similar to each other than they will be to individuals from other clusters. Therefore, unobserved variables may in- duce statistical dependence between observations within clusters that may be uncaptured by covariates within the model, violating a key assumption of maximum likelihood estimation as it is typically conducted when indepen- dence of errors is assumed. Recall that a likelihood function, when observations are independent, is simply the product of the density functions for each ob- servation taken over all the observations. However, when independence does not hold, we cannot construct the likelihood as simply. Thus, one reason for constructing hierarchical models is to compensate for the biases—largely in the standard errors—that are introduced when the independence assumption is violated. See Ezell, Land, and Cohen (2003) for a thorough review of the approaches that have been used to correct standard errors in hazard model- ing applications with repeated events, one class of models in which repeated measurement yields hierarchical clustering.
    [Show full text]
  • On the Robustness to Misspecification of Α-Posteriors and Their
    Robustness of α-posteriors and their variational approximations On the Robustness to Misspecification of α-Posteriors and Their Variational Approximations Marco Avella Medina [email protected] Department of Statistics Columbia University New York, NY 10027, USA Jos´eLuis Montiel Olea [email protected] Department of Economics Columbia University New York, NY 10027, USA Cynthia Rush [email protected] Department of Statistics Columbia University New York, NY 10027, USA Amilcar Velez [email protected] Department of Economics Northwestern University Evanston, IL 60208, USA Abstract α-posteriors and their variational approximations distort standard posterior inference by downweighting the likelihood and introducing variational approximation errors. We show that such distortions, if tuned appropriately, reduce the Kullback-Leibler (KL) divergence from the true, but perhaps infeasible, posterior distribution when there is potential para- arXiv:2104.08324v1 [stat.ML] 16 Apr 2021 metric model misspecification. To make this point, we derive a Bernstein-von Mises theorem showing convergence in total variation distance of α-posteriors and their variational approx- imations to limiting Gaussian distributions. We use these distributions to evaluate the KL divergence between true and reported posteriors. We show this divergence is minimized by choosing α strictly smaller than one, assuming there is a vanishingly small probability of model misspecification. The optimized value becomes smaller as the the misspecification becomes
    [Show full text]
  • Prior Distributions for Variance Parameters in Hierarchical Models
    Bayesian Analysis (2006) 1, Number 3, pp. 515–533 Prior distributions for variance parameters in hierarchical models Andrew Gelman Department of Statistics and Department of Political Science Columbia University Abstract. Various noninformative prior distributions have been suggested for scale parameters in hierarchical models. We construct a new folded-noncentral-t family of conditionally conjugate priors for hierarchical standard deviation pa- rameters, and then consider noninformative and weakly informative priors in this family. We use an example to illustrate serious problems with the inverse-gamma family of “noninformative” prior distributions. We suggest instead to use a uni- form prior on the hierarchical standard deviation, using the half-t family when the number of groups is small and in other settings where a weakly informative prior is desired. We also illustrate the use of the half-t family for hierarchical modeling of multiple variance parameters such as arise in the analysis of variance. Keywords: Bayesian inference, conditional conjugacy, folded-noncentral-t distri- bution, half-t distribution, hierarchical model, multilevel model, noninformative prior distribution, weakly informative prior distribution 1 Introduction Fully-Bayesian analyses of hierarchical linear models have been considered for at least forty years (Hill, 1965, Tiao and Tan, 1965, and Stone and Springer, 1965) and have remained a topic of theoretical and applied interest (see, e.g., Portnoy, 1971, Box and Tiao, 1973, Gelman et al., 2003, Carlin and Louis, 1996, and Meng and van Dyk, 2001). Browne and Draper (2005) review much of the extensive literature in the course of comparing Bayesian and non-Bayesian inference for hierarchical models. As part of their article, Browne and Draper consider some different prior distributions for variance parameters; here, we explore the principles of hierarchical prior distributions in the context of a specific class of models.
    [Show full text]
  • The Role of Hierarchical Priors in Robust Bayesian Inference
    Order Number 9411946 The role of hierarchical priors in robust Bayesian inference George, Robert Emerson, Ph.D. The Ohio State University, 1993 U MI 300 N. Zeeb Rd. Ann Arbor, MI 48106 THE ROLE OF HIERARCHICAL PRIORS IN ROBUST BAYESIAN INFERENCE DISSERTATION Presented in Partial Fulfillment of the Requirements for the Degree Doctor of Philosophy in the Graduate School of The Ohio State University By Robert Emerson George, B. A., M.S. The Ohio State University 1993 Dissertation Committee: Prem K. Goel Mark Berliner Adviser, Saul Blumenthal Department of Statistics To Mrs. Sharia J, Keebaugh With Deep Appreciation for Showing Me the Majesty of the Mathematical Sciences ACKNOWLEDGEMENTS I wish to express my gratitude to my adviser, Dr. Prem Goel: without his invaluable advice, farsighted guidance, and unflagging enthusiasm, this thesis could not have been completed. I also wish to thank Drs. Mark Berliner and Saul Blumenthal, the other members of my Committee; and Dr. Steve MacEachem, who after serving on my General Examination Committee was prevented by scheduling conflicts from serving on my Committee. Also, I have benefitted greatly from the efficiency, knowledge, and eagerness to help of the staffs of the Statistical Computing Laboratory and of The Ohio State University Libraries. Finally, I thank my family for all the innumerable kindnesses, many great and and some seemingly small, they have so willingly shown me throughout my life. iii VITA July 5, 1966 Bom - Urbana, Ohio 1988 B. A ., Wittenberg University, Springfield, Ohio 1988-1991 National Science Foundation Fellow, Department of Statistics, The Ohio State University, Columbus, Ohio 1990 M.
    [Show full text]
  • Automatic Kernel Selection for Gaussian Processes Regression with Approximate Bayesian Computation and Sequential Monte Carlo
    ORIGINAL RESEARCH published: 30 August 2017 doi: 10.3389/fbuil.2017.00052 Automatic Kernel Selection for Gaussian Processes Regression with Approximate Bayesian Computation and Sequential Monte Carlo Anis Ben Abdessalem, Nikolaos Dervilis*, David J. Wagg and Keith Worden Dynamics Research Group, Department of Mechanical Engineering, University of Sheffield, Sheffield, United Kingdom The current work introduces a novel combination of two Bayesian tools, Gaussian Processes (GPs), and the use of the Approximate Bayesian Computation (ABC) algorithm for kernel selection and parameter estimation for machine learning applications. The combined methodology that this research article proposes and investigates offers the possibility to use different metrics and summary statistics of the kernels used for Bayesian regression. The presented work moves a step toward online, robust, consistent, and automated mechanism to formulate optimal kernels (or even mean functions) and their hyperparameters simultaneously offering confidence evaluation when these tools are used for mathematical or engineering problems such as structural health monitoring Edited by: (SHM) and system identification (SI). Eleni N. Chatzi, ETH Zurich, Switzerland Keywords: kernel selection, hyperparameter estimation, approximate Bayesian computation, sequential Monte Carlo, Gaussian processes Reviewed by: Donghyeon Ryu, New Mexico Institute of Mining and Technology, United States 1. INTRODUCTION AND MOTIVATION Luis David Avendaño Valencia, Regression analysis or classification using Bayesian formulation and specifically Gaussian Processes ETH Zurich, Switzerland (GPs) or relevance vector machines (RVMs) is becoming very popular and attractive due to *Correspondence: incorporation of uncertainty and the bypassing of unattractive features from methods like neural Nikolaos Dervilis [email protected] networks. Regression using neural networks for example, although they present a very powerful tool, sometimes can make it difficult and demanding to achieve the right tuning.
    [Show full text]
  • Hyperparameter Estimation in Bayesian MAP Estimation: Parameterizations and Consistency
    SMAI-JCM SMAI Journal of Computational Mathematics Hyperparameter Estimation in Bayesian MAP Estimation: Parameterizations and Consistency Matthew M. Dunlop, Tapio Helin & Andrew M. Stuart Volume 6 (2020), p. 69-100. <http://smai-jcm.centre-mersenne.org/item?id=SMAI-JCM_2020__6__69_0> © Société de Mathématiques Appliquées et Industrielles, 2020 Certains droits réservés. Publication membre du Centre Mersenne pour l’édition scientifique ouverte http://www.centre-mersenne.org/ Sousmission sur https://smai-jcm.math.cnrs.fr/index.php/SMAI-JCM SMAI Journal of Computational Mathematics Vol. 6, 69-100 (2020) Hyperparameter Estimation in Bayesian MAP Estimation: Parameterizations and Consistency Matthew M. Dunlop 1 Tapio Helin 2 Andrew M. Stuart 3 1 Courant Institute of Mathematical Sciences, New York University, New York, New York, 10012, USA E-mail address: [email protected] 2 School of Engineering Science, Lappeenranta–Lahti University of Technology, Lappeenranta, 53850, Finland E-mail address: tapio.helin@lut.fi 3 Computing & Mathematical Sciences, California Institute of Technology, Pasadena, California, 91125, USA E-mail address: [email protected]. Abstract. The Bayesian formulation of inverse problems is attractive for three primary reasons: it provides a clear modelling framework; it allows for principled learning of hyperparameters; and it can provide uncertainty quantifi- cation. The posterior distribution may in principle be sampled by means of MCMC or SMC methods, but for many problems it is computationally infeasible to do so. In this situation maximum a posteriori (MAP) estimators are often sought. Whilst these are relatively cheap to compute, and have an attractive variational formulation, a key drawback is their lack of invariance under change of parameterization; it is important to study MAP estimators, however, because they provide a link with classical optimization approaches to inverse problems and the Bayesian link may be used to improve upon classical optimization approaches.
    [Show full text]
  • Sampling Hyperparameters in Hierarchical Models
    Sampling hyperparameters in hierarchical models: improving on Gibbs for high-dimensional latent fields and large data sets. Richard A. Norton1, J. Andr´es Christen2 and Colin Fox3 1Department of Mathematics and Statistics, University of Otago, Dunedin, New Zealand, [email protected], 2Centro de Investigaci´on en Matem´aticas (CIMAT), CONACYT, Guanajuato, GT, Mexico, [email protected] 3Department of Physics, University of Otago, Dunedin, New Zealand, fox@[email protected]. 20 October 2016 Abstract We consider posterior sampling in the very common Bayesian hierarchical model in which observed data depends on high-dimensional latent variables that, in turn, depend on relatively few hyperparameters. When the full conditional over the latent variables has a known form, the marginal posterior distribution over hyperparameters is accessible and can be sampled using a Markov chain Monte Carlo (MCMC) method on arXiv:1610.06632v1 [stat.CO] 21 Oct 2016 a low-dimensional parameter space. This may improve computational efficiency over standard Gibbs sampling since computation is not over the high-dimensional space of latent variables and correlations between hyperparameters and latent variables be- come irrelevant. When the marginal posterior over hyperparameters depends on a fixed-dimensional sufficient statistic, precomputation of the sufficient statistic renders the cost of the low-dimensional MCMC independent of data size. Then, when the hyperparameters are the primary variables of interest, inference may be performed in 1 big-data settings at modest cost. Moreover, since the form of the full conditional for the latent variables does not depend on the form of the hyperprior distribution, the method imposes no restriction on the hyperprior, unlike Gibbs sampling that typi- cally requires conjugate distributions.
    [Show full text]
  • STATS 300A Theory of Statistics Stanford University, Fall 2015
    STATS 300A Theory of Statistics Stanford University, Fall 2015 Problem Set 4 Due: Thursday, October 22, 2015 Instructions: • You may appeal to any result proved in class or proved in the course textbooks. • Any request to “find” requires proof that all requested properties are satisfied. Problem 1 (Minimum Risk Scale Equivariance). Suppose that X = (X1;:::;Xn) comes from a scale family with density 1 x x f (x) = f 1 ;:::; n τ τ n τ τ for known f and unknown scale parameter τ > 0 and that X X X Z = 1 ;:::; n−1 ; n : Xn Xn jXnj (a) Show that the minimum risk scale equivariant estimator of τ under the loss d (d − τ r)2 γ = τ r τ 2r is given by ∗ δ0(X)E1 [δ0(X) j Z] δ (X) = 2 : E1 [δ0(X) j Z] (b) Show that a minimum risk scale equivariant estimator of τ under the loss d jd − τ rj γ = τ r τ r is given by δ (X) δ∗(X) = 0 : w∗(Z) ∗ with w (Z) any scale median of δ0(X) under the conditional distribution of X given Z with τ = 1. That is, w∗(z) satisfies ∗ ∗ E1 [δ0(X)I (δ0(X) ≥ w (Z)) j Z] = E1 [δ0(X)I (δ0(X) ≤ w (Z)) j Z] : Hint: You might find it useful to prove the claim in Exercise 3.7a in Chapter 3 of TPE. 1 In part (b) you may assume that X has a continuous probability density function f(·; θ) with respect to Lebesgue measure. Problem 2 (Bayes Estimation).
    [Show full text]
  • Bayesian Optimization of Hyperparameters When the Marginal Likelihood Is Estimated by MCMC
    Bayesian Optimization of Hyperparameters when the Marginal Likelihood is Estimated by MCMC Oskar Gustafsson,∗ Mattias Villaniy and Pär Stockhammarz April 22, 2020 Abstract Bayesian models often involve a small set of hyperparameters determined by max- imizing the marginal likelihood. Bayesian optimization is a popular iterative method where a Gaussian process posterior of the underlying function is sequentially updated by new function evaluations. An acquisition strategy uses this posterior distribution to decide where to place the next function evaluation. We propose a novel Bayesian optimization framework for situations where the user controls the computational effort, and therefore the precision of the function evaluations. This is a common situation in econometrics where the marginal likelihood is often computed by Markov Chain Monte Carlo (MCMC) methods, with the precision of the marginal likelihood estimate deter- mined by the number of MCMC draws. The proposed acquisition strategy gives the optimizer the option to explore the function with cheap noisy evaluations and therefore finds the optimum faster. Prior hyperparameter estimation in the steady-state Bayesian vector autoregressive (BVAR) model on US macroeconomic time series data is used for illustration. The proposed method is shown to find the optimum much quicker than traditional Bayesian optimization or grid search. Keywords: Acquisition strategy, Optimized precision, Steady-state BVAR, US example. arXiv:2004.10092v1 [stat.CO] 21 Apr 2020 ∗Department of Statistics, Stockholm University, e-mail address: [email protected]. yDepartment of Statistics, Stockholm University and Department of Computer and Information Science, Linköping University, e-mail: [email protected]. zDepartment of Statistics, Stockholm University and Sveriges Riksbank, e-mail: [email protected].
    [Show full text]