Virtual Laboratories > Finite Sampling Models > [1] 2 3 4 5 6 7 8 9 10
Suppose that we have a population D of N objects. The population could be a deck of cards, a set of people, and urn full of balls, or any number of other collections. In many cases, we simply label the objects from 1 to N, so that D = {1, 2, ..., N}. In other cases (such as the card experiment), it may be more natural to label the objects with vectors. In any case, D is a subset of Rk for some k.
Our basic experiment consists of selecting n objects from the population D at random and recording the sequence of objects chosen:
X = (X1, X2, ..., Xn), where Xi in D is the i'th object chosen.
If the sampling is with replacement, the sample size n can be any positive integer. In this case, the sample space S is
S = Dn = {(x1, x2, ..., xn): x1, x2, ..., xn in D}.
If the sampling is without replacement, the sample size n can be no larger than the population size N. In this case, the sample space S consists of all permutations of size n chosen from D:
S = Dn = {(x1, x2, ..., xn): x1, x2, ..., xn in D are distinct}.
1. Show that
With either type of sampling, we assume that the samples are equally likely and thus that the outcome variable X is uniformly distributed on S; this is the meaning of the phrase random sample:
P(X A) = #(A)
/ #(S) for A
S.
We will be particularly interested in the following special models:
Let us return to the general model of selecting n objects at random from the population D, either with or without replacement.
2. Show that any
permutation of (X1, X2,
..., Xn) has the same distribution as (X1,
X2, ..., Xn)
itself (namely the uniform distribution on the appropriate sample space S).
A sequence of random variables with the property in the last exercise is said to be exchangeable. Although this property is very simple to understand, both intuitively and mathematically, it is nonetheless very important. We will use the exchangeable property often in this chapter.
3. Show that any
sequence of m of the n outcome variables is uniformly distributed on the
appropriate sample space:
In particular, for either sampling method, Xi is uniformly distributed on D for each i.
4. Show that if the
sampling is with replacement, X1, X2,
..., Xn are independent.
Thus, when the sampling is with replacement, the sample variables form a random sample from the uniform distribution, in the technical sense.
5. Show that if the
sampling is without replacement, then the conditional distribution of a sequence of m
of the outcome variables given a sequence of j other outcome variables is the
uniform distribution on the set of permutations of size m chosen from the
population when the j known objects are removed (of course, m + j
cannot exceed n).
In particular, Xi and Xj are dependent for any distinct i and j when the sampling is without replacement.
In many cases, particularly when the sampling is without replacement, the order in which the objects are chosen is not important; all that matters is the (unordered) set of objects:
W = {X1, X2, ..., Xn}.
Suppose first that the sampling is without replacement. In this case, W takes values in the set of combinations of size n chosen from D:
T = {{x1, x2, ..., xn}: x1, x2, ..., xn in D are distinct}.
6. Show that #(T)
= C(N, n)
7. Show that
W is uniformly distributed over T:
P(W B) = #(B)
/ #(T) = #(B) / C(N, n) for B
T.
Hint: For any combination of size n from D, there are n! permutations of size n.
If the sampling is with replacement, W takes values in the collection of subsets of D, of size from 1 to n:
T = {{x1, x2, ..., xn}: x1, x2, ..., xn in D}.
8. Show that #(T)
= C(N + n - 1, n).
9. Show that W
is not uniformly distributed on T.
10. Suppose that a
sample of size 2 is chosen from the population {1, 2, 3, 4, 5, 6}. Explicitly list all
11. In the
card experiment with n = 5 cards (poker), show that there are
12. In the
card experiment with n = 13 cards (bridge), show that there are
13. In the
card experiment, set n = 3. Run the simulation 5 times and on each run, list all
of the (ordered) sequences of cards that would give the same unordered hand as the one you
observed.
14. In the card
experiment, show that
15. In the card
experiment, show that Yi and Zj are independent
for any i and j.
16. In the card
experiment, show that (Y1, Y2), (Z1,
Z2) are dependent. Compare this result with the previous exercise.
17. Suppose that a
sequence of 5 cards is dealt.
18. Run the
card experiment 500 times, updating after each run. Compute the relative
frequency corresponding to each probability in the previous exercise.
19.
Find the probability that a bridge hand will contain no card of denomination 10,
jack, queen, king, or ace. Such a hand is called a Yarborough, in
honor of the Earl of Yarborough.
Suppose that a person has n keys, only one of which opens a certain door. The person tries the keys at random. We will let N denote the trial number when the person finds the correct key.
20.
Suppose that unsuccessful keys are discarded (the rational thing to do, of
course). Show that
21.
Suppose that unsuccessful keys are not discarded (perhaps the person has had a
bit too much to drink). Show that