Question: PURPOSE: Understand Markov chains as a means to model/predict probabilistic processes in a simple case. a. Toss a coin 32 times and record the outcome

PURPOSE: Understand Markov chains as a means to model/predict probabilistic processes in a simple case.

a. Toss a coin 32 times and record the outcome (as a string of H and T).

b. Compute the experimentally observed probability of heads over tosses 2 through 21, inclusive (20 outcomes).

c. Compute the Markov chain transition probabilities over the first 21 tosses (viz., the first 20 transitions).

d. Repeat (a)-(c) above with a sequence verbally derived from a friend not in the class who does not know the underlying model you are trying to construct.

e. Using any language you wish, implement a computer program that uses the Markov chain model to predict the final ten transitions of each data set (throws 23-32 given the values of throws 22-31, respectively). That is, given the previous state (throw i), compute the next state (throw i+1) using the model, compare with the actual data, and tally the error function (# of wrong guesses).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!