Let's say I have a series of 100 coin tosses, heads or tails. In fact (for my actual data) I don't know if subsequent trials are correlated or what the actual probabilities of getting heads or tails are. Nevertheless, I want to fit a geometric distribution, which gives me the distribution of the number of tails seen before a head come up.(adsbygoogle = window.adsbygoogle || []).push({});

Now I'm unsure how to actually approach this in practice. Can I take each point in the sequence and calculate how many tails come before a head, or would this overcount by using overlapping sequences. For example 4 heads in a row would be counted once as 4, then as 3 and then as 2 and 1 and 0 if i used this scheme. Alternatively do I take random samples as starting points or do I start each time the series alternates between heads and tails? If the series were uncorrelated (which the geometric distribution models it as) then it shouldnt matter which of these schemes I choose.

Any advice? Thanks.

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Fitting a geometric distribution to data

Loading...

Similar Threads - Fitting geometric distribution | Date |
---|---|

I How do I determine if improving a fit is significant? | Feb 10, 2018 |

I Fitting two models in sequence with parameters in common | Jan 14, 2018 |

I R-squared statistic for goodness-of-fit | Nov 28, 2017 |

A Weighting data points with fitted curve in Matlab | Aug 1, 2017 |

Problem in Geometric Probability | Jul 2, 2015 |

**Physics Forums - The Fusion of Science and Community**