Orthogonal Polynomials in Stein's Method

Total Page:16

File Type:pdf, Size:1020Kb

Orthogonal Polynomials in Stein's Method Orthogonal Polynomials in Steins Metho d Wim Schoutens KatholiekeUniversiteit Leuven Department of Mathematics Celestijnenlaan B B Leuven Belgium Abstract We discuss Steins metho d for Pearsons and Ords family of distributions We giveasys tematic treatment including the Stein equation its solution and smo othness conditions Akey role in the analysis is played by the classical orthogonal p olynomials AMS Subject Classication J H Keywords Steins Method Orthogonal Polynomials Pearsons Class Ords Class Approximation Distributions Markov Processes Postdo ctoral Researcher of the Fund for Scientic Research Flanders Belgium Running Head Steins Method Orthogonal Polynomials Mailing Address Wim Schoutens Katholieke Universiteit Leuven Department of Math ematics Celestijnenlaan B B Leuven Belgium Email WimSchoutenswiskuleuvenacbe Intro duction Steins Metho d provides a way of nding approximations to the distribution say of a random variable which at the same time gives estimates of the approximation error involved The strenghts of the metho d are that it can b e applied in many circumstances in which dep endence plays a part In essence the metho d is based on a dening equation or equivalently an op erator of the distribution and a related Stein equation Up to now is was not clear which equation to take One could think at a lot of equations We show how for a broad class of distributions there is one equation who has a sp ecial role We give a systematic treatment including the Stein equation its solution and smo othness conditions A key to ol in Steins theory is the generator metho d develop ed by Barb our Barb our suggested employing for the op erator of the Stein equation the generator of a Markov pro cess In us lo oks for a dening equation for which is related to the generator this generator metho d one th of a Markov pro cess For a given distribution there may be various Markov pro cesses who t in Barb ours metho d However up to now it was still not clear which Markov pro cess to take to obtain good results We show how for a broad class of distributions there is a sp ecial Markov pro cess a birth and death pro cess or a diusion which takes a leading role in the analysis Furthermore a key role is played by the classical orthogonal p olynomials P Diaconis and S Zab ell already mentioned this connection It turns out that the dening op erator is based on a hyp ergeometric dierence or dierential equation which lies at the heart of the classical orthogonal p olynomials Furthermore the sp ectral representation of the transition probabilities of the Markov pro cess involved will b e in terms of orthogonal p olynomials closely related to the distribution to b e approximated This systematic treatment together with the intro duction of orthogonal p olynomials in the analysis seems to b e new Furthermore some earlier uncovered examples like the Beta the Students t and the Hyp ergeometric distribution are nowworked out Prelimaries Birth and Death Pro cesses and Diusions A birth and death process fX t g is a Markov pro cess on the state space S f g with t stationary transition probabilities ie P t PrX j jX i i j S is not dep ending on ij ts s s and with innitesimal generator A given by Af i f i f i f i i S i i i i for all b ounded realvalued functions f B S and where we take for i not on the i i b oundary of S On the b oundary of S we must have We will always work with i i S N f g in which case we set or take S f Ng with N a p ositive in teger and in which case Furthermore we do not allow the existence of an N absorbing state ie a b oundary state with birth parameter and death parameter equal to zero The parameters and are called resp ectivelythebirth and death rates It can b e shown that i i the limits lim P tp j S exist and are indep endentof the initial state i It turns out t ij j P j S where j S nfg that the p are given by p j j j j j j k k S P and and In order that the sequence fp g denes a distribution we must have j k k P P p We say that fp g is the limiting stationary distribution If then clearly j k k k k then all p are zero and we do not have a limiting stationary distribution j In the analysis of birth and death pro cesses a prominent role is played by a sequence of p olynomials fQ xn S g called birthdeath polynomials They are determined uniquely by n the recurrence relation xQ x Q x Q x Q x n S n n n n n n n n together with Q xandQ x Karlin and McGregor proved that the transition function P can b e represented as Z xt e Q xQ xdx i j S t P t i j ij j where is a p ositive Borel measure with total mass and with supp ort on the nonnegative real axis is called the spectral measure of P Taking t in one easily sees that the p olynomials fQ xn S g are orthogonal with resp ect to In the examples we will encounter a variety of n birth and death pro cesses Other examples can be found in the litterature see for example and Another class of Markov pro cesses will app ear also in the analysis Diusions with state space S a b a b We refer to for a general intro duction Supp ose A is the generator of the diusion In a clear pro of is given of the fact that A is of the form Af xxf x xf x where x is called the drift co ecient and x the diusion co ecient We will highlight the sp ectral representation for some of diusion pro cesses in the examples see also Steins Metho d Normal Approximation and Poisson Approximation In Stein published a metho d to prove Normal approximation It is based on the fact that a random variable Z has a Standard Normal distribution N if and only if for all dieren tiable functions f suchthat E jf X j whereX has a Standard Normal distribution N Z E f Z Zf Hence it seems reasonable that if E f W WfW is small for a large class of functions f then the distribution of W is close to the Standard Normal distribution Supp ose we wish to estimate the dierence b etween the exp ectation of a smo oth function h with resp ect to the random variable W and E hZ where Z has a Standard Normal distribution Stein showed that for any smo oth realvalued b ounded function h there is a function f f solving the now called Stein h equation for the Standard Normal f x xf xhx E hZ with Z a Standard Normal random variable The unique b ounded solution of the ab ove equation is given by Z x f xexpx hy E hZ exp y dy h Then we estimate E f W Wf W h h and hence E h W E hZ The next step is to show that the quantity is small In order to do this we will use the structure of W For instance it mightbethat W is a sum of indep endent random variables In addition we will use some smo othness conditions on f Stein showed the h following inequalities r jjf jj jjh E hZ jj h jjf jj suph inf h h jjf jj jjh jj h where jj jj denotes the supremum norm In this way we can bound the distance of W from the Normal in terms of a test function h the immediate b ound of the distance is one of the key advantages of Steins metho d compared to moment generating functions or characteristic functions Chen applied Steins idea in the context of Poisson approximation The Stein equation for the Poisson distribution Pisnow a dierence equation x xf x hx E hZ f where h is a b ounded realvalued function dened on the set of the nonnegativeintegers and Z has a Poisson distribution P The choice of the left hand side of equation is based on the fact that a random variable W on the set of the nonnegativeintegers has a Poisson distribution with parameter if and only if for all b ounded realvalued functions f on the integers E f W WfW The solution of the Stein equation for the Poisson distribution Pisgiven by x k X x x hk E hZ f xx h k k This solution is the unique except at x b ounded solution the value f x for negative x do es h not enter into consideration and is conventionally taken to be zero In one nds the following estimates of the smo othness for f by an analytic argument h jjf jj jjhjj min andjjf jj jjhjj min h h where f xf x f x General Approach For an arbitrary distribution the general pro cedure is Find a go o d characterization of the desired distribution in terms of an equation that is of the t yp e Z is a rv with distribution if and only if E Af Z for all smo oth functions f where A is an op erator asso ciated with the distribution Thus in the standard normal case Af xf x xf x x R We will call such an op erator a Stein operator Next assume Z to have distribution and consider the Stein equation hx E hZ Af x or anyrandomvariable W For every smo oth h nd a corresp onding solution f of this equation F h E hW E hZ E Af W Hence to estimate the proximityof W and Z it is sucientto h estimate E Af W for all p ossible solutions of h However in this pro cedure it is not completely clear which characterizing equation for the distribution to cho ose one could think of a whole set of p ossible equations The aim is to b e able to solve for a suciently large class of functions htoobtainconvergence in a known top ology Barb ours Generator Metho d Akey to ol in Steins theory is the generator metho d develop ed by Barb our Replacing f by f in the Stein equation for the Standard Normal gives f x xf x hx E hZ If we equation can be rewritten as A f hx E hZ The key set A f xf x xf x this advantage is that A is also the generator of a Markov pro cess the OrnsteinUhlenbeck pro cess with Standard Normal stationary
Recommended publications
  • 2 Probability Theory and Classical Statistics
    2 Probability Theory and Classical Statistics Statistical inference rests on probability theory, and so an in-depth under- standing of the basics of probability theory is necessary for acquiring a con- ceptual foundation for mathematical statistics. First courses in statistics for social scientists, however, often divorce statistics and probability early with the emphasis placed on basic statistical modeling (e.g., linear regression) in the absence of a grounding of these models in probability theory and prob- ability distributions. Thus, in the first part of this chapter, I review some basic concepts and build statistical modeling from probability theory. In the second part of the chapter, I review the classical approach to statistics as it is commonly applied in social science research. 2.1 Rules of probability Defining “probability” is a difficult challenge, and there are several approaches for doing so. One approach to defining probability concerns itself with the frequency of events in a long, perhaps infinite, series of trials. From that per- spective, the reason that the probability of achieving a heads on a coin flip is 1/2 is that, in an infinite series of trials, we would see heads 50% of the time. This perspective grounds the classical approach to statistical theory and mod- eling. Another perspective on probability defines probability as a subjective representation of uncertainty about events. When we say that the probability of observing heads on a single coin flip is 1 /2, we are really making a series of assumptions, including that the coin is fair (i.e., heads and tails are in fact equally likely), and that in prior experience or learning we recognize that heads occurs 50% of the time.
    [Show full text]
  • Importance Sampling
    Chapter 6 Importance sampling 6.1 The basics To movtivate our discussion consider the following situation. We want to use Monte Carlo to compute µ = E[X]. There is an event E such that P (E) is small but X is small outside of E. When we run the usual Monte Carlo algorithm the vast majority of our samples of X will be outside E. But outside of E, X is close to zero. Only rarely will we get a sample in E where X is not small. Most of the time we think of our problem as trying to compute the mean of some random variable X. For importance sampling we need a little more structure. We assume that the random variable we want to compute the mean of is of the form f(X~ ) where X~ is a random vector. We will assume that the joint distribution of X~ is absolutely continous and let p(~x) be the density. (Everything we will do also works for the case where the random vector X~ is discrete.) So we focus on computing Ef(X~ )= f(~x)p(~x)dx (6.1) Z Sometimes people restrict the region of integration to some subset D of Rd. (Owen does this.) We can (and will) instead just take p(x) = 0 outside of D and take the region of integration to be Rd. The idea of importance sampling is to rewrite the mean as follows. Let q(x) be another probability density on Rd such that q(x) = 0 implies f(x)p(x) = 0.
    [Show full text]
  • Probability Distributions and Related Mathematical Constructs
    Appendix B More probability distributions and related mathematical constructs This chapter covers probability distributions and related mathematical constructs that are referenced elsewhere in the book but aren’t covered in detail. One of the best places for more detailed information about these and many other important probability distributions is Wikipedia. B.1 The gamma and beta functions The gamma function Γ(x), defined for x> 0, can be thought of as a generalization of the factorial x!. It is defined as ∞ x 1 u Γ(x)= u − e− du Z0 and is available as a function in most statistical software packages such as R. The behavior of the gamma function is simpler than its form may suggest: Γ(1) = 1, and if x > 1, Γ(x)=(x 1)Γ(x 1). This means that if x is a positive integer, then Γ(x)=(x 1)!. − − − The beta function B(α1,α2) is defined as a combination of gamma functions: Γ(α1)Γ(α2) B(α ,α ) def= 1 2 Γ(α1+ α2) The beta function comes up as a normalizing constant for beta distributions (Section 4.4.2). It’s often useful to recognize the following identity: 1 α1 1 α2 1 B(α ,α )= x − (1 x) − dx 1 2 − Z0 239 B.2 The Poisson distribution The Poisson distribution is a generalization of the binomial distribution in which the number of trials n grows arbitrarily large while the mean number of successes πn is held constant. It is traditional to write the mean number of successes as λ; the Poisson probability density function is λy P (y; λ)= eλ (y =0, 1,..
    [Show full text]
  • Lecture 17: Bivariate Normal Distribution F (X, Y) Is Given By
    Section 5.3 Bivariate Unit Normal Bivariate Unit Normal If X and Y have independent unit normal distributions then their joint Lecture 17: Bivariate Normal distribution f (x; y) is given by 2 − 1 (x2+y 2) f (x; y) = φ(x)φ(y) = c e 2 Sta230 / Mth230 Colin Rundel April 2, 2014 Sta230 / Mth230 (Colin Rundel) Lecture 17 April 2, 2014 1 / 20 Section 5.3 Bivariate Unit Normal Section 5.3 Bivariate Unit Normal Bivariate Unit Normal, cont. Bivariate Unit Normal - Normalizing Constant We can rewrite the joint distribution in terms of the distance r from the First, rewriting the joint distribution in this way also makes it possible to origin evaluate the constant of integration, c. From our previous discussions of the normal distribution we know that p 2 2 r = x + y c = p1 , but we never saw how to derive it explicitly. 2π 2 − 1 (x2+y 2) 2 − 1 r 2 f (x; y) = c e 2 = c e 2 This tells us something useful about this special case of the bivariate normal distributions: it is rotationally symmetric about the origin. r r + eps This particular fact is incredibly powerful and helps us solve a variety of Y problems. Sta230 / Mth230 (Colin Rundel) Lecture 17 April 2, 2014 2 / 20 Sta230 / Mth230 (Colin Rundel)X Lecture 17 April 2, 2014 3 / 20 Section 5.3 Bivariate Unit Normal Section 5.3 Bivariate Unit Normal Bivariate Unit Normal - Normalizing Constant Rayleigh Distribution The distance from the origin of a point (x; y) derived from X ; Y ∼ N (0; 1) is called the Rayleigh distribution.
    [Show full text]
  • Bridgesampling: an R Package for Estimating Normalizing Constants
    bridgesampling: An R Package for Estimating Normalizing Constants Quentin F. Gronau Henrik Singmann Eric-Jan Wagenmakers University of Amsterdam University of Zurich University of Amsterdam Abstract Statistical procedures such as Bayes factor model selection and Bayesian model averaging require the computation of normalizing constants (e.g., marginal likelihoods). These normalizing constants are notoriously difficult to obtain, as they usually involve high- dimensional integrals that cannot be solved analytically. Here we introduce an R package that uses bridge sampling (Meng and Wong 1996; Meng and Schilling 2002) to estimate normalizing constants in a generic and easy-to-use fashion. For models implemented in Stan, the estimation procedure is automatic. We illustrate the functionality of the package with three examples. Keywords: bridge sampling, marginal likelihood, model selection, Bayes factor, Warp-III. 1. Introduction In many statistical applications, it is essential to obtain normalizing constants of the form Z Z = q(θ) dθ; (1) Θ where p(θ) = q(θ)=Z denotes a probability density function (pdf) defined on the domain p Θ ⊆ R . For instance, the estimation of normalizing constants plays a crucial role in free energy estimation in physics, missing data analyses in likelihood-based approaches, Bayes factor model comparisons, and Bayesian model averaging (e.g., Gelman and Meng 1998). In this article, we focus on the role of the normalizing constant in Bayesian inference; however, the bridgesampling package can be used in any context where
    [Show full text]
  • Bayesian Inference
    Chapter 12 Bayesian Inference This chapter covers the following topics: Concepts and methods of Bayesian inference. • Bayesian hypothesis testing and model comparison. • Derivation of the Bayesian information criterion (BIC). • Simulation methods and Markov chain Monte Carlo (MCMC). • Bayesian computation via variational inference. • Some subtle issues related to Bayesian inference. • 12.1 What is Bayesian Inference? There are two main approaches to statistical machine learning: frequentist (or classical) methods and Bayesian methods. Most of the methods we have discussed so far are fre- quentist. It is important to understand both approaches. At the risk of oversimplifying, the difference is this: Frequentist versus Bayesian Methods In frequentist inference, probabilities are interpreted as long run frequencies. • The goal is to create procedures with long run frequency guarantees. In Bayesian inference, probabilities are interpreted as subjective degrees of be- • lief. The goal is to state and analyze your beliefs. 299 Statistical Machine Learning CHAPTER 12. BAYESIAN INFERENCE Some differences between the frequentist and Bayesian approaches are as follows: Frequentist Bayesian Probability is: limiting relative frequency degree of belief Parameter ✓ is a: fixed constant random variable Probability statements are about: procedures parameters Frequency guarantees? yes no To illustrate the difference, consider the following example. Suppose that X1,...,Xn N(✓, 1). We want to provide some sort of interval estimate C for ✓. ⇠ Frequentist Approach. Construct the confidence interval 1.96 1.96 C = X , X + . n − pn n pn Then P✓(✓ C)=0.95 for all ✓ R. 2 2 The probability statement is about the random interval C. The interval is random because it is a function of the data.
    [Show full text]
  • 9 Importance Sampling 3 9.1 Basic Importance Sampling
    Contents 9 Importance sampling 3 9.1 Basic importance sampling . 4 9.2 Self-normalized importance sampling . 8 9.3 Importance sampling diagnostics . 11 9.4 Example: PERT . 13 9.5 Importance sampling versus acceptance-rejection . 17 9.6 Exponential tilting . 18 9.7 Modes and Hessians . 19 9.8 General variables and stochastic processes . 21 9.9 Example: exit probabilities . 23 9.10 Control variates in importance sampling . 25 9.11 Mixture importance sampling . 27 9.12 Multiple importance sampling . 31 9.13 Positivisation . 33 9.14 What-if simulations . 35 End notes . 37 Exercises . 40 1 2 Contents © Art Owen 2009{2013,2018 do not distribute or post electronically without author's permission 9 Importance sampling In many applications we want to compute µ = E(f(X)) where f(x) is nearly zero outside a region A for which P(X 2 A) is small. The set A may have small volume, or it may be in the tail of the X distribution. A plain Monte Carlo sample from the distribution of X could fail to have even one point inside the region A. Problems of this type arise in high energy physics, Bayesian inference, rare event simulation for finance and insurance, and rendering in computer graphics among other areas. It is clear intuitively that we must get some samples from the interesting or important region. We do this by sampling from a distribution that over- weights the important region, hence the name importance sampling. Having oversampled the important region, we have to adjust our estimate somehow to account for having sampled from this other distribution.
    [Show full text]
  • Derivations of the Univariate and Multivariate Normal Density
    Derivations of the Univariate and Multivariate Normal Density Alex Francis & Noah Golmant Berkeley, California, United States Contents 1 The Univariate Normal Distribution 1 1.1 The Continuous Approximation of the Binomial Distribution . .1 1.2 The Central Limit Theorem . .4 1.3 The Noisy Process . .8 2 The Multivariate Normal Distribution 11 2.1 The Basic Case: Independent Univariate Normals . 11 2.2 Affine Transformations of a Random Vector . 11 2.3 PDF of a Transformed Random Vector . 12 2.4 The Multivariate Normal PDF . 12 1. The Univariate Normal Distribution It is first useful to visit the single variable case; that is, the well-known continuous proba- bility distribution that depends only on a single random variable X. The normal distribution formula is a function of the mean µ and variance σ2 of the random variable, and is shown below. ! 1 1 x − µ2 f(x) = p exp − σ 2π 2 σ This model is ubiquitous in applications ranging from Biology, Chemistry, Physics, Computer Science, and the Social Sciences. It's discovery is dated as early as 1738 (perhaps ironically, the name of the distribution is not attributed to it's founder; that is credited, instead, to Abraham de Moivre). But why is this model still so popular, and why has it seemed to gain relevance over time? Why do we use it as a paradigm for cat images and email data? The next section addresses three applications of the normal distribution, and in the process, derives it's formula using elementary techniques. 1.1. The Continuous Approximation of the Binomial Distribution Any introductory course in probability introduces counting arguments as a way to discuss probability; fundamentally, probability deals in subsets of larger supersets, so being able to count the cardinality of the subset and superset allows us to build a framework for think- ing about probability.
    [Show full text]
  • Exact Formulas for the Normalizing Constants of Wishart Distributions for Graphical Models
    EXACT FORMULAS FOR THE NORMALIZING CONSTANTS OF WISHART DISTRIBUTIONS FOR GRAPHICAL MODELS By Caroline Uhler∗, Alex Lenkoskiy, and Donald Richardsz Massachusetts Institute of Technology∗, Norwegian Computing Centery, and Penn State Universityz Gaussian graphical models have received considerable attention during the past four decades from the statistical and machine learning communities. In Bayesian treatments of this model, the G-Wishart distribution serves as the conjugate prior for inverse covariance ma- trices satisfying graphical constraints. While it is straightforward to posit the unnormalized densities, the normalizing constants of these distributions have been known only for graphs that are chordal, or decomposable. Up until now, it was unknown whether the normaliz- ing constant for a general graph could be represented explicitly, and a considerable body of computational literature emerged that at- tempted to avoid this apparent intractability. We close this question by providing an explicit representation of the G-Wishart normalizing constant for general graphs. 1. Introduction. Let G = (V; E) be an undirected graph with vertex p set V = f1; : : : ; pg and edge set E. Let S be the set of symmetric p × p p p matrices and S0 the cone of positive definite matrices in S . Let p p (1.1) S0(G) = fM = (Mij) 2 S0 j Mij = 0 for all (i; j) 2= Eg p denote the cone in S of positive definite matrices with zeros in all entries not corresponding to edges in the graph. Note that the positivity of all diagonal entries Mii follows from the positive-definiteness of the matrices M. p A random vector X 2 R is said to satisfy the Gaussian graphical model (GGM) with graph G if X has a multivariate normal distribution with mean −1 p µ and covariance matrix Σ, denoted X ∼ Np(µ, Σ), where Σ 2 S0(G).
    [Show full text]
  • Beta Distribution
    Beta Distribution Paul Johnson <[email protected]> and Matt Beverlin <[email protected]> June 10, 2013 1 Description How likely is it that the Communist Party will win the next elections in Russia? In my view, the probability is 0.33. You may think the chance is 0.22. Your brother thinks the chances are 0.6 and his sister-in-law thinks the chances are 0.1. People disagree and we would like a way to summarize the chances that a person will say 0.4 or 0.5 or whatnot. The Beta density function is a very versatile way to represent outcomes like proportions or probabilities. It is defined on the continuum between 0 and 1. There are two parameters which work together to determine if the distribution has a mode in the interior of the unit interval and whether it is symmetrical. The Beta can be used to describe not only the variety observed across people, but it can also describe your subjective degree of belief (in a Bayesian sense). If you are not entirely sure that the probability is 0.22, but rather you think that is the most likely value but that there is some chance that the value is higher or lower, then maybe your personal beliefs can be described as a Beta distribution. 2 Mathematical Definition The standard Beta distribution gives the probability density of a value x on the interval (0,1): xα−1(1 − x)β−1 Beta(α,β): prob(x|α,β) = (1) B(α,β) where B is the beta function Z 1 B(α,β) = tα−1(1 − t)β−1dt 0 2.1 Don’t let all of those betas confuse you.
    [Show full text]
  • The Continuous Bernoulli: Fixing a Pervasive Error in Variational
    The continuous Bernoulli: fixing a pervasive error in variational autoencoders Gabriel Loaiza-Ganem John P. Cunningham Department of Statistics Department of Statistics Columbia University Columbia University [email protected] [email protected] Abstract Variational autoencoders (VAE) have quickly become a central tool in machine learning, applicable to a broad range of data types and latent variable models. By far the most common first step, taken by seminal papers and by core software libraries alike, is to model MNIST data using a deep network parameterizing a Bernoulli likelihood. This practice contains what appears to be and what is often set aside as a minor inconvenience: the pixel data is [0; 1] valued, not f0; 1g as supported by the Bernoulli likelihood. Here we show that, far from being a triviality or nuisance that is convenient to ignore, this error has profound importance to VAE, both qualitative and quantitative. We introduce and fully characterize a new [0; 1]-supported, single parameter distribution: the continuous Bernoulli, which patches this pervasive bug in VAE. This distribution is not nitpicking; it produces meaningful performance improvements across a range of metrics and datasets, including sharper image samples, and suggests a broader class of performant VAE.1 1 Introduction Variational autoencoders (VAE) have become a central tool for probabilistic modeling of complex, high dimensional data, and have been applied across image generation [10], text generation [14], neuroscience [8], chemistry [9], and more. One critical choice in the design of any VAE is the choice of likelihood (decoder) distribution, which stipulates the stochastic relationship between latents and observables.
    [Show full text]
  • 3 Basics of Bayesian Statistics
    3 Basics of Bayesian Statistics Suppose a woman believes she may be pregnant after a single sexual encounter, but she is unsure. So, she takes a pregnancy test that is known to be 90% accurate—meaning it gives positive results to positive cases 90% of the time— and the test produces a positive result. 1 Ultimately, she would like to know the probability she is pregnant, given a positive test ( p(preg test +)); however, what she knows is the probability of obtaining a positive| test result if she is pregnant ( p(test + preg)), and she knows the result of the test. In a similar type| of problem, suppose a 30-year-old man has a positive blood test for a prostate cancer marker (PSA). Assume this test is also ap- proximately 90% accurate. Once again, in this situation, the individual would like to know the probability that he has prostate cancer, given the positive test, but the information at hand is simply the probability of testing positive if he has prostate cancer, coupled with the knowledge that he tested positive. Bayes’ Theorem offers a way to reverse conditional probabilities and, hence, provides a way to answer these questions. In this chapter, I first show how Bayes’ Theorem can be applied to answer these questions, but then I expand the discussion to show how the theorem can be applied to probability distributions to answer the type of questions that social scientists commonly ask. For that, I return to the polling data described in the previous chapter. 3.1 Bayes’ Theorem for point probabilities Bayes’ original theorem applied to point probabilities.
    [Show full text]