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

Consider again the conditions of Exercise 12. Suppose also that in a random sample of size n = 8, it is found that \(\sum\limits_{{\bf{i = 1}}}^{\bf{n}} {{{\bf{x}}_{\bf{i}}}{\bf{ = 16}}} \,\,{\bf{and}}\,\,\sum\limits_{{\bf{i = 1}}}^{\bf{n}} {{{\bf{x}}_{\bf{i}}}^{\bf{2}}{\bf{ = 48}}} \) . Find the shortest possible interval such that the posterior probability that \({\bf{\mu }}\) lies inthe interval is 0.99.

Short Answer

Expert verified

(0.724,3.336)

Step by step solution

01

Given information

The conditions in exercise 12 state that \(E(\tau ) = 1,\,\,Var(\tau ) = \frac{1}{3},\,\Pr \left( {\mu > 3} \right) = 0.5\,\,and\,\,\Pr \left( {\mu > 0.12} \right) = 0.9\,\) .

It is also given that \(\sum\limits_{i = 1}^n {{x_i} = 16} \,\,and\,\,\sum\limits_{i = 1}^n {{x_i}^2 = 48} \).

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

Find sample mean and variance and define a new variable

Sample mean is,

\(\begin{align}\overline {{x_n}} &= \frac{{\sum\limits_{i = 1}^n {{x_i}} }}{n}\\ &= \frac{{16}}{8}\\ &= 2\end{align}\)

Sample variance is,

\(\begin{align}{s_n}^2 &= \frac{{\sum\limits_{i = 1}^n {{x_i}^2 - \left( {\frac{{{{\left( {\sum\limits_{i = 1}^n {{x_i}} } \right)}^2}}}{n}} \right)} }}{{n - 1}}\\ &= \frac{{48}}{7} - \frac{{{{16}^2}}}{{7 \times 8}}\\ &= 2.2857\end{align}\)

Let,

\(\begin{align}U &= {\left( {\frac{{n\left( {n - 1} \right)}}{{{s_n}^2}}} \right)^{\frac{1}{2}}}\left( {\mu - \overline {{x_n}} } \right)\\ &= {\left( {\frac{{8\left( {8 - 1} \right)}}{{2.2857}}} \right)^{\frac{1}{2}}}\left( {\mu - 2} \right)\\ &= \left( {4.9497} \right)\left( {\mu - 2} \right)\end{align}\)

Here U follows t distribution with \(n - 1\) degrees of freedom, that is 7.

04

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

Let the confidence interval be of the form \(P\left( {a < \mu < b} \right) = 0.99\).

To find a and b, convert the parameter \(\mu \) to U by using the above-mentioned transformation.

\(\begin{align} \Rightarrow P\left( {\left( {4.9497} \right)\left( {a - 2} \right) < \left( {4.9497} \right)\left( {\mu - 2} \right) < \left( {4.9497} \right)\left( {b - 2} \right)} \right) &= 0.99\\ \Rightarrow P\left( {\left( {4.9497} \right)\left( {a - 2} \right) < U < \left( {4.9497} \right)\left( {b - 2} \right)} \right) &= 0.99\end{align}\)

Now U follows t distribution with 7 degrees of freedom. For 99% confidence interval the lower and upper limit of distribution is -6.3158and 6.6127

Substituting this, we get,

\(\begin{align}\left( {4.9497} \right)\left( {a - 2} \right) &= - 6.3158\\ \Rightarrow a &= 0.724\end{align}\)

And

\(\begin{align}\left( {4.9497} \right)\left( {b - 2} \right) &= 6.6127\\ \Rightarrow b &= 3.336\end{align}\)

Therefore, the interval is (0.724,3.336)

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 \({{\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{\tau }} \right){\bf{ = 1,Var}}\left( {\bf{\tau }} \right){\bf{ = }}\frac{{\bf{1}}}{{\bf{3}}}\,\,\,{\bf{and}}\,\,{\bf{Pr}}\left( {{\bf{\mu > 3}}} \right){\bf{ = 0}}{\bf{.5}}\,\,{\bf{and}}\,\,{\bf{Pr}}\left( {{\bf{\mu > 0}}{\bf{.12}}} \right){\bf{ = 0}}{\bf{.9}}\,\)

