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 a shipment of 1000 items into a factory. Suppose the factory can tolerate about \(5 \%\) defective items. Let \(X\) be the number of defective items in a sample without replacement of size \(n=10 .\) Suppose the factory returns the shipment if \(X \geq 2\). (a) Obtain the probability that the factory returns a shipment of items that has \(5 \%\) defective items. (b) Suppose the shipment has \(10 \%\) defective items. Obtain the probability that the factory returns such a shipment. (c) Obtain approximations to the probabilities in parts (a) and (b) using appropriate binomial distributions. Note: If you do not have access to a computer package with a hypergeometric command, obtain the answer to (c) only. This is what would have been done in practice 20 years ago. If you have access to \(\mathrm{R}\), then the command dhyper \((\mathrm{x}, \mathrm{D}, \mathrm{N}-\mathrm{D}, \mathrm{n})\) returns the probability in expression (3.1.7).

Short Answer

Expert verified
The solutions can be found by computing the above-provided formulas. For exact values, it is recommended to use a programmable software or calculator to perform the necessary numerical computations.

Step by step solution

01

Calculate Probability for Part (a)

The fraction of shipment that is defective is \(5\%\) i.e., \(D = 0.05 * 1000 = 50\). Hence, we can write the probability that defective items in the sample are greater or equal to 2 as: \[P(X \geq 2) = 1 - P(X=0) - P(X=1)\]\[P(X \geq 2) = 1 - \frac{\binom{50}{0}*\binom{950}{10}}{\binom{1000}{10}} - \frac{\binom{50}{1}*\binom{950}{9}}{\binom{1000}{10}}\]
02

Calculate Probability for Part (b)

With \(10\%\) defective items in the shipment, \(D = 0.1 * 1000 = 100\). Thus, we can state the probability that defective items in the sample are greater or equal to 2 as: \[P(X \geq 2) = 1 - P(X=0) - P(X=1)\]\[P(X \geq 2) = 1 - \frac{\binom{100}{0}*\binom{900}{10}}{\binom{1000}{10}} - \frac{\binom{100}{1}*\binom{900}{9}}{\binom{1000}{10}}\]
03

Approximate Probabilities using Binomial Distribution for Part (c)

The binomial approximation of the hypergeometric distribution can be applied when \(N\) is large and \(D\) is small compared to \(N\). Approximate the probability of returning a shipment with \(5\%\) and \(10\%\) defective items by substituting the binomial probabilities in the hypergeometric probability function: For Part (a): \[P(X \geq 2) = 1 - P(X=0) - P(X=1)\]\[P(X \geq 2) = 1 - \binom{10}{0}*(0.05)^{0}*(0.95)^{10} - \binom{10}{1}*(0.05)^{1}*(0.95)^{9}\]For Part (b): \[P(X \geq 2) = 1 - P(X=0) - P(X=1)\]\[P(X \geq 2) = 1 - \binom{10}{0}*(0.1)^{0}*(0.9)^{10} - \binom{10}{1}*(0.1)^{1}*(0.9)^{9}\]

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

Consider a multinomial trial with outcomes \(1,2, \ldots, k\) and respective probabilities \(p_{1}, p_{2}, \ldots, p_{k} .\) Let ps denote the \(\mathrm{R}\) vector for \(\left(p_{1}, p_{2}, \ldots, p_{k}\right) .\) Then a single random trial of this multinomial is computed with the command multitrial (ps), where the required \(\mathrm{R}\) functions are: \({ }^{2}\) (a) Compute 10 random trials if \(\mathrm{ps}=\mathrm{c}(.3, .2, .2, .2, .1)\). (b) Compute 10,000 random trials for ps as in (a). Check to see how close the estimates of \(p_{i}\) are with \(p_{i}\).

Let the pmf \(p(x)\) be positive on and only on the nonnegative integers. Given that \(p(x)=(4 / x) p(x-1), x=1,2,3, \ldots\), find the formula for \(p(x)\). Hint: Note that \(p(1)=4 p(0), p(2)=\left(4^{2} / 2 !\right) p(0)\), and so on. That is, find each \(p(x)\) in terms of \(p(0)\) and then determine \(p(0)\) from $$ 1=p(0)+p(1)+p(2)+\cdots $$

Let \(X\) be \(N(0,1)\). Use the moment generating function technique to show that \(Y=X^{2}\) is \(\chi^{2}(1)\). Hint: Evaluate the integral that represents \(E\left(e^{t X^{2}}\right)\) by writing \(w=x \sqrt{1-2 t}\), \(t<\frac{1}{2}\)

For this exercise, the reader must have access to a statistical package that obtains the binomial distribution. Hints are given for \(\mathrm{R}\) code, but other packages can be used too. (a) Obtain the plot of the pmf for the \(b(15,0.2)\) distribution. Using \(\mathrm{R}\), the following commands return the plot: \(x<-0: 15 ;\) plot \(\left(\operatorname{dbinom}(x, 15, .2)^{-} x\right)\) (b) Repeat part (a) for the binomial distributions with \(n=15\) and with \(p=\) \(0.10,0.20, \ldots, 0.90 .\) Comment on the shapes of the pmf's as \(p\) increases. Use the following \(\mathrm{R}\) segment: \(\mathrm{x}<-0: 15 ; \quad\) par \((\mathrm{mfrow}=\mathrm{c}(3,3)) ; \mathrm{p}<-1: 9 / 10\) for \((j\) in \(p)\left\\{\right.\) plot \(\left(\right.\) dbinom \(\left.(x, 15, j)^{\sim} x\right) ;\) title(paste \(\left.\left.(" p=", j)\right)\right\\}\) (c) Let \(Y=\frac{X}{n}\), where \(X\) has a \(b(n, 0.05)\) distribution. Obtain the plots of the pmfs of \(Y\) for \(n=10,20,50,200 .\) Comment on the plots (what do the plots seem to be converging to as \(n\) gets large? ).

Let \(X_{1}\) and \(X_{2}\) be independent with normal distributions \(N(6,1)\) and \(N(7,1)\), respectively. Find \(P\left(X_{1}>X_{2}\right)\). Hint: \(\quad\) Write \(P\left(X_{1}>X_{2}\right)=P\left(X_{1}-X_{2}>0\right)\) and determine the distribution of \(X_{1}-X_{2}\)

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