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

Suppose that two random variables\({\bf{\mu }}\,\,{\bf{and}}\,\,{\bf{\tau }}\)have the joint normal-gamma distribution such that\({\bf{E}}\left( {\bf{\mu }} \right){\bf{ = - 5}}\,\,{\bf{,Var}}\left( {\bf{\mu }} \right){\bf{ = 1}}\,\,\,{\bf{,E}}\left( {\bf{\tau }} \right){\bf{ = }}\frac{{\bf{1}}}{{\bf{2}}}\,\,{\bf{and}}\,\,{\bf{Var}}\left( {\bf{\tau }} \right){\bf{ = }}\frac{{\bf{1}}}{{\bf{8}}}\)Find the prior hyperparameters\({{\bf{\mu }}_{\bf{0}}}{\bf{,}}{{\bf{\lambda }}_{\bf{0}}}{\bf{,}}{{\bf{\alpha }}_{\bf{0}}}{\bf{,}}{{\bf{\beta }}_{\bf{0}}}\)that specify the normal-gamma distribution.

Short Answer

Expert verified

\({\mu _0} = - 5,{\lambda _0} = 4,{\alpha _0} = 2,{\beta _0} = 4\)

Step by step solution

01

Given information

It is given that two variables \(\mu \,\,and\,\,\tau \)have the joint normal-gamma distribution such that \(E\left( \mu \right) = - 5\,\,,Var\left( \mu \right) = 1\,\,\,,E\left( \tau \right) = \frac{1}{2}\,\,and\,\,Var\left( \tau \right) = \frac{1}{8}\).

02

Define Normal-Gamma distribution

Let \(\mu \,\,and\,\,\tau \) be random variables. Suppose that the conditional distribution of \(\mu \,\,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}\,\,and\,\,{\beta _0}\). Then we say that the joint distribution of\(\mu \,\,and\,\,\tau \) is the normal-gamma distribution with hyperparameters \({\mu _0},{\lambda _0},{\alpha _0},{\beta _0}\).

03

Solve for \({{\bf{\alpha }}_{\bf{0}}}{\bf{,}}{{\bf{\beta }}_{\bf{0}}}\) 

In the definition, it is given that the marginal distribution of \(\,\tau \) is the gamma distribution with parameters \({\alpha _0}\,\,and\,\,{\beta _0}\).

Therefore, by properties of the gamma distribution,

\(E\left( {\,\tau } \right) = \frac{{{\alpha _0}\,}}{{{\beta _0}}},Var\left( {\,\tau } \right) = \frac{{{\alpha _0}\,}}{{{\beta _0}^2}}\)

But it is given that,

\(E\left( \tau \right) = \frac{1}{2}\,\,and\,\,Var\left( \tau \right) = \frac{1}{8}\)

So equating equations,

\(\begin{align}\frac{{{\alpha _0}\,}}{{{\beta _0}}} &= \frac{1}{2} \ldots \left( 1 \right)\\\frac{{{\alpha _0}\,}}{{{\beta _0}^2}} &= \frac{1}{8} \ldots \left( 2 \right)\end{align}\)

Solving (1) and (2)

\({\alpha _0} = 2,{\beta _0} = 4\)

04

Solve for \({{\bf{\mu }}_{\bf{0}}}{\bf{,}}{{\bf{\lambda }}_{\bf{0}}}\) 

Since in the definition, it is given that the conditional distribution of \(\mu \,\,given\,\,\tau \) is the normal distribution with mean \({\mu _0}\) and precision \({\lambda _0}\tau \)

Which means,

\(E\left( {\mu \,\,|\,\,\tau } \right) = {\mu _0} \ldots \left( 3 \right)\)

It is also given,

\(E\left( \mu \right) = - 5\,\, \ldots \left( 4 \right)\)

Therefore, by taking the expectation of (3) and equating it with (4)

\(\begin{align}E\left( {E\left( {\mu \,\,|\,\,\tau } \right)} \right) &= E\left( \mu \right)\\ &= - 5\end{align}\)

Therefore, \({\mu _0} = - 5\) .

Since the precision is the inverse of variance, therefore,

\(Var\left( {\mu \,\,|\,\,\tau } \right) = \frac{1}{{{\lambda _0}\tau }}\),

Now

\(\begin{align}Var\left( \mu \right) &= E\left( {Var\left( {\mu \,\,|\,\,\tau } \right)} \right) + Var\left( {E\left( {\mu \,\,|\,\,\tau } \right)} \right)\\1 &= E\left( {\frac{1}{{{\lambda _0}\tau }}} \right) + Var\left( { - 5} \right)\\{\lambda _0} &= E\left( {\frac{1}{\tau }} \right) + 0\\{\lambda _0} &= 4\end{align}\)

Note that since \(\,\tau \) is the gamma distribution with parameters \({\alpha _0} = 2,{\beta _0} = 4\)

By its properties, \(E\left( {\frac{1}{\tau }} \right) = \frac{2}{{E\left( \tau \right)}}\) .

Hence, \({\mu _0} = - 5,{\lambda _0} = 4,{\alpha _0} = 2,{\beta _0} = 4\)

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 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 μ?

For the conditions of Exercise 5, use the central limit theorem in Sec. 6.3 to find approximately the size of a random sample that must be taken so that \(P\left( {{\bf{|}}{{{\bf{\bar X}}}_{\bf{n}}} - {\bf{p|}}} \right) \ge 0.95\) whenp=0.2.

Question: Consider the situation described in Exercise 7 of Sec. 8.5. Use a prior distribution from the normal-gamma family with values \({{\bf{\mu }}_{\bf{0}}}{\bf{ = 150,}}{{\bf{\lambda }}_{\bf{0}}}{\bf{ = 0}}{\bf{.5,}}{{\bf{\alpha }}_{\bf{0}}}{\bf{ = 1,}}{{\bf{\beta }}_{\bf{0}}}{\bf{ = 4}}\)

a. Find the posterior distribution of \({\bf{\mu }}\,\,{\bf{and}}\,\,{\bf{\tau = }}\frac{{\bf{1}}}{{{{\bf{\sigma }}^{\bf{2}}}}}\)

b. Find an interval (a, b) such that the posterior probability is 0.90 that a <\({\bf{\mu }}\)<b.

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 \).

Suppose thatX1, . . . , Xnform a random sample from the normal distribution with meanμand variance \({\sigma ^2}\). Find the distribution of

\(\frac{{n{{\left( {{{\bar X}_n} - \mu } \right)}^2}}}{{{\sigma ^2}}}\).

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