/*! 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 5E Suppose that two random variable... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

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

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{,Var}}\left( {\bf{\mu }} \right){\bf{ = 1,E}}\left( {\bf{\tau }} \right){\bf{ = }}\frac{{\bf{1}}}{{\bf{2}}}\,\,{\bf{and}}\,\,{\bf{Var}}\left( {\bf{\tau }} \right){\bf{ = }}\frac{{\bf{1}}}{{\bf{4}}}\)

At the end of Example 8.5.11, compute the probability that \(\left| {{{\bar X}_2} - \theta } \right| < 0.3\) given Z = 0.9. Why is it so large?

Suppose that \({X_1},...,{X_n}\) form a random sample from the normal distribution with unknown mean μ (−∞ < μ < ∞) and known precision \(\tau \) . Suppose also that the prior distribution of μ is the normal distribution with mean \({\mu _0}\) and precision \({\lambda _0}\) . Show that the posterior distribution of μ, given that \({X_i} = {x_i}\) (i = 1, . . . , n) is the normal distribution with mean

\(\frac{{{\lambda _0}{\mu _0} + n\tau {{\bar x}_n}}}{{{\lambda _0} + n\tau }}\)with precision \({\lambda _0} + n\tau \)

Suppose that \({X_1},...,{X_n}\) form a random sample from the normal distribution with mean μ and variance \({\sigma ^2}\) . Assuming that the sample size n is 16, determine the values of the following probabilities:

\(\begin{align}a.\,\,\,\,P\left( {\frac{1}{2}{\sigma ^2} \le \frac{1}{n}\sum\limits_{i = 1}^n {{{\left( {{X_i} - \mu } \right)}^2} \le 2{\sigma ^2}} } \right)\\b.\,\,\,\,P\left( {\frac{1}{2}{\sigma ^2} \le \frac{1}{n}\sum\limits_{i = 1}^n {{{\left( {{X_i} - {{\bar X}_n}} \right)}^2} \le 2{\sigma ^2}} } \right)\end{align}\)

Let X have the standard normal distribution, and let Y have the t distribution with five degrees of freedom. Explain why c = 1.63 provides the largest value of the difference\(P\left( { - c < X < c} \right) - P\left( { - c < Y < c} \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.