Question

6. Suppose that the proportion 0 of defective items in large shipment is unknown and that the prior distribution of 0 is the

1 0
Add a comment Improve this question Transcribed image text
Answer #1

Let X denote the random variable representing the number of defective items in the random sample of 20 items.

Now, we are given that the prior distribution of \theta is the beta distribution with parameters 1 and 10

=> \theta ~ Beta(α=1, β=10)

Moreover, since \theta is the proportion of defective items in the random sample of 20 items, we can conclude that:

X|\theta ~ Binomial(n=20, \theta )

(a)

Now, the expected value and variance of prior distribution is given by:

E(0) = +8 Var(@) = 1 + 10 [ANSWER] a 8 (a + b)2(a + 8 + 1) 1 * 10 (1 + 10)2 *(1 + 10 + 1) 10 112 * 12 5 726 ANSWER

(b)

To find the posterior distribution, we use the following relation:

Posterior \propto Prior*Likelihood ................(1)

Now, we are given the following details about the prior:

\theta ~ Beta(α=1, β=10)

Prior = fe(0) * 99-1(1-0)8-1 Bla,B)* B(1.10) * 10) *01-(1 - 0) 10-1 B(1.10) *(1-0)9

Also, we are given that X|\theta ~ Binomial(n=20, \theta ) and that we observed X = 1 (since in a random sample of 20 items we found 1 defective item). Thus:
Likelihood = Pxle(X = 1) = (1°)041 – 0320-1 [Using the formula for PMF of a Binomial Distribution = 20*4* (1 - 0) 19

Now, substituting the value of Prior and Likelihood in equation (1), we get:

Posterior, fox(@) & ( 20 10 *(1 – 0)*) * (20 * 8 * (1 – 0)19) 20 B(1,10) * *** (1 - 0)28 *(1 - 0)28 [Ignoring the constant te

0X Beta(a=2,3 = 29) ANSWER

(c)

The Bayes estimator for \theta under the quadratic loss function is just the mean of the Posterior disribution, thus we get:

Bayes estimator for under quadratic loss = E[0|X] = E[Betala = 2,8 = 29)] at B 2+29 = 31 ANSWER = 0.064516 ANSWER

(d)

The likelihood function is given by:

Likelihood, L = Pxel X = 1) = (20)*(1 – 6)20-1 [Using the formula for PMF of a Binomial Distribution] = 20**(1 - 0) 19 Taking

一日 | 19 1 -8 -1-8 199 200

To check that the last expression for \theta is indeed a point of maxima for the likelihood, we again differentiate expression (2) w.r.t. \theta :

of age) – $ 65 - .) 1 19 = 82 (1 - 0)2 < 0 Maxima

Thus, the MLE of \theta is: Ô= = 0.05 [ANSWER]

From part (c) and the last expression we see that the Bayes estimator under quadratic loss and the M.L.E. for \theta are not the same. [ANSWER]

