20.03.2013 Views

From Algorithms to Z-Scores - matloff - University of California, Davis

From Algorithms to Z-Scores - matloff - University of California, Davis

From Algorithms to Z-Scores - matloff - University of California, Davis

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.18. RECONCILIATION OF MATH AND INTUITION (OPTIONAL SECTION) 79<br />

(b) Long-run average in a “notebook” column labeled X 2 .<br />

10. Consider the game in Section 3.13.1. Find E(Z) and V ar(Z), where Z = Y6 − X6.<br />

11. Say we choose six cards from a standard deck, one at a time WITHOUT replacement. Let N<br />

be the number <strong>of</strong> kings we get. Does N have a binomial distribution? Choose one: (i) Yes. (ii)<br />

No, since trials are not independent. (iii) No, since the probability <strong>of</strong> success is not constant from<br />

trial <strong>to</strong> trial. (iv) No, since the number <strong>of</strong> trials is not fixed. (v) (ii) and (iii). (iv) (ii) and (iv).<br />

(vii) (iii) and (iv).<br />

12. Suppose we have n independent trials, with the probability <strong>of</strong> success on the i th trial being pi.<br />

Let X = the number <strong>of</strong> successes. Use the fact that “the variance <strong>of</strong> the sum is the sum <strong>of</strong> the<br />

variance” for independent random variables <strong>to</strong> derive V ar(X).<br />

13. Prove Equation (3.30).<br />

14. Show that if X is a nonnegative-integer valued random variable, then<br />

EX =<br />

∞<br />

P (X ≥ i) (3.150)<br />

i=1<br />

Hint: Write i = i j=1 1, and when you see an iterated sum, reverse the order <strong>of</strong> summation.<br />

15. Suppose we <strong>to</strong>ss a fair coin n times, resulting in X heads. Show that the term expected value<br />

is a misnomer, by showing that<br />

Use Stirling’s approximation,<br />

lim P (X = n/2) = 0 (3.151)<br />

n→∞<br />

k! ≈ √ 2πk<br />

k k<br />

e<br />

(3.152)<br />

16. Suppose X and Y are independent random variables with standard deviations 3 and 4, respectively.<br />

(a) Find Var(X+Y).<br />

(b) Find Var(2X+Y).<br />

17. Fill in the blanks in the following simulation, which finds the approximate variance <strong>of</strong> N, the<br />

number <strong>of</strong> rolls <strong>of</strong> a die needed <strong>to</strong> get the face having just one dot.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!