Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

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 Vaia!

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 a random sampleX1, . . . , Xnis to be taken from the uniform distribution on the interval (0, ฮธ) and thatฮธis unknown. How large must a random sample be taken in order\({\bf{P}}\left( {{\bf{|max}}\left\{ {{{\bf{X}}_{\bf{1}}}{\bf{,}}...{\bf{,}}{{\bf{X}}_{\bf{n}}}} \right\}{\bf{ - \theta |}} \le {\bf{0}}{\bf{.10}}} \right) \ge {\bf{0}}{\bf{.95}}\) for all possibleฮธ?

Suppose that \({X_1},...,{X_n}\) form a random sample from the normal distribution with known mean ฮผ and unknown precision \(\tau \left( {\tau > 0} \right)\). Suppose also that the prior distribution of \(\tau \) is the gamma distribution with parameters\({\alpha _0}\,\,\,{\rm{and}}\,\,\,\,{\beta _0}\left( {{\alpha _0} > 0\,\,\,{\rm{and}}\,\,\,{\beta _0} > 0} \right)\) . Show that the posterior distribution of \(\tau \) given that \({X_i} = {x_i}\) (i = 1, . . . , n) is the gamma distribution with parameters \({\alpha _0} + \frac{n}{2}\,\,\,\,{\rm{and}}\,\,\,\,\,{\beta _0} + \frac{1}{2}\sum\limits_{i = 1}^N {{{\left( {{x_i} - \mu } \right)}^2}} \).

Consider the analysis performed in Example 8.6.2. This time, use the usual improper before computing the parameters' posterior distribution.

Show that two random variables \({\bf{\mu }}\,\,{\bf{and}}\,\,{\bf{\tau }}\)cannot have the joint normal-gamma distribution such that \({\bf{E}}\left( {\bf{\mu }} \right){\bf{ = 0}}\,\,{\bf{,E}}\left( {\bf{\tau }} \right){\bf{ = 1}}\,\,{\bf{and}}\,\,{\bf{Var}}\left( {\bf{\tau }} \right){\bf{ = 4}}\)

Suppose that the random variables \({X_1}\,\,\,{\rm{and}}\,\,\,{X_2}\) are independent and that each has the normal distribution with mean 0 and variance \({\sigma ^2}\) . Determine the value of

\(P\left( {\frac{{{{\left( {{X_1} + {X_2}} \right)}^2}}}{{{{\left( {{X_1} - {X_2}} \right)}^2}}} < 4} \right)\)

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.

Sign-up for free