Add a comment
Know the answer?
Add Answer to:
6. Suppose that the proportion 0 of defective items in large shipment is unknown and that...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • M 1: Suppose that.X, form a random sample from a Bernoulli distribution for s unknown (0 θ < 1). ...

    m 1: Suppose that.X, form a random sample from a Bernoulli distribution for s unknown (0 θ < 1). Suppose also that the prior distribu- the beta distribution with parameters a >0 and 8> 0. Then the posterior distribution which the value of the parameter i of θ given that Xi z, (i l, where -n isthe beta distribution with parameters (0.3.), -: Proof: m 1: Suppose that.X, form a random sample from a Bernoulli distribution for s unknown (0...

  • The proportion of defective items in a large lot is p. Suppose a random sample of...

    The proportion of defective items in a large lot is p. Suppose a random sample of n items is selected from the lot. Let X denote the number of defective items in the sample and let Ydenote the number of non-defective items (a) Specify the distributions of X and Y , respectively. Are they independent? (b) Find E(X −Y) and var(X −Y).

  • 1. The proportion of defective items in a large lot is p. Suppose a random sample of n items is s...

    1. The proportion of defective items in a large lot is p. Suppose a random sample of n items is selected from the lot. Let X denote the mumber of defective itens in the sample and let denote the number of non-defective items. (a) Specify the distributions of X and Y, respectively. Are they independent? (b) Find E(X-Y) and var(X Y). 1. The proportion of defective items in a large lot is p. Suppose a random sample of n items...

  • 4. Suppose your prior distribution for θ the proportion of Iowans who support the death penalty, ...

    4. Suppose your prior distribution for θ the proportion of Iowans who support the death penalty, is beta with mean 0.60 and standard deviation 0.30. (a) Determine the parameters a and B of your prior distribution. Sketch the prior density function Feel free to use the following R code theta seqC0,1,.001) dens <- dbeta(theta,1,.67) plot (theta, dens, xlim-co,1), ylim-c(0,3), type-"1", xlab-"theta") (b) A random sarnple of 1,000 Iowans is taken, and 65% support the death penalty. What are your posterior...

  • Recall that the exponential distribution with parameter A > 0 has density g (x) Ae, (x > 0). We write X Exp (A)...

    Recall that the exponential distribution with parameter A > 0 has density g (x) Ae, (x > 0). We write X Exp (A) when a random variable X has this distribution. The Gamma distribution with positive parameters a (shape), B (rate) has density h (x) ox r e , (r > 0). and has expectation.We write X~ Gamma (a, B) when a random variable X has this distribution Suppose we have independent and identically distributed random variables X1,..., Xn, that...

  • * The joint pdf of x and Y is Fxy (x,y) = cx^3 y , 0...

    * The joint pdf of x and Y is Fxy (x,y) = cx^3 y , 0 <x<y<1 . A) find the value of C to make this a valid pdf? * The proportion of defective parts shipped by a wholesaler varies from shipment to shipment. Suppose that the proportion of defective in shipment follow a beta distribution with a=4 and B = 2 . A) what is the probability that a shipment will have fewer than 20% defective parts ?

  • Number 4 turns out to be an inverse gamma function with parameters alpha= n and beta=...

    Number 4 turns out to be an inverse gamma function with parameters alpha= n and beta= the sum of x sub i PLEASE ANSWER #5 NOT #4 4. Suppose that X1,X2, 10 pts. the p.d.f. is given by form a random sample from a distribution for which where the unknown parameter θ > 0. Suppose also that the improper prior of θ is m(0) Find the posterior distribution π(θ x). Hint: The inverse gamina distribution from question 6 in Homework...

  • Question 3 [25] , Yn denote a random sample of size n from a Let Y,...

    Question 3 [25] , Yn denote a random sample of size n from a Let Y, Y2, population with an exponential distribution whose density is given by y > 0 if o, otherwise -E70 cumulative distribution function f(y) L ..,Y} denotes the smallest order statistics, show that Y1) = min{Y1, =nYa) 3.1 show that = nY1) is an unbiased estimator for 0. /12/ /13/ 3.2 find the mean square error for MSE(e). 2 f-llays Iat-k)-at 1-P Question 4[25] 4.1 Distinguish...

  • A random varible X taking values from [0,1] has Beta distribution of parameters a and B,...

    A random varible X taking values from [0,1] has Beta distribution of parameters a and B, which we denote by Beta(a,b), if it has PDF _f(a+B) fa-1(1 – X)B-1, fx(x) = T(a)l(B) where I(z) is the Euler Gamma function defined by I(z) = Sx2-1e-*dx. Bob has a coin with unknown probability of heads. Alice has the following Beta prior: A = Beta(2,3). Suppose that Bob gives Alice the data on = {x1,...,xn), which is the outcome of n indepen- dent...

  • Suppose that Xi,X2, , Х,, is an iid exponential (0) sample, where E(X) is unknown, and...

    Suppose that Xi,X2, , Х,, is an iid exponential (0) sample, where E(X) is unknown, and define Y, -X?, for i 1,2,.., n (a) Use the CLT to derive large-sample distribution of a properly centered and scaled version of (X, Y). (b) Find a consistent estimator of the covariance matrix in part (a). For the most part, "con sistency" means "convergence in probability."

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT