Question
For each row in all 4 columns, add the number of heads (0-4 heads) for each row, and plot that on a histogram. Contrast the
For each row in all 4 columns, add the number of heads (0-4 heads) for each row, and plot that on a histogram. Contrast the actual values with the expected values based on a binomial distribution for sets of 4 coin tosses.
For your entire sequence, count the number of occurrences of the run lengths (1 heads, 2 heads in a row, 3 heads in a row, etc.) and graph that distribution histogram. See the sample empty CoinTossForm.xls file(1st image) and the example CoinTossSim4x.pdf file (other 3 images) shows the results for a combined set of four simulated 100 coin toss experiments.
The observed Run-length PDF can be approximated by a binomial distribution, but it is actually a different probability distribution function. Identify the type of distribution and include it in your report.
Much greater than 100 tosses is required to obtain a reasonable approximation of the binomial distribution.
See the sample PDF file "CoinTossSim4x.pdf" (other 3 images)for a general idea of what you need to do. You must calculate the theoretical probability of getting 0-4 heads for 4 tosses and simulate at least 25 2,500 sets of 4 coin tosses (total of 10,000 samples minimum) and compare the frequencies against the theoretical binomial distribution. Both the calculated and experimental simulation PDF and CDF values for both the groups of 4 and the run length must be plotted in MATLAB using histograms.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 A B C Trial H/T 1 2 3 4 5 6 7 8. 9 10 11 12 13 14 15 16 17 SPENNANK 18 19 20 22 23 24 25 Subtotal 1 Subtotal 2 Subtotal 3 Subtotal 4 D Subtotal 1 Heads Grand Total Heads E F Trial H/T 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 A B C D E G Subtotal 2 Heads H I Trial H/T 51 52 53 54 55 56 57 58 volulu 59 60 61 62 CO CO CO 63 64 65 66 67 68 69 70 71 72 73 74 75 1 2 3 4 5 J Subtotal 3 Heads K L Trial H/T 76 77 78 600 79 80 81 82 83 a 221228 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 6 7 8 9 10 M Subtotal 4 Heads
Step by Step Solution
3.46 Rating (172 Votes )
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