Solutions Manual For Statistical Inference, Second Edition PDF

1m ago
2 Views
0 Downloads
2.17 MB
195 Pages
Transcription

Solutions Manual forStatistical Inference, Second EditionGeorge CasellaUniversity of FloridaRoger L. BergerNorth Carolina State UniversityDamaris SantanaUniversity of Florida

0-2Solutions Manual for Statistical Inference“When I hear you give your reasons,” I remarked, “the thing always appears to me to be soridiculously simple that I could easily do it myself, though at each successive instance of yourreasoning I am baffled until you explain your process.”Dr. Watson to Sherlock HolmesA Scandal in Bohemia0.1 DescriptionThis solutions manual contains solutions for all odd numbered problems plus a large number ofsolutions for even numbered problems. Of the 624 exercises in Statistical Inference, Second Edition,this manual gives solutions for 484 (78%) of them. There is an obtuse pattern as to which solutionswere included in this manual. We assembled all of the solutions that we had from the first edition,and filled in so that all odd-numbered problems were done. In the passage from the first to thesecond edition, problems were shuffled with no attention paid to numbering (hence no attentionpaid to minimize the new effort), but rather we tried to put the problems in logical order.A major change from the first edition is the use of the computer, both symbolically throughMathematicatm and numerically using R. Some solutions are given as code in either of these languages. Mathematicatm can be purchased from Wolfram Research, and R is a free download fromhttp://www.r-project.org/.Here is a detailed listing of the solutions included.Chapter1234Number of Exercises55405065Number of 4131263516Missing26, 30, 36, 4234, 38, 404, 6, 10, 20, 30, 32, 34, 368, 14, 22, 28, 36, 4048, 50, 52, 56, 58, 60, 622, 4, 12, 14, 26, 28all even problems from 36 688, 16, 26, 28, 34, 36, 38, 424, 14, 16, 28, 30, 32, 34,36, 42, 54, 58, 60, 62, 6436, 40, 46, 48, 52, 56, 582, 8, 10, 20, 22, 24, 26, 28, 3032, 38, 40, 42, 44, 50, 54, 56all even problems except 4 and 324, 20, 22, 24, 26, 40all even problems0.2 AcknowledgementMany people contributed to the assembly of this solutions manual. We again thank all of thosewho contributed solutions to the first edition – many problems have carried over into the secondedition. Moreover, throughout the years a number of people have been in constant touch with us,contributing to both the presentations and solutions. We apologize in advance for those we forget tomention, and we especially thank Jay Beder, Yong Sung Joo, Michael Perlman, Rob Strawderman,and Tom Wehrly. Thank you all for your help.And, as we said the first time around, although we have benefited greatly from the assistance and

ACKNOWLEDGEMENT0-3comments of others in the assembly of this manual, we are responsible for its ultimate correctness.To this end, we have tried our best but, as a wise man once said, “You pays your money and youtakes your chances.”George CasellaRoger L. BergerDamaris SantanaDecember, 2001

