MAS3301 Bayesian Statistics Problems 3 and Solutions
MAS3301 Bayesian Statistics Problems 3 and Solutions
Semester 2 2008-9
Problems 3
1. In a small survey, a random sample of 50 people from a large population is selected. Each person is asked a question to which the answer is either "Yes" or "No." Let the proportion in the population who would answer "Yes" be . Our prior distribution for is a beta(1.5, 1.5) distribution. In the survey, 37 people answer "Yes."
(a) Find the prior mean and prior standard deviation of . (b) Find the prior probability that < 0.6. (c) Find the likelihood. (d) Find the posterior distribution of . (e) Find the posterior mean and posterior standard deviation of . (f) Plot a graph showing the prior and posterior probability density functions of on the
same axes. (g) Find the posterior probability that < 0.6.
Notes: The probability density function of a beta(a, b) distribution is f (x) = kxa-1(1 - x)b-1 where k is a constant.
If X beta(a, b) then the mean of X is
and the variance of X is
a E(X) =
a+b ab
var(X) = (a + b + 1)(a + b)2 .
If X beta(a, b) then you can use a command such as the following in R to find Pr(X < c).
pbeta(c,a,b)
To plot the prior and posterior probability densities you may use R commands such as the following.
theta ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- b h s 1 7 2 0 1 8
- mth 309 4 linear algebra i f11 homework 11 solutions
- chem 452 fall 2012 quiz 2 take home due monday 22 oct
- lincolnweld 309 309l lincoln electric
- mas3301 bayesian statistics problems 3 and solutions
- stainless steel tables of technical properties
- 4 9 the rank nullity theorem purdue university
- indeterminate forms florida state university
- year 2 digits 22 user refunds month 2 digits 0
- silicon npn phototransistor npn silizium fototransistor
Related searches
- chemistry problems and solutions pdf
- chemistry problems and solutions book
- calculus problems and solutions pdf
- derivative problems and solutions pdf
- integration problems and solutions pdf
- statistics problems and solutions pdf
- kinematics problems and solutions pdf
- physics problems and solutions pdf
- probability problems and solutions pdf
- environmental problems and solutions answers
- environmental problems and solutions pdf
- electromagnetic problems and solutions pdf