Determine the prior hyper parameters \({{\bf{\mu }}_{\bf{0}}}{\bf{,}}{{\bf{\lambda }}_{\bf{0}}}{\bf{,}}{{\bf{\alpha }}_{\bf{0}}}{\bf{,}}{{\bf{\beta }}_{\bf{0}}}\)

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?

Question:Suppose that a random variable X can take only the five values\({\bf{x = 1,2,3,4,5}}\) with the following probabilities:

\(\begin{aligned}{}{\bf{f}}\left( {{\bf{1}}\left| {\bf{\theta }} \right.} \right){\bf{ = }}{{\bf{\theta }}^{\bf{3}}}{\bf{,}}\,\,\,\,{\bf{f}}\left( {{\bf{2}}\left| {\bf{\theta }} \right.} \right){\bf{ = }}{{\bf{\theta }}^{\bf{2}}}\left( {{\bf{1}} - {\bf{\theta }}} \right){\bf{,}}\\{\bf{f}}\left( {{\bf{3}}\left| {\bf{\theta }} \right.} \right){\bf{ = 2\theta }}\left( {{\bf{1}} - {\bf{\theta }}} \right){\bf{,}}\,\,\,{\bf{f}}\left( {{\bf{4}}\left| {\bf{\theta }} \right.} \right){\bf{ = \theta }}{\left( {{\bf{1}} - {\bf{\theta }}} \right)^{\bf{2}}}{\bf{,}}\\{\bf{f}}\left( {{\bf{5}}\left| {\bf{\theta }} \right.} \right){\bf{ = }}{\left( {{\bf{1}} - {\bf{\theta }}} \right)^{\bf{3}}}{\bf{.}}\end{aligned}\)

Here, the value of the parameter ฮธ is unknown (0 โ‰ค ฮธ โ‰ค 1).

a. Verify that the sum of the five given probabilities is 1 for every value of ฮธ.

b. Consider an estimator ฮดc(X) that has the following form:

\(\begin{aligned}{}{{\bf{\delta }}_{\bf{c}}}\left( {\bf{1}} \right){\bf{ = 1,}}\,\,{{\bf{\delta }}_{\bf{c}}}\left( {\bf{2}} \right){\bf{ = 2}} - {\bf{2c,}}\,\,{{\bf{\delta }}_{\bf{c}}}\left( {\bf{3}} \right){\bf{ = c,}}\\{{\bf{\delta }}_{\bf{c}}}\left( {\bf{4}} \right){\bf{ = 1}} - {\bf{2c,}}\,\,{{\bf{\delta }}_{\bf{c}}}\left( {\bf{5}} \right){\bf{ = 0}}{\bf{.}}\end{aligned}\)

Show that for each constant, c\({{\bf{\delta }}_{\bf{c}}}\left( {\bf{X}} \right)\)is an unbiased estimator of ฮธ.

c. Let\({{\bf{\theta }}_{\bf{0}}}\)be a number such that\({\bf{0 < }}{{\bf{\theta }}_{\bf{0}}}{\bf{ < 1}}\). Determine a constant\({{\bf{c}}_{\bf{0}}}\)such that when\({\bf{\theta = }}{{\bf{\theta }}_{\bf{0}}}\)the variance is smaller than the variance \({{\bf{\delta }}_{\bf{c}}}\left( {\bf{X}} \right)\)for every other value of c.

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

Suppose that a random variable X has the normal distribution with mean 0 and unknown variance ฯƒ2> 0. Find the Fisher information I(ฯƒ2) in X. Note that in this exercise, the variance ฯƒ2 is regarded as the parameter, whereas in Exercise 4, the standard deviation ฯƒ is regarded as the parameter.

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