
Exercises Section 13.2 (12–22)
12. Consider a large population of families in which
each family has exactly three children. If the
genders of the three children in any family are
independent of one another, the number of male
children in a randomly selected family will have
a binomial distribution based on three trials.
a. Suppose a random sample of 160 families
yields the following results. Test the relevant
hypotheses by proceeding as in Example 13.5.
Number of Male Children 0123
Frequency 14 66 64 16
b. Suppose a random sample of families in a
nonhuman population resulted in observed
frequencies of 15, 20, 12, and 3, respectively.
Would the chi-squared test be based on the
same number of degrees of freedom as the test
in part (a)? Explain.
13. A study of sterility in the fruit fly (“Hybrid
Dysgenesis in Drosophila melanogaster:The
Biology of Female and Male Sterility,” Genetics,
1979: 161–174) reports the following data on the
number of ovaries developed for each female fly
in a sample of size 1,388. One model for unilat-
eral sterility states that each ovary develops with
some probability p independently of the other
ovary. Test the fit of this model using w
2
.
x ¼ Number of
Ovaries Developed 012
Observed Count 1212 118 58
14. The article “Feeding Ecology of the Red-Eyed
Vireo and Associated Foliage-Gleaning Birds”
(Ecol. Monogr., 1971: 129–152) presents the
accompanying data on the variable X ¼ the num-
ber of hops before the first flight and preceded by
a flight. The author then proposed and fit a geo-
metric probability distribution [p(x) ¼ P(X ¼ x)
¼ p
x–1
· q for x ¼ 1, 2, ...,whereq ¼ 1–p]to
the data. The total sample size was n ¼ 130.
x 1 2 3 456789101112
Number
of Times x
Observed
483120965421 1 2 1
a. The likelihood is ðp
x
1
1
qÞðp
x
n
1
qÞ¼
p
Sx
i
n
q
n
. Show that the mle of p is given by
^
p ¼
P
x
i
nðÞ=
P
x
i
, and compute
^
p for the
given data.
b. Estimate the expected cell counts using
^
p of
part (a) [expected cell counts ¼ n
^
p
x1
^
q for
x ¼ 1, 2, ... ], and test the fit of the model
using a w
2
test by combining the counts for
x ¼ 7, 8, ..., and 12 into one cell (x 7).
15. A certain type of flashlight is sold with the four
batteries included. A random sample of 150
flashlights is obtained, and the number of defec-
tive batteries in each is determined, resulting in
the following data:
Number Defective 01234
Frequency 26 51 47 16 10
Let X be the number of defective batteries in a
randomly selected flashlight. Test the null hypo-
thesis that the distribution of X is Bin(4, y). That
is, with p
i
¼ P(i defectives), test
H
0
: p
i
¼
4
i
y
i
ð1 yÞ
4i
i ¼ 0; 1; 2; 3; 4
[Hint: To obtain the mle of y, write the likelihood
(the function to be maximized) as y
u
(1 – y)
v
,
where the exponents u and v are linear functions
of the cell counts. Then take the natural log,
differentiate with respect to y, equate the result
to 0, and solve for
^
y.]
16. In a genetics experiment, investigators looked at
300 chromosomes of a particular type and
counted the number of sister-chromatid
exchanges on each (“On the Nature of Sister-
Chromatid Exchanges in 5-Bromodeoxyuridine-
Substituted Chromosomes,” Genetics, 1979:
1251–1264). A Poisson model was hypothesized
for the distribution of the number of exchanges.
Test the fit of a Poisson distribution to the data by
first estimating l and then combining the counts
for x ¼ 8andx ¼ 9 into one cell.
x ¼ Number
of Exchanges
0 123456789
Observed
Counts
6 2442596244411462
17. An article in Annals of Mathematical Statistics
reports the following data on the number of
borers in each of 120 groups of borers. Does
the Poisson pmf provide a plausible model for
the distribution of the number of borers in a
group? [Hint: Add the frequencies for 7, 8, ...,
12 to establish a single category “ 7.”]
742
CHAPTER 13 Goodness-of-Fit Tests and Categorical Data Analysis