Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(iii) Graduate homework/Undergraduate extra credit: In the lab we talked about the average number of coin tosses it takes to observe the patterns 010 and
(iii) Graduate homework/Undergraduate extra credit: In the lab we talked about the average number of coin tosses it takes to observe the patterns 010 and 011 for the first time. For example, if we toss the coin repeatedly with the following outcome, 001001001100111, then the pattern 010 first appears after toss number 4 and the pattern 011 first appears after toss number 10. In his TED talk, statistician Peter Donnelly claimed that it takes on average 8 tosses to observe pattern 011 for the first time, while it takes on average 10 tosses to observe the pattern 010 for the first time. Check this statement numerically by simulating sequences of coin tosses and noting the number of tosses it takes to observe pattern 011 and 010, respectively. In addition to computing the average number of tosses, also compute the standard deviation, and show the histograms for both patterns in one plot. Do the distributions look Gaussian
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started