For n coin-flip betsasdescribedin Section 2.6.7, let pn denote theproportionof t between1 and n for whichthetotalwinnings Yt
Question:
For n coin-flip betsasdescribedin Section 2.6.7, let pn denote theproportionof t between1 and n for whichthetotalwinnings Yt at time t is positive.
(a) With n = 100, simulatethisMarkovchainafewtimes,eachtimeshowingaplotof
(y1, y2, ...,y100) and reporting pn.
(b) NowsimulatethisMarkovchain100,000times.Constructahistogramofthe100,000 {pn}
valuesanddescribethedistribution.(As n increases, pn has alimitingbetadistribution
(Exercise 2.70)with α = β = 0.5, so1/2hasthelowestdensityfor pn!)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Foundations Of Statistics For Data Scientists With R And Python
ISBN: 9780367748456
1st Edition
Authors: Alan Agresti
Question Posted: