Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
27 views
6 pages
Bayesian Statistics 1
Uploaded by
Gideon Chandimhara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Bayesian Statistics 1 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
27 views
6 pages
Bayesian Statistics 1
Uploaded by
Gideon Chandimhara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Bayesian Statistics 1 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save Bayesian Statistics 1 For Later
You are on page 1
/ 6
Search
Fullscreen
2015 Bayesian statistics Subject CT6 UNIT 5 — BAYESIAN STATISTICS Sillabus objectives () 1. Use Bayes" Theorem to calculate simple conditional probabilities. 2. Explain what js meant by a prior distribution, a posterior distribution and a conjugate prior distribution, 3. Derive the posterior distribution for a parameter in simple cases. 4. Explain what is meant by a loss function, Use simple loss functions to derive Bayesian estimates of parameters. 0 Introduction ‘The Bayesian philosophy involves a completely different approach to statistics. The Bayesian version of estimation is considered here for the basic situation concerning the estimation ofa parameter given a random sample from a particular distribution. Classical estimation involves the method of maximum likelihood, ‘The fundamental difference between Bayesian and classical methods is that the parameter 8 is considered to be a random variable in Bayesian methods. In classical statistics 0 is a fixed but unknown quantity. This leads to difficulties such as the careful interpretation required for classical confidence intervals, where itis the interval that is random. As soon as the data are observed and a numerical interval is calculated, there is no probability involved. A statement such as P(10.45 < 0 < 13.26) = 0.95 cannot >be made because @ is not a random variable. In Bayesian statistics no such difficulties arise and probability statements can be made concerning the values of a parameter 0, 1 Bayes’ Theorem Tf Bi Basu By constitute a partition of a sample space Sand P(B,) #0 fori = 1,2, then for any event in S such that P(A) #0 oh PUlh, P(A) (B,) P(B,|A) AAC! where P(A) = $rulayPa) for 1,2 on 9h (© Institute and Faculty of ActuariesSubject CT6 Bayesian statistics 2015 44 24 An example Three manufacturers supply clothing to a retailer. 60% of the stock comes from manufacturer 1, 30% from manufacturer 2 and 10% from manufacturer 3. 10% of the clothing from manufacturer | is faulty, 5% from manufacturer 2 is faulty and 15% from manufacturer 3 is faulty. What is the probability that a faulty garment comes from manufacturer 32 Solution Let A be the event that a garment is faulty. Let B, be the event that the garment comes from manufacturer j, Substituting the figures into the formula for Bayes’ Theorem, Pula) = (01310) __ ois (0:140.6)4 (0.05K0.3) +(0.13K0.1) 0.09 1.167 Although manufacturer 3 supplies only 10% of the garments to the retailer, neatly 17% of the faulty garments come from that manufacturer, Prior and posterior distributions Suppose = (X}, 2, X,) i a random sample from a population specified by the density or probability function /(x;0) and it is required to estimate 8, As a result of the parameter 0 being a random variable, it will have a distribution. ‘This allows the use of any knowledge available about possible values for 0 before the collection of any data, This knowledge is quantified by expressing it as the prior distribution of Then after collecting appropriate data the posterior distribution of @ is determined and this forms the basis ofall inference concerning 0. Notation As 0 is a random variable, it should really be denoted by the capital ©, and its prior density written as f(6). However, for simplicity no distinction will be made between © and 0, and the density will simply be denoted by f(@). Note that referring to a density here implies that 0 is continuous. In most applications this will be the case, as even when X'is discrete (like the binomial or Poisson), the parameter (p ot 2) will vary in a continuous space ((0, 1) or (0, 0), respectively). Also the population density or probability function will be denoted by /'(x 6) rather than {he earlier (1:0) as it represents the conditional distribution of X given 0. 5, Page 2 © Institute and Faculty of Actuaries2015 22 Bayesian statistios, Subject CT6 Determining the posterior density ‘Suppose that .V is a random sample from a population specified by f(x'| 0) and that @ has the prior density f(8). ‘The posterior density of @| X is determined by applying the basic definition of a conditional densi Note that /(X) = j (X10) /@)d0. This result is like a continuous version of Bayes* theorem from basie probability. A useful way of expressing the posterior density is to use proportionality. (A) does not involve @ and is just the constant needed to make it a proper density that integrates to unity, so FOX) © (410), Also niote that (2¢|0) being the joint density of the sample values is none other than the likelihood. So the posterior is proportional to the product of the likelihood and the prior. Fora given likelihood, if the prior to the same family as the pri this likelihood, stribution leads to a posterior distribution belonging tribution, then this prior is called the conjugate prior for The loss function To obtain an estimator of 8, a loss function must first be specified. This is a measure of the “Toss” incurred when g(X) is used as an estimator of 8. A loss function is sought which is zero when the estimation is exactly correct. that is, g(X) = 0, and which is positive and does not decrease as ¢(X) gels further away from 0, There is one very commonly used loss function, called quadratic or squared error loss. Two others are also used in practice, Then the Bayesian estimator is the g(4) which minimises the expected loss with respect to the posterior distribution, ‘The main loss fumetion is quadratic loss defined by LR), 8) = (g(x) - 0 and itis related to mean square error from classical statistics. © Institute and Faculty of Actuaries Unit 5, Page 3Subject CTS Bayesian statistics 2015 3.1 Unit 5, Page 4 © Institute and Faculty of Actu A second loss function is absolute error loss defined by Le). = |g -8| A third loss function is “0/1” or “all-or-nothing” loss defined by He@),0)= 0 ify) =0 1 itge) +0. The Bayesian estimator that arises by minimising the expected loss for each of these loss functions in turn is the mean, median and mode, respectively, of the posterior distribution, each of which is a measure of location of the posterior distribution. ‘The expected posterior loss is EPL = EX{L(g(x), 0)} = [L(e(3),0)f(@|x)d0. Quadratic loss For simplicity, ¢ will be written instead of e(2), So EPL= j(g-6) f(@lxae spr = 20g -0)f(0lyd0 dg equating to zero => gf f(O|x)d0 = for@laydo but (/(@lya0 g= fof(olxyda = 2013) Clearly this minimises FPZ. + The Bayesian estimator under quadratic loss is the mean of the posterior distribution.2015 3.2 3.3 Bayesian statistics Subject CTS Absolute error loss Again, g will be written instead of g(a). So EPL= fg -0| f(@lx)a0 Assuming the range for 0 is (~ 22), then EPL= § (y-0)f00|3)40+ @-s)/@lya0 2 i “gp = § f@lxyd0-{ polnae dg A - ho 4 1Recat that °F" Fonds = “f Ereyides BOW) COMA) «oy ay) equating 10 zero=> } s(olyyaa = j realyiae _ s that is, PO
0, this tends to the required loss function, -*F rolyyao (gla) for small ¢, minimised by taking g to be the mode of f(0 |x). © Institute and Faculty of Actuaries Unit 5, Page 5Subject CT6 Bayesian statistics 2015 3.4 Unit 5, Page 6 An example For the estimation of a binomial probability 0 from a single observation X' with the prior distribution of 0 being beta with parameters a and , investigate the form of the posterior distribution of 8 and determine the Bayesian estimator of 8 under quadratic loss, Solution ‘The proportionality argument be used and any constants simply omitted as appropriate, ye ot Ta+B) Prior: £(@) 26°10)", omitting the constant 1¢*D) rior: #0) (1-0)? omitting the constant Tere) ff Likelihood: f(41|6) « 0*(1- 6)", omitting the constant (") 2 FOOL) < 81-0y"* 81a — oy! = grat gyri Now it can be seen that, apart from the appropriate constant of proportionality, this is the density ofa beta random variable. ‘Therefore the immediate conclusion is that the posterior distribution of @ given ¥'is beta with parameters (x + a) and (n ~x+ B) {can also be seen that the posterior density and the prior density belong to the same family of distributions, Thus the conjugate prior for the binomial distribution is the beta distribution The Bayesian estimator under quadratic loss is __xta ta Gras0 Bras the mean of this distribution, that is, END © Institute and Faculty of Actuaries
You might also like
Lectures 5
PDF
No ratings yet
Lectures 5
31 pages
5B Bayesian Inference: Class Problems
PDF
No ratings yet
5B Bayesian Inference: Class Problems
9 pages
Expo Kundu
PDF
No ratings yet
Expo Kundu
22 pages
Bayesian Lec.4
PDF
No ratings yet
Bayesian Lec.4
24 pages
Cs 13 Batch 1
PDF
No ratings yet
Cs 13 Batch 1
84 pages
The E-Bayesian and Hierarchical Bayesian Estimations of Pareto Distribution Parameter Under Different Loss Functions
PDF
No ratings yet
The E-Bayesian and Hierarchical Bayesian Estimations of Pareto Distribution Parameter Under Different Loss Functions
18 pages
CS1 (A) Book
PDF
No ratings yet
CS1 (A) Book
38 pages
Single Parameter Models
PDF
No ratings yet
Single Parameter Models
37 pages
19-Bayesian 2
PDF
No ratings yet
19-Bayesian 2
39 pages
Bayesian Estimation
PDF
No ratings yet
Bayesian Estimation
13 pages
DS 630 - Lec 4 - ST
PDF
No ratings yet
DS 630 - Lec 4 - ST
27 pages
DS 630 - Lec 3 - ST
PDF
No ratings yet
DS 630 - Lec 3 - ST
24 pages
Lecture 2 - 4 Prior
PDF
No ratings yet
Lecture 2 - 4 Prior
51 pages
LongitudinalDataAnalysis 27052018
PDF
No ratings yet
LongitudinalDataAnalysis 27052018
133 pages
Slides 1
PDF
No ratings yet
Slides 1
73 pages
1-MS2 (Intro Bayes)
PDF
No ratings yet
1-MS2 (Intro Bayes)
38 pages
Single Parametric Models
PDF
No ratings yet
Single Parametric Models
10 pages
CH 5
PDF
No ratings yet
CH 5
45 pages
Han 2009
PDF
No ratings yet
Han 2009
8 pages
5 2 3soln
PDF
No ratings yet
5 2 3soln
4 pages
Bayes
PDF
No ratings yet
Bayes
3 pages
Mstat Note14 Bayesian Inference FSP
PDF
No ratings yet
Mstat Note14 Bayesian Inference FSP
30 pages
Chapter 1 B
PDF
No ratings yet
Chapter 1 B
35 pages
Lecture 3
PDF
No ratings yet
Lecture 3
4 pages
BT Wk5 LectureNotes A
PDF
No ratings yet
BT Wk5 LectureNotes A
17 pages
Bayes Lecture Notes
PDF
No ratings yet
Bayes Lecture Notes
79 pages
Robust Bayesian Methodology With Applicationsin Credibility Premium Derivation and Future Claim Size Prediction
PDF
No ratings yet
Robust Bayesian Methodology With Applicationsin Credibility Premium Derivation and Future Claim Size Prediction
17 pages
Chapter 2 PDF
PDF
No ratings yet
Chapter 2 PDF
1 page
25 Intro To Bayesian Inference
PDF
No ratings yet
25 Intro To Bayesian Inference
31 pages
Exam Sta 426
PDF
No ratings yet
Exam Sta 426
6 pages
Block 4 ST3189
PDF
No ratings yet
Block 4 ST3189
25 pages
Lecture 10
PDF
No ratings yet
Lecture 10
33 pages
HSTS418 Tutorial and Assignment 3 Jan2022
PDF
No ratings yet
HSTS418 Tutorial and Assignment 3 Jan2022
2 pages
HSTS 412 GLM Assignment 2 2022
PDF
No ratings yet
HSTS 412 GLM Assignment 2 2022
2 pages
HSTS 412 GLM Assignment 1 2022
PDF
No ratings yet
HSTS 412 GLM Assignment 1 2022
2 pages
Priyanka BI 1 PDF
PDF
No ratings yet
Priyanka BI 1 PDF
25 pages
Lecture 20 - Bayesian Analysis
PDF
No ratings yet
Lecture 20 - Bayesian Analysis
4 pages
Lecture 6. Bayesian Estimation
PDF
No ratings yet
Lecture 6. Bayesian Estimation
14 pages
Lecture Notes For Probability and Statistics
PDF
No ratings yet
Lecture Notes For Probability and Statistics
7 pages
MAS3301 Bayesian Statistics: M. Farrow School of Mathematics and Statistics Newcastle University Semester 2, 2008-9
PDF
No ratings yet
MAS3301 Bayesian Statistics: M. Farrow School of Mathematics and Statistics Newcastle University Semester 2, 2008-9
18 pages
Notes4 BayesianLearning
PDF
No ratings yet
Notes4 BayesianLearning
8 pages
Lecture4 More Bayes
PDF
No ratings yet
Lecture4 More Bayes
24 pages
Ruin Theory Hand Written Notes
PDF
No ratings yet
Ruin Theory Hand Written Notes
20 pages
Classical and Bayesian Estimations On The Generalized Exponential Distribution Using Censored Data
PDF
No ratings yet
Classical and Bayesian Estimations On The Generalized Exponential Distribution Using Censored Data
15 pages
Intro To Bayes Approach. Reasons To Be Bayesian: Differences Between Bayesian and Frequentist Approaches 1
PDF
No ratings yet
Intro To Bayes Approach. Reasons To Be Bayesian: Differences Between Bayesian and Frequentist Approaches 1
9 pages
Bayesian Inference: by Hoai Nam Nguyen September 9, 2017
PDF
No ratings yet
Bayesian Inference: by Hoai Nam Nguyen September 9, 2017
7 pages
Bayes Estimator of One Parameter Gamma Distribution Under Quadratic and LINEX Loss Function Wael Abdul Lateef Jasim
PDF
No ratings yet
Bayes Estimator of One Parameter Gamma Distribution Under Quadratic and LINEX Loss Function Wael Abdul Lateef Jasim
16 pages
확통1 LectureNote09 on Bayesian Statistical Inference
PDF
No ratings yet
확통1 LectureNote09 on Bayesian Statistical Inference
78 pages
Bayesian Statistics: MA501, Statistics For Insurance
PDF
No ratings yet
Bayesian Statistics: MA501, Statistics For Insurance
28 pages
Estimation
PDF
No ratings yet
Estimation
53 pages
Bayesian Inference
PDF
No ratings yet
Bayesian Inference
18 pages
T10 Sol..ol
PDF
No ratings yet
T10 Sol..ol
8 pages
Universiteit Hasselt Concepts in Bayesian Inference Exam June 2015
PDF
No ratings yet
Universiteit Hasselt Concepts in Bayesian Inference Exam June 2015
8 pages
Decision Theory Notes Rotated
PDF
No ratings yet
Decision Theory Notes Rotated
19 pages
MCMC Bayes PDF
PDF
No ratings yet
MCMC Bayes PDF
27 pages
Introduction To Bayesian Methods: Jessi Cisewski Department of Statistics Yale University
PDF
No ratings yet
Introduction To Bayesian Methods: Jessi Cisewski Department of Statistics Yale University
53 pages
Ruin Theory
PDF
No ratings yet
Ruin Theory
32 pages
Bayesian Modelling Tuts-4-9
PDF
No ratings yet
Bayesian Modelling Tuts-4-9
6 pages
Credibility Theory 2
PDF
No ratings yet
Credibility Theory 2
45 pages
HSTS418 Tutorial and Asssignment March 2023
PDF
No ratings yet
HSTS418 Tutorial and Asssignment March 2023
3 pages
Bayesian Statistics 01
PDF
100% (1)
Bayesian Statistics 01
22 pages
A Beginner's Notes On Bayesian Econometrics (Art)
PDF
No ratings yet
A Beginner's Notes On Bayesian Econometrics (Art)
21 pages
Bayesian Ibrahim
PDF
No ratings yet
Bayesian Ibrahim
370 pages
Chap 2
PDF
No ratings yet
Chap 2
28 pages
Notes 2 BayesianStatistics
PDF
No ratings yet
Notes 2 BayesianStatistics
6 pages
Lecture 5
PDF
No ratings yet
Lecture 5
6 pages
Revision - Bayesian Inference
PDF
No ratings yet
Revision - Bayesian Inference
4 pages