/*! 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 10E Suppose that \({{\bf{X}}_{\bf{1}... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

Suppose that \({{\bf{X}}_{\bf{1}}}{\bf{, }}{\bf{. }}{\bf{. }}{\bf{. , }}{{\bf{X}}_{\bf{n}}}\) form a random sample from the normal distribution with unknown mean \({\bf{\mu }}\,\,{\bf{and}}\,\,{\bf{\tau }}\), and also that the joint prior distribution of \({\bf{\mu }}\,\,{\bf{and}}\,\,{\bf{\tau }}\) is the normal-gamma distribution satisfying the following conditions: \({\bf{E}}\left( {\bf{\mu }} \right){\bf{ = 0}}\,\,\,\,{\bf{,E}}\left( {\bf{\tau }} \right){\bf{ = 2,E}}\left( {{{\bf{\tau }}^{\bf{2}}}} \right){\bf{ = 5}}\,\,\,{\bf{and}}\,\,{\bf{Pr}}\left( {\left| {\bf{\mu }} \right|{\bf{ < 1}}{\bf{.412}}} \right){\bf{ = 0}}{\bf{.5}}\)Determine the prior hyperparameters \({{\bf{\mu }}_{\bf{0}}}{\bf{,}}{{\bf{\lambda }}_{\bf{0}}}{\bf{,}}{{\bf{\alpha }}_{\bf{0}}}{\bf{,}}{{\bf{\beta }}_{\bf{0}}}\)

Short Answer

Expert verified

\({\mu _0} = 0,{\lambda _0} = 0.51,{\alpha _0} = 4,{\beta _0} = 2\)

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) = 0\,\,\,\,,E\left( \tau \right) = 2,E\left( {{\tau ^2}} \right) = 5\,\,\,and\,\,\Pr \left( {\left| \mu \right| < 1.412} \right) = 0.5\)

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

Since 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 gamma distribution,

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

Also,

But it is given that,

\(\begin{align}E\left( \tau \right) &= 2\,\\\,\,Var\left( \tau \right) &= 5 - {2^2}\\ &= 5 - 4\\ &= 1\end{align}\)

So equating equations,

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

Solving (1) and (2)

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

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) = 0\,\, \ldots \left( 4 \right)\)

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

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

Therefore,\({\mu _0} = 0\).

Since the precision is inverse of variance, therefore,

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

To find variance,

We have to covert the probability\(\Pr \left( {\left| \mu \right| < 1.412} \right) = 0.5\)with Z transformation.

\(\Pr \left( {\left| Z \right| < \frac{{1.412}}{\sigma }} \right) = 0.5\)

The Z value is 1.96, which means,

\(\begin{align} \Rightarrow \frac{{1.412}}{\sigma } &= \pm 1.96\\ \Rightarrow \sigma &= 1.388\end{align}\)

Therefore, the inverse of variance is:

\(\begin{align}{\lambda _0} &= \frac{1}{{{{1.388}^2}}}\\ &= 0.51\end{align}\)

Hence,\({\mu _0} = 0,{\lambda _0} = 0.51,{\alpha _0} = 4,{\beta _0} = 2\)

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

Question:Suppose that a random variable X has a normal distribution for which the mean μ is unknown (−∞ <μ< ∞) and the variance σ2 is known. Let\({\bf{f}}\left( {{\bf{x}}\left| {\bf{\mu }} \right.} \right)\)denote the p.d.f. of X, and let\({\bf{f'}}\left( {{\bf{x}}\left| {\bf{\mu }} \right.} \right)\)and\({\bf{f''}}\left( {{\bf{x}}\left| {\bf{\mu }} \right.} \right)\)denote the first and second partial derivatives with respect to μ. Show that

\(\int_{{\bf{ - }}\infty }^\infty {{\bf{f'}}\left( {{\bf{x}}\left| {\bf{\mu }} \right.} \right)} {\bf{dx = 0}}\,\,{\bf{and}}\,\,\int_{{\bf{ - }}\infty }^\infty {{\bf{f''}}\left( {{\bf{x}}\left| {\bf{\mu }} \right.} \right)} {\bf{dx = 0}}{\bf{.}}\).

In Example 8.2.3, suppose that we will observe n = 20 cheese chunks with lactic acid concentrations \({X_1},...,{X_{20}}\) . Find a number c so that \(P\left( {{{\bar X}_{20}} \le \mu + c\sigma '} \right) = 0.95\)

Suppose that\({X_1},...,{X_n}\)form a random sample from the normal distribution with unknown mean μ and known variance\({\sigma ^2}\). How large a random sample must be taken in order that there will be a confidence interval for μ with confidence coefficient 0.95 and length less than 0.01σ?

Suppose that \({X_1},...,{X_n}\) are i.i.d. having the normal distribution with mean μ and precision \(\tau \) given (μ, \(\tau \) ). Let (μ, \(\tau \) ) have the usual improper prior. Let \({\sigma '^{2}} = \frac{{s_n^2}}{{n - 1}}\) . Prove that the posterior distribution of \(V = \left( {n - 1} \right){\sigma '^{2}}\tau \) is the χ2 distribution with n − 1 degrees of freedom.

Question: Suppose that a random variable X has the Poisson distribution with unknown mean \({\bf{\theta }}\) >0. Find the Fisher information \({\bf{I}}\left( {\bf{\theta }} \right)\) in X.

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.