MATLAB QUESTION: This must be completed using geometricrv.
It is stated that as n becomes large, the sample mean converges to the expected value: 〈?〉? → ?[?]. Use MATLAB to examine this convergence of a geometric random variable X. (a) (5 pts) Use geometricrv(0.1,100) to generate 100 sample values of X. Plot the sequence 〈?〉1,〈?〉2, … ,〈?〉100. Repeat this experiment five times, plotting all five 〈?〉? curves in the same figure. (b) (5 pts) Repeat part (a) for 1000 sample values of X.
Get Answers For Free
Most questions answered within 1 hours.