Any probability experts or users of markov chains

vampsthevampyre

New Member
Joined
Apr 29, 2016
Messages
28
Office Version
  1. 365
Platform
  1. Windows
Afternoon All,

Just been watching a video regarding probability of coin flips. The initial set up I can understand, how to create a state chart (see attached spreadsheet) of the chances of 7 heads in a row. But after this the video stated that to simulate the flipping a coin 200 times. the video states that if you raise the initial state matrix to the power of 200 you will then get the second matrix which shows the probability of getting 7 heads in a row raises to 0.54 or 54%.

I've tried searching for how to recreate this in excel but the maths goes way beyond my knowledge and the solutions also show markov chains and that really makes my head hurt. Is this possible to do in excel? and if so how.

Also how easy is it to change the number of flips and introduce a biased coin (i.e. 67% tails, 23% heads)

Any help would be appreciated

Regards

Ian


roulette.xlsx
BCDEFGHIJKLMNOPQRSTUV
3After 200 flips
4Next StateNext State
50123456701234567
600.50.500000000.230.110.060.030.010.010.0040.54
710.500.50000010.230.110.060.030.010.010.0040.55
820.5000.5000020.220.110.060.030.010.010.0040.55
9Current30.50000.5000Current30.220.110.050.030.010.010.0030.57
10State40.500000.500State40.20.10.050.030.010.010.0030.6
1150.5000000.5050.170.090.040.020.010.010.0030.66
1260.50000000.560.110.060.030.020.010.0030.0020.77
1370.50000001700000001
Sheet10
 
@shg, it's good to see you back on the forum!

In the link @Eric W posted, the "1" value in the k-step Fibonacci is regarded as the zero-th term. I'm following that counting method.

If you use the OEIS versions, with the initial zero values, you'll need to shift to the right, e.g. by 7 in the case of heptanacci.
 
Last edited:
Upvote 0

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,223,578
Messages
6,173,167
Members
452,504
Latest member
frankkeith2233

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top