Find the posterior distribution

Assignment Help Engineering Mathematics
Reference no: EM131204567

Q1. Exponential family expectations: Let p(y|Φ) = c(Φ)h(y) exp{Φt(y)} be an exponential family model.

a) Take derivatives with respect to Φ of both sides of the equation ∫p(y|Φ) dy = 1 to show that E[t(Y)|Φ] = -c'(Φ)/c(Φ).

b) Let p(Φ) ∝ c(Φ)n_0en_0t_0Φ be the prior distribution for Φ. Calculate dp(Φ)/dΦ and, using the fundamental theorem of calculus, discuss what must be true so that E[-c(Φ)/c(Φ)] = t0.

Q2. Posterior prediction: Consider a pilot study in which n1 = 15 children enrolled in special education classes were randomly selected and tested for a certain type of learning disability. In the pilot study, y1 = 2 children tested positive for the disability.

a) Using a uniform prior distribution, find the posterior distribution of θ, the fraction of students in special education classes who have the disability. Find the posterior mean, mode and standard deviation of θ, and plot the posterior density.

Researchers would like to recruit students with the disability to participate in a long-term study, but first they need to make sure they can recruit enough students. Let n2 = 278 be the number of children in special education classes in this particular school district, and let Y2 be the number of students with the disability.

b) Find Pr(Y2 = y2|Y1 = 2), the posterior predictive distribution of Y2, as follows:

i. Discuss what assumptions are needed about the joint distribution of (Y1, Y2) such that the following is true:

Pr(Y2 = y2|Y1 = 2) = 01 Pr(Y2 = y2|θ)p(θ|Y1 = 2)dθ.

ii. Now plug in the forms for Pr(Y2 = y2|θ) and p(θ|Y1 = 2) in the above integral.

iii. Figure out what the above integral must be by using the calculus result discussed in Section 3.1.

c) Plot the function Pr(Y2 = y2|Y1 = 2) as a function of y2. Obtain the mean and standard deviation of Y2, given Y1 = 2.

d) The posterior mode and the MLE of θ, based on data from the pilot study, are both θ^ = 2/15. Plot the distribution Pr(Y2 = y2|θ = θ^), and find the mean and standard deviation of Y2 given θ = θ^. Compare these results to the plots and calculations in c) and discuss any differences. Which distribution for Y2 would you use to make predictions, and why?

Q3. Tumor counts: A cancer laboratory is estimating the rate of tumorigenesis in two strains of mice, A and B. They have tumor count data for 10 mice in strain A and 13 mice in strain B. Type A mice have been well studied, and information from other laboratories suggests that type A mice have tumor counts that are approximately Poisson-distributed with a mean of 12. Tumor count rates for type B mice are unknown, but type B mice are related to type A mice. The observed tumor counts for the two populations are

yA = (12, 9, 12, 14, 13, 13, 15, 8, 15, 6);

yB = (11, 11, 10, 9, 9, 8, 7, 10, 6, 8, 8, 9, 7).

a) Find the posterior distributions, means, variances and 95% quantile-based confidence intervals for θA and θB, assuming a Poisson sampling distribution for each group and the following prior distribution:

θA ∼ gamma(120,10), θB ∼ gamma(12,1), p(θA, θB) = p(θA) x p(θB).

b) Compute and plot the posterior expectation of θB under the prior distribution θB ∼ gamma(12 x n0, n0) for each value of n0 ∈ {1, 2, ... , 50} . Describe what sort of prior beliefs about θB would be necessary in order for the posterior expectation of θB to be close to that of θA.

c) Should knowledge about population A tell us anything about population B? Discuss whether or not it makes sense to have p(θA, θB) = P(θA) x P(θB).

Attachment:- Assignment.rar

Reference no: EM131204567

Questions Cloud

Natural water resources cannot filtrate : What contaminants that natural water resources cannot filtrate? Name one and why?
Us customary or si measurements : When you look at a drawing, how do you know if you are looking at U S Customary or SI measurements? Why is it important for an engineer to know this piece of information?
Shortest distance between any 2 specified nodes : Does the minimum spanning tree of a graph give the shortest distance between any 2 specified nodes?
Is expenditure still growing : Obtain data on public sector expenditure as a proportion of gross domestic product since 1970. Is expenditure still growing? Assess the answer relative to the arguments of the development model. Do the data describe a relation of demand to income ..
Find the posterior distribution : Using a uniform prior distribution, find the posterior distribution of θ, the fraction of students in special education classes who have the disability. Find the posterior mean, mode and standard deviation of θ, and plot the posterior density
Screen message-hard drive not found : Scenario: Owen has just turned on his computer. He goes to get a glass of water while it is booting. Upon returning, he sees the screen message, Hard Drive Not Found. What should he do first?
Does this analysis support baumol''s law : what happens to labor demand? What will happen to the wage rate if the economy has many firms in this position? Does this analysis support Baumol's law?
Field of computer science : What are primitive types and how are they applied in the field of computer science?
Review and synthesis of the literature for the given topic : Review and synthesis of the literature for the topic of your research-based report. - define a problem in your workplace or community persuasively and accurately.

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Prime number theorem

Dirichlet series

  Proof of bolzano-weierstrass to prove the intermediate value

Every convergent sequence contains either an increasing, or a decreasing subsequence.

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Distributed random variables

Daily Airlines fies from Amsterdam to London every day. The price of a ticket for this extremely popular flight route is $75. The aircraft has a passenger capacity of 150.

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Managing ashland multicomm services

This question is asking you to compare the likelihood of your getting 4 or more subscribers in a sample of 50 when the probability of a subscription has risen from 0.02 to 0.06.]  Talk about the comparison of probabilities in your explanation.

  Skew-symmetric matrices

Skew-symmetric matrices

  Type of taxes and rates in spokane wa

Describe the different type of taxes and their rates in Spokane WA.

  Stratified random sample

Suppose that in the four player game, the person who rolls the smallest number pays $5.00 to the person who rolls the largest number. Calculate each player's expected gain after one round.

  Find the probability density function

Find the probability density function.

  Develop a new linear programming for an aggregate production

Linear programming applied to Aggregate Production Planning of Flat Screen Monitor

  Discrete-time model for an economy

Discrete-time model for an economy

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd