A basic problem of the theory of sampling is the following. An urn contains
This problem is a prototype of many problems, which, as stated, do not involve the drawing of balls from an urn.
Example 3A . Acceptance sampling of a manufactured product . Consider the problem of acceptance sampling of a manufactured product . Suppose we are to inspect a lot of size
Example 3B . A sample-minded game warden. Consider a fisherman who has caught 10 fish, 2 of which were smaller than the law permits to be caught. A game warden inspects the catch by examining two that he selects randomly from among the fish. What is the probability that he will not select either of the undersized fish? This problem is an example of those previously stated, involving sampling without replacement, with undersized fish playing the role of white balls, and
Example 3C . A sample-minded die . Another problem, which may be viewed in the same context but which involves sampling with replacement, is the following. Let a fair die be tossed four times. What is the probability that one will obtain the number 3 exactly twice in the four tosses? This problem can be stated as one involving the drawing (with replacement) of balls from an urn containing balls numbered 1 to 6, among which ball number 3 is white and the other balls, red (or, more strictly, nonwhite). In the notation of the problem introduced at the beginning of the section this problem corresponds to the case
To emphasize the wide variety of problems, of which that stated at the beginning of the section is a prototype, it may be desirable to avoid references to white balls in the statement of the solution of the problem (although not in the statement of the problem itself) and to speak instead of scoring “successes”. Let us say that we score a success whenever we draw a white ball. Then the problem can be stated as that of finding, for
It should be noted that in sampling without replacement if the number
Before indicating the proofs of (3.1) and (3.2) , let us state some useful alternative ways of writing these formulas. For many purposes it is useful to express (3.1) and (3.2) in terms of
Equation (3.4) is a special case of a very general result, called the binomial law, which is discussed in detail in section 3 of Chapter 3. The expression given by (3.1) for the probability of
Another way of writing (3.1) is in the computationally simpler form
It may be verified algebraically that (3.1) and (3.6) agree. In section 5 we discuss the intuitive meaning of (3.6) .
We turn now to the proof of (3.1) . Let the balls in the urn be numbered 1 to
Example 3D . The difference between
Example 3E . Acceptance sampling. Suppose that we wish to inspect a certain product by means of a sample drawn from a lot. Probability theory cannot tell us how to constitute a lot or how to inspect the sample or even how large a sample to draw. Rather, probability theory can tell us the consequences of certain actions, given that certain assumptions are true. Suppose we decide to inspect the product by forming lots of size 1000, from which we will draw a sample of size 100. Each of the items in the sample is classified as defective or non-defective. It is unreasonable to demand that the lot be perfect. Consequently, we may decide to accept the lot if the sample contains one or fewer defectives and to reject the lot if two or more of the items inspected are defective. The question naturally arises as to whether this acceptance scheme is too lax or too stringent; perhaps we ought to demand that the sample contain no defectives, or perhaps we ought to permit the sample to contain two or fewer defectives. In order to decide whether or not a given acceptance scheme is suitable, we must determine the probability

Example 3F . Winning a prize in a Lottery . Consider a lottery that sells
Solution
The probability
In the case that
In the foregoing we have considered the problem of drawing a sample from an urn containing balls of only two colors. However, one may desire to consider urns containing balls of more than two colors. In theoretical exercises 3.1 to 3.3 we obtain formulas for this case. The following example illustrates the ideas involved.
Example 3G . Sampling from three plumbers . Consider a town in which there are three plumbers, whom we call
Solution
For
so that
Theoretical Exercises
3.1 . Consider an urn containing
3.3 . Consider an urn containing
3.4 . An urn contains
Exercises
3.1 . An urn contains 52 balls, numbered 1 to 52. Suppose that numbers 1 through 13 are considered “lucky”. A sample of size 2 is drawn from the urn with replacement (without replacement). What is the probability that (i) both balls drawn will be “lucky,” (ii) neither ball drawn will be “lucky,” (iii) at least 1 of the balls drawn will be “lucky,” (iv) exactly 1 of the balls drawn will be “lucky”?
Answer
With replacement (i)
3.2 . An urn contains 52 balls, numbered 1 to 52. Suppose that the numbers
3.3 . A man tosses a fair coin 10 times. Find the probability that he will have (i) heads on the first 5 tosses, tails on the second 5 tosses, (ii) heads on tosses
Answer
(i), (ii)
3.4 . A group of
3.5 . Consider 3 urns; urn I contains 2 white and 4 red balls, urn II contains 8 white and 4 red balls, urn III contains 1 white and 3 red balls. One ball is selected from each urn. Find the probability that the sample drawn will contain exactly 2 white balls.
Answer
3.6 . A box contains 24 bulbs, 4 of which are known to be defective and the remainder of which is known to be non-defective. What is the probability that 4 bulbs selected at random from the box will be non-defective?
3.7 . A box contains 50 razor blades, 5 of which are known to be used, the remainder unused. What is the probability that 5 razor blades selected from the box will be unused?
Answer
3.8 . A fisherman caught 10 fish, 3 of which were smaller than the law permits to be caught. A game warden inspects the catch by examining 2, which he selects at random among the fish. What is the probability that he will not select any undersized fish?
3.9 . A professional magician named Sebastian claimed to be able to “read minds”. In order to test his claims, an experiment is conducted with 5 cards, numbered 1 to 5. A person concentrates on the numbers of 2 of the cards, and Sebastian attempts to “read his mind” and to name the 2 cards. What is the probability that Sebastian will correctly name the 2 cards, under the assumption that he is merely guessing?
Answer
3.10 . Find approximately the probability that a sample of 100 items drawn from a lot of 1000 items contains 1 or fewer defective items if the proportion of the lot that is defective is (i) 0.01, (ii) 0.02, (iii) 0.05.
3.11 . The contract between a manufacturer of electrical equipment (such as resistors or condensors) and a purchaser provides that out of each lot of 100 items 2 will be selected at random and subjected to a test. In negotiations for the contract the following two acceptance sampling plans are considered. Plan (a): reject the lot if both items tested are defective; otherwise accept the lot. Plan
Answer
Manufacturer would prefer plan (a), consumer would prefer plan (b).
3.12 . Consider a lottery that sells 25 tickets, and offers (i) 3 prizes, (ii) 5 prizes. If one buys 5 tickets, what is the probability of winning a prize?
3.13 . Consider an electric fixture (such as Christmas tree lights) containing 5 electric light bulbs which are connected so that none will operate if any one of them is defective. If the light bulbs in the fixture are selected randomly from a batch of 1000 bulbs, 100 of which are known to be defective, find the probability that all the bulbs in the electric fixture will operate.
Answer
3.14 . An urn contains 52 balls, numbered 1 to 52. Find the probability that a sample of 13 balls drawn without replacement will contain (i) each of the numbers 1 to 13, (ii) each of the numbers 1 to 7.
3.15 . An urn contains balls of 4 different colors, each color being represented by the same number of balls. Four balls are drawn, with replacement. What is the probability that at least 3 different colors are represented in the sample?
Answer
3.16 . From a committee of 3 Romans, 4 Babylonians, and 5 Philistines a subcommittee of 4 is selected by lot. Find the probability that the committee will consist of (i) 2 Romans and 2 Babylonians, (ii) 1 Roman, 1 Babylonian, and 2 Philistines; (iii) 4 Philistines.
3.17 . Consider a town in which there are 3 plumbers; on a certain day 4 residents telephone for a plumber. If each resident selects a plumber at random from the telephone directory, what is the probability that (i) all plumbers will be telephoned, (ii) exactly 1 plumber will be telephoned?
Answer
(i)
3.18 . Six persons, among whom are