Compare the expressions for posterior mean and prior mean

Assignment Help Advanced Statistics
Reference no: EM131405564

Q1. A doctor gives a patient a test for a disease. The test is pretty accurate: if given to a person with the disease, it will give a positive result 99% of the time, and if given to a person without the disease, it will give a negative result 99% of the time. This particular patient tests positive, and the doctor claims that now the probability this patient has the disease is 99%. Show that this is not necessarily true by constructing an example where the correct probability is less than 99%.

Q2. Let X1, ..., Xn be a random sample from a geometric distribution with parameter θ, i.e, p(xi|θ) = θ(1 - θ)x_i -1. Let the prior for θ be a beta distribution with parameters α and β:

p(θ|α, β) = (Γ(α+β)/Γ(α)Γ(β))θα-1(1-θ)β-1

(for θ ∈ [0, 1]). Recall that E(θ)= α/(α+β) and E(Xi|θ) = 1/θ.

(a) Find the maximum likelihood estimate for θ.

(b) Show that the beta distribution is conjugate for θ, i.e., find the posterior distribution for θ and show that it is a beta distribution.

(c) Show that the posterior mean is a weighted average of the prior mean and the maximum likelihood estimate.

(d) Make up three observations and appropriate values for α and β. Compute the standard 95% posterior interval estimate and the 95% HPD interval estimate for θ. Compare your intervals.

Q3. Suppose we are going to observe data that are from a uniform distribution with unknown upper endpoint, i.e.:

          yiiid Unif[0, θ] i = 1, . . . , n

with prior θ ∼ Pareto(α, β)

                    where p(θ|α, β) = αβαθ-(α+1)I{θ ≥ β}

Assuming that α > 2, the Pareto has mean  αβ/α-1 and variance αβ2/(α-1)(α-2).

(a) Show that the normalized likelihood distribution is a Pareto(n - 1, m,) where n is the sample size and 9n is the maximum of the observations.

(b) Compare the expressions for the posterior mean, prior mean, and the mean of the likelihood.

(c) Write out the posterior variance. When considered as a function of the sample size n, what is unusual about this expression to most standard cases?

Q4. Show (derive) that under the normal model with a non-informative prior distribution:

y1, . . . , yniid N(μ, σ2)

p(μ, σ2) ∝ (σ2)-1

that the posterior predictive distribution for a new observation y is a t distribution with location y- and scale (1 + 1/n)½ s, and degrees of freedom n-1. You do not need to derive p(μ|σ2, data) or p(σ2|data), you can use the results for these distributions found in class.

Q5. In March 2011, a 9.0 magnitude earthquake occurred off the coast of Japan, triggering an aggressive tsunami. The effects of the earthquake and tsunami were of the most devastating in recorded history. The nuclear power plant in Fukashima was essentially obliterated, from nuclear meltdowns to chemical explosions. Fukashima was the largest nuclear accident since Chernobyl in 1986. Radioactive material spilled into the surrounding land and water mass exposing people, plants, and animals to radiation. Local fisheries were particularly concerned with the level of radioactive cesium in consumable fish (seafood). The local government regulations state that the maximum consumable of level of radioactive cesium to be 100 becquerels per kilogram. The dataset radioces.R describe the radioactive cesium levels of 20 fish from a particular location off the coast of Japan in 2012. Assume the following normal conjugate model for these data:

y1, . . . , yniid N(μ, σ2)

               μ ∼ N(mμ, s2μ)

              σ2 ∼ Γ-1(2, bσ(scale))

(a) Suppose we know that the levels of radioactive cesium in a nearby location ranged from 40 - 120 becquerels per kilogram. Use this prior information to obtain values for your prior parameters. Check you values by obtaining a plot of your prior predictive distribution.

(b) Derive the posterior for p(σ2|data) and p(μ|σ2, data). Use Monte Carlo to obtain posterior samples from the joint posterior distribution, and provide a plot of your posterior sample pairs.

(c) Derive the posterior for p(μ|data). Provide plots overlaying the empirical MC and actual marginal distribution of σ2 and μ.

(d) Simulate from the posterior predictive distribution, and plot your results. What is the probability that a new observed specimen will surpass the maximum consumable of level of radioactive cesium?

