STAT 333 Assignment 2 solutions

STAT 333 Assignment 2 solutions - STAT 333 Assignment 2...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: STAT 333 Assignment 2 SOLUTIONS 1. Consider a sequence of independent tosses of a fair coin. Each toss results in a head H or a tail T. Let be the event that the total number of H equals exactly one-third the number of tosses, i.e. we say occurs on the n th toss if the total number of H up to and including the n th toss equals n/3. a. Give an argument that is a renewal event The first time we are waiting for this event to occur, if we want it to happen on trial 3n, we will need exactly n Heads and 2n Tails . Once the event occurs, say on trial 3k, we know there are exactly k Heads and 2k Tails so far. Now if we want it to occur 3n trials later (on trial 3k+3n), we need a total of k+n Heads and 2(k+n) Tails in the total 3(k+n) flips, which means we need an additional n Heads and 2n Tails in the next 3n trials. In other words, we need the exact same conditions for the event to occur on trial 3n the very first time as after an earlier occurrence. b. What is the period of ? It can only occur on a multiple of three trials, so the period is d=3 c. Prove that lambda is transient. Why does this make logical sense when you consider the law of large numbers? (that with a large number of trials, the percentage of successes will approach the probability of a success) There are a couple of ways to do this. We can see that the renewal sequence is r =1, r 3n+1 = 0, r 3n+2 = 0, and r 3n = (3n C n) () 3n for all integer n. Using Stirlings approximation, 3nCn = (3n)!/(2n!)n! (3n) 3n e-3n (23n) / [ (2n) 2n e-2n (22n) (n) n e-n (2n) ] = c (27/4) n /n So E[V ] = c ((27/4)*() 3 ) n /n = c 0.84375 n / n < since 0.84375 < 1. Since the expected number of occurrences is finite, is transient. This makes sense because as the number of trials approaches infinity, the proportion of heads will approach . It would be impossible for the proportion to hit 1/3 infinitely often since it is converging to . 2. Suppose a sequence of independent trials X 1 ,X 2 , . . . is generated by randomly picking digits (with replacement) from the set {0, 1, 2, . . ., 9}. Prove that the event 2 3 5 is recurrent by: a. Finding r n = P(2 3 5 occurs on trial n) and showing that r n = r = 1, r 1 = r 2 = 0, and r n = (1/10) 3 = 0.001 for n 3 E[V 235 ] = n=1 r n = 0 + 0 + n=3 0.001 = Hence 235 will occur infinitely often and is recurrent. b. Obtaining the generating function R 235 (s) of the renewal sequence {r n }, finding the pgf F 235 (s) of the first waiting time T 235 and evaluating F 235 (s) at s = 1 to prove recurrence. R 235 (s) = n=0 r n s n = 1 + 0 + 0 + n=3 0.001s n = 1 + 0.001s 3 /(1-s) F 235 (s) = 1 1/R 235 (s) = 1 (1-s)/(1 s + 0.001s 3 ) = (0.001s 3 )/(1 s + 0.001s 3 ) f 235 = F 235 (1) = 0.001/(1-1+0.001) = 1 so 235 is recurrent....
View Full Document

Page1 / 6

STAT 333 Assignment 2 solutions - STAT 333 Assignment 2...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online