Chapter 1Probability Theory“If any little problem comes your way, I shall be happy, if I can, to give you a hint or two asto its solution.”Sherlock HolmesThe Adventure of the Three Students1.1 a. Each sample point describes the result of the toss (H or T) for each of the four tosses. So,for example THTT denotes T on 1st, H on 2nd, T on 3rd and T on 4th. There are 24 16such sample points.b. The number of damaged leaves is a nonnegative integer. So we might use S {0, 1, 2, . . .}.c. We might observe fractions of an hour. So we might use S {t : t 0}, that is, the halfinfinite interval [0, ).d. Suppose we weigh the rats in ounces. The weight must be greater than zero so we might useS (0, ). If we know no 10-day-old rat weighs more than 100 oz., we could use S (0, 100].e. If n is the number of items in the shipment, then S {0/n, 1/n, . . . , 1}.1.2 For each of these equalities, you must show containment in both directions.a. x A\B x A and x / B x A and x / A B x A\(A B). Also, x A andx / B x A and x B c x A B c .b. Suppose x B. Then either x A or x Ac . If x A, then x B A, and, hencex (B A) (B Ac ). Thus B (B A) (B Ac ). Now suppose x (B A) (B Ac ).Then either x (B A) or x (B Ac ). If x (B A), then x B. If x (B Ac ),then x B. Thus (B A) (B Ac ) B. Since the containment goes both ways, we haveB (B A) (B Ac ). (Note, a more straightforward argument for this part simply usesthe Distributive Law to state that (B A) (B Ac ) B (A Ac ) B S B.)c. Similar to part a).d. From part b).A B A [(B A) (B Ac )] A (B A) A (B Ac ) A [A (B Ac )] A (B Ac ).1.3 a. x A B x A or x B x B Ax A B x A and x B x B A.b. x A (B C) x A or x B C x A B or x C x (A B) C.(It can similarly be shown that A (B C) (A C) B.)x A (B C) x A and x B and x C x (A B) C.c. x (A B)c x / A or x / B x Ac and x B c x Ac B ccx (A B) x / A B x / A and x / B x Ac or x B c x Ac B c .1.4 a. “A or B or both” is A B. From Theorem 1.2.9b we have P (A B) P (A) P (B) P (A B).

1-2Solutions Manual for Statistical Inferenceb. “A or B but not both” is (A B c ) (B Ac ). Thus we haveP ((A B c ) (B Ac ))c.d.1.5 a.b.1.6 P (A B c ) P (B Ac )(disjoint union) [P (A) P (A B)] [P (B) P (A B)] (Theorem1.2.9a) P (A) P (B) 2P (A B).“At least one of A or B” is A B. So we get the same answer as in a).“At most one of A or B” is (A B)c , and P ((A B)c ) 1 P (A B).A B C {a U.S. birth results in identical twins that are female}1P (A B C) 90 13 12p0 (1 u)(1 w),p1 u(1 w) w(1 u),p0 p2p1 p2p2 uw, u w 1 uw 1/3.These two equations imply u(1 u) 1/3, which has no solution in the real numbers. Thus,the probability assignment is not legitimate.1.7 a.(2if i 01 hπrAP (scoring i points) πr2 (6 i)2 (5 i)2 iif i 1, . . . , 5.A52b.P (scoring i points board is hit) P (board is hit) P (scoring i points board is hit) P (scoring i points board is hit)P (board is hit)πr2A πr2 (6 i)2 (5 i)2i 1, . . . , 5.A52Therefore,P (scoring i points board is hit) (6 i)2 (5 i)252i 1, . . . , 5which is exactly the probability distribution of Example 1.2.7.1.8 a. P (scoring exactly i points) P (inside circle i) P (inside circle i 1). Circle i has radius(6 i)r/5, so2P (sscoring exactly i points) 22π(6 i) r2π ((6 (i 1)))2 r2(6 i) (5 i) .52 πr252 πr252b. Expanding the squares in part a) we find P (scoring exactly i points) 11 2i25 , which isdecreasing in i.c. Let P (i) 11 2i25 . Since i 5, P (i) 0 for all i. P (S) P (hitting the dartboard) 1 bydefinition. Lastly, P (i j) area of i ring area of j ring P (i) P (j).1.9 a. Suppose x ( α Aα )c , by the definition of complement x 6 α Aα , that is x 6 Aα for allα Γ. Therefore x Acα for all α Γ. Thus x α Acα and, by the definition of intersectionx Acα for all α Γ. By the definition of complement x 6 Aα for all α Γ. Thereforex 6 α Aα . Thus x ( α Aα )c .

