
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

ECE 541 Probability and Stochastic Processes; Fall 2008 Assignment 6; Due date: Tuesday, Oct. 30, 2008
∞ i=1Ωi, where for each^ i, Ωi^ =^ {H, T^ }. Let^ Yi^ =^ I{ωi=H}^ be a^ {^0 ,^1 }-valued random variable,
∞ i=1Ωi^ as^ Y^
4 = (Y 1 , Y 2 ,.. .). Finally, we define P on Ω cylinders with measurable bases (as done in the notes) by forming the product of the probabilities of the coordinates while enforcing independence. For each (Ωi, Fi), define Pi{H} = p and q = 1 − p. Now define your fortune at time n ≥ 1 by
Xn = Xn− 1 + I{Yn=1} − I{Yn=0}
with the initial condition X 0 = x 0 ≥ 0. Let L ∈ IN be given, and define T = inf^4 {k : Xk = 0 or Xk = L}.
Finally, let Q(x 0 ) =^4 P{XT = L}.
a) Use conditional expectations to prove that
Q(x) = pQ(x + 1) + (1 − p)Q(x − 1), x = 1,... , L − 1 , (1)
with Q(0) = 0 and Q(L) = 1. b) Solve the difference equation in (1) analytically. c) let P (x 0 )
4 = P{XT = 0}. Determine P (x) directly and show that P (x) + Q(x) = 1. d) Use the above results to describe in which sense Xn is convergent and characterize its limit X.
Bn = ρBn− 1 + W (n), n > 0 , 0 < |ρ| < 1 ,
where the initial state B 0 is a random variable uniformly distributed in [0, 32]. Assume that W (1), W (2),... , are iid, and let the constants μW and σ W^2 denote the mean and variance of the sequence W (n), respec-
tively. Finally, let μB (n)
4 = E[Bn] and σ B^2 (n)
4 = var(Bn). a) Calculate μB (0) and σ^2 B (0) b) Find an expression for μB (n) that explicitly shows the dependence on μB (0) and μW. Show that μB (n) is a constant if we select μW = (1 − ρ)μB (0). What is the constant mean μB? c) Find an expression for σ B^2 (n), for the case when μW = (1 − ρ)μB (0). Show that σ^2 B (n) is a constant if we select σ W^2 = (1 − ρ^2 )σ B^2 (0). What is the constant variance σ^2 B. d) Use Matlab to generate 100 realizations, each of length 1000, of the process Bn using the conditions μW = (1 − ρ)μB (0) and σ^2 W = (1 − ρ^2 )σ B^2 (0). Find the sample mean for each realization of the process (i.e., for each of the 100 sequences), and plot five of such sample means as a function of n. Assume that ρ = 0.8. e) Now average the above 100 sample means to obtain an estimate of the true mean of the process Bn. Plot it as a function of n. Is it a constant? Compare its value with the theoretical mean μB. f) Repeat the calculations to generate and sample estimate of the variance instead of the mean. Plot the estimate of σ B^2 as a function of n and compare it to the theoretical variance σ^2 B.