# the expected number of changeovers

If you have n independent flips of a coin with probability p of landing heads. And a changeover occurs whenever an outcome differs from the one preceding it. Ex: if n=5 and outcome is HHTHT then there are 3 changeovers.

We can express the number of changeovers as the sum of n-1 Bernoulli random variables.

What is the expected number of changeovers?

© BrainMass Inc. brainmass.com June 3, 2020, 7:32 pm ad1c9bdddfhttps://brainmass.com/statistics/probability/the-expected-number-of-changeovers-103300

#### Solution Preview

Please see the attached file for detailed solution.

The probability of having a ...

#### Solution Summary

The solution shows how to calculate the expected number of changeovers, which is expressed as the sum of n -1 Bernoulli random variables.

$2.19