Second Edition1-3b. Suppose x ( α Aα )c , by the definition of complement x 6 ( α Aα ). Therefore x 6 Aα forsome α Γ. Therefore x Acα for some α Γ. Thus x α Acα and, by the definition ofunion, x Acα for some α Γ. Therefore x 6 Aα for some α Γ. Therefore x 6 α Aα . Thusx ( α Aα )c .1.10 For A1 , . . . , Ann[(i)!cAi n\Acin\(ii)i 1i 1!cAii 1 n[Acii 1Proof of (i): If x ( Ai )c , then x / Ai . That implies x / Ai for any i, so x Aci for every iand x Ai .Proof of (ii): If x ( Ai )c , then x / Ai . That implies x Aci for some i, so x Aci .1.11 We must verify each of the three properties in Definition 1.2.1.a. (1) The empty set { , S}. Thus B. (2) c S B and S c B. (3) S S B.b. (1) The empty set is a subset of any set, in particular, S. Thus B. (2) If A B,then A S. By the definition of complementation, Ac is also a subset of S, and, hence,Ac B. (3) If A1 , A2 , . . . B, then, for each i, Ai S. By the definition of union, Ai S.Hence, Ai B.c. Let B1 and B2 be the two sigma algebras. (1) B1 and B2 since B1 and B2 aresigma algebras. Thus B1 B2 . (2) If A B1 B2 , then A B1 and A B2 . SinceB1 and B2 are both sigma algebra Ac B1 and Ac B2 . Therefore Ac B1 B2 . (3) IfA1 , A2 , . . . B1 B2 , then A1 , A2 , . . . B1 and A1 , A2 , . . . B2 . Therefore, since B1 and B2 are both sigma algebra, i 1 Ai B1 and i 1 Ai B2 . Thus i 1 Ai B1 B2 .1.12 First writeP [!Ai Pi 1n[Ai i 1 Pn[ [!Aii n 1 [!Ai Pi 1 nXAi(Ai s are disjoint)i n 1 [P (Ai ) Pi 1!!Ai(finite additivity)i n 1S Now define Bk i k Ai . Note that Bk 1 Bk and Bk φ as k . (Otherwise the sumof the probabilities would be infinite.) Thus!!" n# [[XXPAi lim PAi limP (Ai ) P (B n 1 ) P (Ai ).i 1n i 1n i 1i 11.13 If A and B are disjoint, P (A B) P (A) P (B) 13 34 1312 , which is impossible. Moregenerally, if A and B are disjoint, then A B c and P (A) P (B c ). But here P (A) P (B c ),so A and B cannot be disjoint.1.14 If S {s1 , . . . , sn }, then any subset of S can be constructed by either including or excludingsi , for each i. Thus there are 2n possible choices.1.15 Proof by induction. The proof for k 2 is given after Theorem 1.2.14. Assume true for k, thatis, the entire job can be done in n1 n2 · · · nk ways. For k 1, the k 1th task can bedone in nk 1 ways, and for each one of these ways we can complete the job by performing

1-4Solutions Manual for Statistical Inferencethe remaining k tasks. Thus for each of the nk 1 we have n1 n2 · · · nk ways of completing the job by the induction hypothesis. Thus, the number of ways we can do the job is(1 (n1 n2 · · · nk )) · · · (1 (n1 n2 · · · nk )) n1 n2 · · · nk nk 1 . {z}nk 1 terms1.16 a) 263 .b) 263 262 . c) 264 263 262 . 1.17 There are n2 n(n 1)/2 pieces on which the two numbers do not match. (Choose 2 out ofn numbers without replacement.) There are n pieces on which the two numbers match. So thetotal number of different pieces is n n(n 1)/2 n(n 1)/2.(n)n!1.18 The probability is 2nn (n 1)(n 1)!. There are many ways to obtain this. Here is one. The2nn 2denominator is nn because this is the number of ways to place n balls in n cells. The numeratoris the number of ways of placing the balls such that exactly one cell is empty. There are n waysto specify the empty cell. There are n 1 ways of choosing the cell with two balls. There aren2 ways of picking the 2 balls to go into this cell. And there are (n 2)! ways of placing theremaining n 2 balls into the n 2 cells, one ball in each cell. The product of these is thenumerator n(n 1) n2 (n 2)! n2 n!. 1.19 a. 64 15.b. Think of the n variables as n bins. Differentiating with respect to one of the variables isequivalent to putting a ball in the bin. Thus there are r unlabeled balls to be placed in nunlabeled bins, and there are n r 1ways to do this.r1.20 A sample point specifies on which day (1 through 7) each of the 12 calls happens. Thus thereare 712 equally likely sample points. There are several different ways that the calls might beassigned so that there is at least one call each day. There might be 6 calls one day and 1 calleach of the other days. Denote this by 6111111. The number of sample points with this pattern12is 7 re66 to specify which ofthe 12 calls are on this day. And there are 6! ways of assigning the remaining 6 calls to theremaining 6 days. We will now count another pattern. There might be 4 calls on one day, 2 callson each of two days, and 1 call on each of the remaining 6 four days. Denote this by 4221111.8 6The number of sample points with this pattern is 7 12day with 442 2 2 4!. (7 ways to pick 68calls, ls,waysto pick42 26two calls for lowered numbered day, 2 ways to pick the two calls for higher numbered day,4! ways to order remaining 4 calls.) Here is a list of all the possibilities and the counts of thesample points for each 1112222211number of sample points7 126 6! 77 125 6 2 5! 12 6 8 67 4 2 2 2 4! 87 124 6 3 5! 7 12 962 3 3 5 2 4! 12 6 9 7 57 3 3 3 2 2 3! 7 12 10 8 6 45222 2 2 2! 001,397,088,000314,344,8003,162,075,840 The probability is the total number of sample points divided by 712 , which is 3,162,075,840712.2285. ( n )22r1.21 The probability is 2r2n . There are 2n2r ways of choosing 2r shoes from a total of 2n shoes.(2r ) Thus there are 2nis the number of sample points2r equally likely sample points. The numerator nfor which there will be no matching pair. There are 2rways of choosing 2r different shoes

Second Edition1-5styles. There are two ways of choosing within a given shoe style (left shoe or right shoe), whichngives22r ways of arranging each one of the 2rarrays. The product of this is the numerator 2rn2.2r1.22 6 335316366 365 ··· 33636630().1.23P ( same number of heads ) nXP (1st tosses x, 2nd tosses x)x 0" # n Xnn 2xn x 2Xn11n1. x224xx 0x 01.24 a.P (A wins) X P (A wins on ith toss)i 11 2 2 4 2i 1X11111 ··· 2/3.22222i 0P pb. P (A wins) p (1 p)2 p (1 p)4 p · · · i 0 p(1 p)2i 1 (1 p)2. 2ppdc. dp [1 (1 p)2 2 0. Thus the probability is increasing in p, and the minimum1 (1 p)2]pis at zero. Using L’Hôpital’s rule we find limp 0 1 (1 p)2 1/2.1.25 Enumerating the sample space gives S 0 {(B, B), (B, G), (G, B), (G, G)} ,with each outcomeequally likely. Thus P (at least one boy) 3/4 and P (both are boys) 1/4, thereforeP ( both are boys at least one boy ) 1/3.An ambiguity may arise if order is not acknowledged, the space is S 0 {(B, B), (B, G), (G, G)},with each outcome equally likely.1.27 a. For n odd the proofThere are an even number of terms in the sum is straightforward. n(0, 1, · · · , n), and nk and n k, which are equal, have opposite signs. Thus, all pairs canceland the sum is zero. If n is even,the use following identity, which is the basis of Pascal’sn 1triangle: For k 0, nk n 1 kk 1 . Then, for n evennXk 0k( 1) nk n 1Xnnn ( 1)k 0knk 1 n 1Xnnn 1n 1k ( 1) 0nkk 1k 1 nnn 1n 1 0.0n0n 1 b. Use the fact that for k 0, knk nn 1k 1 to write nn n 1XXX n 1 nn 1k n n n2n 1 .kk 1jj 0k 1k 1

1-6Solutions Manual for Statistical Inference PnPnk 1k 1c.k nk k 1 ( 1)k 1 ( 1)1.28 The average of the two integrals isn 1k 1 n[(n log n n) ((n 1) log (n 1) n)] /2Pn 1j

This solutions manual contains solutions for all odd numbered problems plus a large number of solutions for even numbered problems. Of the 624 exercises in Statistical Inference, Second Edition, this manual gives solutions for 484 (78%) of them. There is an obtuse pattern as to which solutions were included in this manual.