/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q 9E Using the prior and data in the ... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

Using the prior and data in the numerical example on nursing homes in New Mexico in this section, find (a) the shortest possible interval such that the posterior probability that \({\bf{\mu }}\) lies in the interval is 0.90, and (b) the shortest possible confidence interval for \({\bf{\mu }}\) which the confidence coefficient is 0.90.

Short Answer

Expert verified
  1. (157.83, 210.07)
  2. (152.55, 211.79)

Step by step solution

01

Given information

It is given that two variables \(\mu \,\,and\,\,\tau \)have the joint normal-gamma distribution such that \({\mu _0} = 183.95,{\lambda _0} = 20,{\alpha _0} = 11,{\beta _0} = 50925.37\)

02

Define Normal-Gamma distribution

Let \(\mu \,\,{\rm{and}}\,\,\tau \) be random variables. Suppose that the conditional distribution of \(\mu \,\,{\rm{given}}\,\,\tau \) is the normal distribution with mean \({\mu _0}\) and precision \({\lambda _0}\tau \).

Suppose also that the marginal distribution of \(\,\tau \) is the gamma distribution with parameters \({\alpha _0}\,\,{\rm{and}}\,\,{\beta _0}\).

Then we say that the joint distribution of\(\mu \,\,{\rm{and}}\,\,\tau \) is the normal-gamma distribution with hyperparameters \({\mu _0},{\lambda _0},{\alpha _0},{\beta _0}\).

03

Define a new variable

Let,

\(\begin{align}U &= {\left( {\frac{{{\lambda _0}{\alpha _0}}}{{{\beta _0}}}} \right)^{\frac{1}{2}}}\left( {\mu - {\mu _0}} \right)\\ &= 0.0657\left( {\mu - 183.95} \right)\end{align}\)

Here U follows t distribution with \(2{\alpha _0}\) degrees of freedom, that is 22.

04

(a) Calculating the posterior probability that \({\bf{\mu }}\)  lies in the interval.

\(\begin{align}P\left( {a < \mu < b} \right) &= 0.90\\ \Rightarrow P\left( {0.0657\left( {a - 183.95} \right) < 0.0657\left( {\mu - 183.95} \right) < 0.0657\left( {b - 183.95} \right)} \right) &= 0.90\\ \Rightarrow P\left( {0.0657\left( {a - 183.95} \right) < U < 0.0657\left( {b - 183.95} \right)} \right) &= 0.90\end{align}\)

The confidence intervals derived for U are -1.717 and +1.717

Therefore, the value of a and b is,

\(\begin{align}0.0657\left( {a - 183.95} \right) &= - 1.717\\ \Rightarrow a &= 157.83\end{align}\)

And,

\(\begin{align}0.0657\left( {b - 183.95} \right) &= 1.717\\ \Rightarrow b &= 210.07\end{align}\)

Therefore, the interval is (157.83, 210.07)

05

(b) Determine the confidence interval for \({\bf{\mu }}\)

To find this, we need to know the expectation and variance of \(\mu \) .

\(\begin{align}E\left( \mu \right) &= {\mu _0}\\Var\left( \mu \right) &= \frac{{{\beta _0}}}{{{\lambda _0}\left( {{\alpha _0} - 1} \right)}}\end{align}\)

Therefore,

\(\begin{align}E\left( \mu \right) &= 183.95\\Var\left( \mu \right) &= \frac{{50925.37}}{{20\left( {11 - 1} \right)}} &= 254.62\end{align}\)

Hence,

\(\begin{align}P\left( {a < \mu < b} \right) &= 0.90\\ \Rightarrow P\left( {\frac{{a - 183.95}}{{\sqrt {254.62} }} < Z < \frac{{b - 183.95}}{{\sqrt {254.62} }}} \right) &= 0.90\end{align}\)

The value for 0.90 confidence is \({Z_{\frac{\alpha }{2}}} = 1.645\)

Solving the inequality, we get a=152.55, b=211.79

Therefore, the interval is (152.55, 211.79)

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Suppose that\({X_1}...{X_n}\)form a random sample from the normal distribution with mean 0 and unknown standard deviation\(\sigma > 0\). Find the lower bound specified by the information inequality for the variance of any unbiased estimator of\(\log \sigma \).

In the situation of Exercise 9, suppose that a prior distribution is used forθwith p.d.f.ξ(θ)=0.1 exp(−0.1θ)forθ >0. (This is the exponential distribution with parameter 0.1.)

  1. Prove that the posterior p.d.f. ofθgiven the data observed in Exercise 9 is

\({\bf{\xi }}\left( {{\bf{\theta }}\left| {\bf{x}} \right.} \right){\bf{ = }}\left\{ \begin{align}{l}{\bf{4}}{\bf{.122exp}}\left( {{\bf{ - 0}}{\bf{.1\theta }}} \right)\;{\bf{if}}\;{\bf{4}}{\bf{.8 < \theta < 5}}{\bf{.2}}\\{\bf{0}}\;{\bf{otherwise}}\end{align} \right.\)

  1. Calculate the posterior probability \(\left| {{\bf{\theta - }}{{{\bf{\bar X}}}_{\bf{2}}}} \right|{\bf{ < 0}}{\bf{.1}}\), which \({{\bf{\bar X}}_{\bf{2}}}\)is the observed average of the datavalues.
  2. Calculate the posterior probability thatθis in the confidence interval found in part (a) of Exercise 9.
  3. Can you explain why the answer to part (b) is so close to the answer to part (e) of Exercise 9? Hint:Compare the posterior p.d.f. in part (a) to the function in Eq. (8.5.15).

Suppose that\({X_1},...,{X_n}\)form a random sample from the normal distribution with unknown mean μ and unknown variance\({\sigma ^2}\). Describe a method for constructing a confidence interval for\({\sigma ^2}\)with a specified confidence coefficient\(\gamma \left( {0 < \gamma < 1} \right)\) .

Question:Suppose that X has the geometric distribution with parameter p. (See Sec. 5.5.) Find the Fisher information I (p) in X.

Suppose that each of two statisticians, A and B, independently takes a random sample of 20 observations from the normal distribution with unknown mean μ and known variance 4. Suppose also that statistician A finds the sample variance in his random sample to be 3.8, and statistician B finds the sample variance in her random sample to be 9.4. For which random sample is the sample mean likely to be closer to the unknown value of μ?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.