30
Bayesian Estimation Group H Phạm Thiều Minh Bùi Lê Quý Thái Trần Diệp Huệ Mẫn Nguyễn Phạm Xuân Quỳnh

Stat451 - Life Distribution

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Stat451 - Life Distribution

Bayesian Estimation

Group H

Phạm Thiều Minh

Bùi Lê Quý Thái

Trần Diệp Huệ Mẫn

Nguyễn Phạm Xuân Quỳnh

Page 2: Stat451 - Life Distribution

Content

• Background• Bayesian estimation• Credible interval• Pros & Cons of Bayesian estimator• References

Page 3: Stat451 - Life Distribution

BACKGROUND

Page 4: Stat451 - Life Distribution

Example

Page 5: Stat451 - Life Distribution

Estimator

• Statistic used to estimate the value of an unknown parameter θ

Page 6: Stat451 - Life Distribution

Estimate

• Observed value of the estimator

EstimatePoint

Maximum Likelihood

BayesianInterval

Page 7: Stat451 - Life Distribution

Likelihood function

• We don’t know the parameters (for example mean μ or variance σ2)

• We have known data

From known data, we can calculate missing parameter

Page 8: Stat451 - Life Distribution

BAYESIAN ESTIMATION

What is Bayesian estimator?

Terminology

Squared error loss

Absolute value loss

Example

Page 9: Stat451 - Life Distribution

What is Bayesian estimator

• Bayesian estimator is an estimator that minimizes the expected loss (Bayes risk) of a given posterior distribution π(θ|D) over parameter θ.

Page 10: Stat451 - Life Distribution

Terminology

• Prior distribution π(θ): initial beliefs about some unknown quantity

• Likelihood function p(x|θ): information in the data

• Given data D, the posterior density

where)(

)()|()|(

data

priorlikelihoodposterior

xp

xpD

Page 11: Stat451 - Life Distribution

Terminology - example

• Prior distribution: uniform distribution on (0,1)

• Likelihood function

• Data

10,1)(

xxxp 1)1()|(

)()()|1

()1

( dpnxxp

nxxp

Page 12: Stat451 - Life Distribution

Terminology

• The mean of discrete random variable:

• The mean of the prior distribution:

• The mean of the posterior distribution:

)]([E(x) xPx

d)(E(x)

dD)|(D)|E(

Page 13: Stat451 - Life Distribution

Terminology

• Bayesian estimator:• True value: θ• Loss function - to find a lower value

that aindicate estimate is better estimate of θ

• Expected loss (Bayes risk):

Page 14: Stat451 - Life Distribution

How to minimize Bayes risk

Bayes risk

Squared error loss

Absolute error loss

Page 15: Stat451 - Life Distribution

Squared error loss (MSE)

• Other name is Minimum Squared Error (MSE)• Loss function:

= (true value – Bayesian estimator)2

• Bayes risk: • Minimize the risk by taking the 1st derivation =

0

Page 16: Stat451 - Life Distribution

The Bayes estimator of a parameter θ P with respect to squared loss is the mean of the posterior density

Page 17: Stat451 - Life Distribution

MSE - Example

Page 18: Stat451 - Life Distribution

MSE - Example

• Secondly, we calculate posterior density

)!1()( xx

Page 19: Stat451 - Life Distribution

Toss a coin 10 times, the number success (coin is head) is 6, then assuming a uniform (0,1) prior distribution on θThe posterior distribution is

Page 20: Stat451 - Life Distribution

MSE - Example

• Finally we evaluate Bayesian estimator

Page 21: Stat451 - Life Distribution

How to minimize Bayes risk

Bayes risk

Squared error loss

Absolute error loss

Page 22: Stat451 - Life Distribution

Absolute value loss

• Loss function: • Bayes risk:

• Minimize the risk by taking the 1st derivation to be 0

Page 23: Stat451 - Life Distribution

The Bayes estimator of a parameter θ P with respect to the absolute value loss is the median of the posterior density

Page 24: Stat451 - Life Distribution

CREDIBLE INTERVAL(HIGHEST DENSITY REGIONS )

Page 25: Stat451 - Life Distribution

What is HDR• Highest Density Regions (HDR’s) are intervals

containing a specified posterior probability. The figure below plots the 95% highest posterior density region.

HDR

Page 26: Stat451 - Life Distribution

PROS & CONS

Page 27: Stat451 - Life Distribution

Pros

• Incorporating prior knowledge into an analysis

• Loss functions allow a range of outcomes rather only 2 (the null & alternative hypothesis)

Past data

Present data

Page 28: Stat451 - Life Distribution

Cons

Posterior

Page 29: Stat451 - Life Distribution

REFERENCE

Page 30: Stat451 - Life Distribution

References

• Wikipedia (http://en.wikipedia.org/wiki/Bayes_estimator)

• FISH 497 course by Tim Esington (http://www.fish.washington.edu/classes/fish497/)

• Sheldon M. Ross – Probability and Statistics for Engineer and Scientists 3rd edition