Ask Advanced Statistics Expert

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

Advanced Statistics, Statistics

  • Category:- Advanced Statistics
  • Reference No.:- M92215363
  • Price:- $80

Guranteed 48 Hours Delivery, In Price:- $80

Have any Question?


Related Questions in Advanced Statistics

Question 1before beginning a study investigating the

QUESTION 1 Before beginning a study investigating the ability of a drug to lower cholesterol, baseline values of total serum cholesterol were measured for a sample of 30 healthy controls thought not to be at risk forcard ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As