/*! 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} Q7.2-6E Suppose that the proportion \(\t... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

Suppose that the proportion \(\theta \) of defective items in a large manufactured lot is unknown, and the prior distribution of \(\theta \) is the uniform distribution on the interval \(\left[ {0,1} \right]\). When eight items are selected at random from the lot, it is found that exactly three of them are defective. Determine the posterior distribution of \(\theta \).

Short Answer

Expert verified

The posterior pdf of\(\theta \) is given by \(\xi \left( {\theta |{X_1}...{X_n}} \right) = \frac{{\left| \!{\overline {\, {\left( {4 + 6} \right)} \,}} \right. }}{{\left| \!{\overline {\, 4 \,}} \right. \left| \!{\overline {\, 6 \,}} \right. }}{\theta ^{4 - 1}}{\left( {1 - \theta } \right)^{6 - 1}}\)

Step by step solution

01

Explaining posterior distribution.

An unknown parameter\(\theta \) needs to be estimated using a random sample \({X_1}...{X_n}\) of size n from the distribution for which \(\theta \) is the parameter.

Let \(\xi \left( \theta \right)\) be the prior distribution \(\theta \) and \(f\left( {x|\theta } \right)\) be the joint pdf of \({X_1}...{X_n}\).

The conditional pdf of \(\theta \) given \({X_1} = {x_1},...{X_n} = {x_n}\) is called the posterior distribution of \(\theta \) and is denoted by \(\xi \left( {\theta |{X_1}...{X_n}} \right)\). Then \(\xi \left( {\theta |{X_1}...{X_n}} \right) \propto {f_n}\left( {X|\theta } \right)\xi \left( \theta \right)\)

02

Computing the posterior distribution of \(\theta \)

Let\(\theta \) be the proportion of defective items in a large manufactured lot.

Let prior distribution of\(\theta \) being uniform on the interval\(\left( {0,1} \right)\). A random sample of n = 8

times yielded exactly 3 defectives.

Let \({X_i} = 0\) if the inspected item is defective and \({X_i} = 1\) is the item is not defective.

Comparing the situation with Bernoulli distribution with parameter\(\theta \). Further, as each of the inspected items is independent of the others.

Hence joint pdf of \({X_1}...{X_n}\) is given by:

\(\begin{aligned}{f_n}\left( {X|\theta } \right) = \prod\limits_{i = 1}^8 {{\theta ^{\left( {{x_i}} \right)}}{{\left( {1 - \theta } \right)}^{\left( {1 - {x_i}} \right)}}} \\ = {\theta ^3}{\left( {1 - \theta } \right)^5}\end{aligned}\)

The prior distribution of\(\theta \) is the uniform distribution on the interval \(\xi \left( \theta \right) = 1\) for \(0 < \theta < 1\)

We know that:

\(\begin{aligned}\xi \left( {\theta |{X_1}...{X_n}} \right) \propto {f_n}\left( {X|\theta } \right)\xi \left( \theta \right)\\ = {\theta ^3}{\left( {1 - \theta } \right)^5} \times 1\\ = {\theta ^{4 - 1}}{\left( {1 - \theta } \right)^{6 - 1}}\end{aligned}\)

Comparing the above expression with beta pdf with parameters \(\alpha = 4\) \(\beta = 6\), it s clear that the conditional distribution of\(\theta \) is proportional to the beta distribution. That is \(\frac{{\left| \!{\overline {\, {\left( {\alpha + \beta } \right)} \,}} \right. }}{{\left| \!{\overline {\, \alpha \,}} \right. \left| \!{\overline {\, \beta \,}} \right. }}\)

If multiplied with the constant term, the posterior pdf \(\theta \) will be beta with \(\alpha = 4\) and\(\beta = 6\). Thus, the posterior pdf of\(\theta \) is given by

\(\xi \left( {\theta |{X_1}...{X_n}} \right) = \frac{{\left| \!{\overline {\, {\left( {4 + 6} \right)} \,}} \right. }}{{\left| \!{\overline {\, 4 \,}} \right. \left| \!{\overline {\, 6 \,}} \right. }}{\theta ^{4 - 1}}{\left( {1 - \theta } \right)^{6 - 1}}\)

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

The Pareto distribution with parameters\({{\bf{x}}_{\bf{0}}}\)andα\(\left( {{{\bf{x}}_{\bf{0}}}{\bf{ > 0}}\;{\bf{and}}\;{\bf{\alpha > 0}}} \right)\)is defined in Exercise 16 of Sec. 5.7.Show that the family of Pareto distributions is a conjugate family of prior distributions for samples from a uniformdistribution on the interval (0, θ), where the value of the endpointθis unknown.

Suppose that the proportion θ of defective items in a large manufactured lot is known to be either 0.1 or 0.2, and the prior p.f. of \(\theta \) is as follows:

\(\xi \left( {0.1} \right) = 0.7\)and\(\xi \left( {0.2} \right) = 0.3\).

Suppose also that when eight items are selected at random from the lot, it is found that exactly two of them are defective. Determine the posterior p.f. of \(\theta \)

Question: Suppose that a scientist desires to estimate the proportionp of monarch butterflies that have a special typeof marking on their wings.

a. Suppose that he captures monarch butterflies one ata time until he has found five that have this specialmarking. If he must capture a total of 43 butterflies,what is the M.L.E. of p?

b. Suppose that at the end of a day the scientist hadcaptured 58 monarch butterflies and had found onlythree with the special marking. What is the M.L.E.of p?

Suppose that the proportion θ of defective items in a large shipment is unknown and that the prior distribution of θ is the beta distribution with parameters 2 and 200. If 100 items are selected at random from the shipment and if three of these items are found to be defective, what is the posterior distribution of θ?

Suppose that a random sample of size n is taken from the Bernoulli distribution with parameter θ, which is unknown, and that the prior distribution of θ is a beta distribution for which the mean is\({\mu _0}\). Show that the mean of the posterior distribution of θ will be a weighted average having the form \({\gamma _n}{\overline X _n} + \left( {1 - {\gamma _n}} \right){\mu _0}\)and show that \({\gamma _n} \to 1\)as\(n \to \infty \).

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.