(e) Derive the full conditional posterior for p(σ2|μ data) and p(μ|σ2, data) (although the later has been done). Use Gibbs sampling to obtain posterior samples from the joint posterior distribution, and provide a plot of your posterior sample pairs. Compare your results to (b).

Attachment:- Assignment File.rar

Reference no: EM131405564

Questions Cloud

Determine and interpret the p value for the test : It has been reported that 80% of taxpayers who are audited by the Internal Revenue Service end up paying more money in taxes.- Use the 0.10 level of significance in reaching a conclusion. Determine and interpret the p-value for the test.
What is the equilibrium price and quantity of office : Draw the demand and supply curve for office visits. What is the equilibrium price and quantity of office visits per week? If one of the physicians moves to another city, reducing quantity supplied by 25 percent, what are the price and quantity at t..
Why were the persians able to create such a large empire : Why were the Persians able to create such a large empire? Compare Jainism, Hinduism and Buddhism. How were these religions influenced by India's social structure? How did Ashoka's rule change India?
Where is the theatre headed : Predicting trends in the theatre is the work of theatre artists the world over. While their first and foremost concern is with self-expression, all theatre practitioners want to work on the forefront of the field.For this assignment, you will answ..
Compare the expressions for posterior mean and prior mean : Show that the normalized likelihood distribution is a Pareto(n - 1, m,) where n is the sample size and 9n is the maximum of the observations. Compare the expressions for the posterior mean, prior mean, and the mean of the likelihood
What is a power curve and how is it applicable to hypothesis : What is a power curve and how is it applicable to hypothesis testing?- What is an operating characteristic curve and how is it related to the power curve for a test?
Write a letter to the president and board of trustees : Your assignment is to write a letter to the President and Board of Trustees outlining the benefits of studying theatre, keeping our core values in mind. What have you learned about the theatre this term that could help you communicate the value of..
Discuss the project management life cycle with your ppm : Discuss the project management life cycle with your PPM software implementation project. Each life cycle element should have at least 2 major activities or tasks of the software implementation project.
Does the machine appear to be in need of calibration : At the 0.01 level of significance, does the machine appear to be in need of maintenance and calibration? Determine and interpret the p-value for the test.

Reviews

len1405564

2/25/2017 4:17:59 AM

One of the homework problems requires R coding (Gibbs sampling, MCMC). Please submit complete solutions and R file. The most important problem is the last one. Without R code the assignment will be meaningless. Thank you.

Write a Review

Advanced Statistics Questions & Answers

  What the value of the proximity to customers score

The factor rating method that we learned during the class, which site should Dynaco use based on the above information?

  Information regarding maximum revenue

Island Publishing Company publishes two types of magazines on a monthly basis: a restaurant and entertainment guide and a real estate guide.

  Perform a test that will compare all 4 means at once

Test whether the four means are equal at the 5% level of significance and Perform a test that will compare all 4 means at once

  Study- the effects of a new academic program

In a few sentences, describe two designs that can address your research question. The designs must involve two different statistical analyses. For each design, specify and justify each of the four factors and calculate the estimated sample size yo..

  Calculate the autocovariance function of the sales

Discus the important characteristics of the ACF for an ARMA model - Calculate the autocovariance function of the saies using the Yule-Walker equations

  What conclusions can be drawn from the f-ratios

What conclusions can be drawn from the F-ratios and what is the effect size, and what does this mean

  Appropriate statistical analysis

A fashion student was interested in factors that predicted the salaries of catwalk models. She collected data from 231 models.

  Find an expression for the posterior distribution

Find an expression for the posterior distribution of change-point for this simple model assuming the values τ = 0, 1, 2, . . . , n are allowed

  Maturity amount for bondholders

On January 1, Bank, Rupp & Baroque, Inc. issued $50,000 worth of 10-year, 9% bonds for $48,890. How much cash will bondholders receive when the bonds mature?

  What is the break-even quantity

Draw a decision tree for this problem and what should management do to achieve the highest expected payoff?

  Legal and ethical implications of media giant mergers

Discuss the legal and ethical implications of the ongoing debate and take a position as to whether the changes should be allowed and would they benefit DWI.

  Determining constant growth valuation

Boehm Incorporated is expected to pay a $1.70 per share dividend at the end of this year (i.e., D1 = $1.70). The dividend is expected to grow at a constant rate of 4% a year.

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