0
$\begingroup$

A coin $C$ is tossed $n$ times. The coin $C$ is known to have the following properties :

  • Let $p_i$ denote the probability of showing heads in the $i$-th toss, and $q_i$ denote the probability of showing tails in the $i$ -th toss, so that $p_i + q_i = 1$ for all $i$,
  • If the $i$ -th toss gives a heads, then $p_{i+1} = k \cdot p_i,$ (where $k \in (0,1]$ is a fixed real number), and $q_{i+1} = 1- p_i,$
  • If the $i$ -th toss gives a tails, then $q_{i+1} = \ell \cdot q_i,$ (where $\ell \in (0,1]$ is a fixed real number), and $p_{i+1} = 1- q_{i+1}.$

What is the probability that the sequence of outcomes doesn't have two consecutive heads in it ?

The case when $k= \ell = 1$ simply leads us to the Fibonacci recursion, and is therefore easy to handle.

Motivation behind considering the problem :

There are several situations where one can have either a failure or a success and the probabilities of success of failures change. For instance consider a seasonal ailment which makes its incidence in humans at most once each year. Now, given a person has already suffered from the ailment in a certain year, his / her immunity may change so that the probability that the person faces the ailment in the next year changes.

$\endgroup$
2
  • $\begingroup$ Only for my interest: What do you mean by "Fibonacci recursion"? (Of course $k = \ell = 1$ are easy to handle.) $\endgroup$ Jun 16, 2020 at 14:24
  • $\begingroup$ Take out the first two outcomes. If the first one is tails, then the remaining $n-1$ length sequence of outcomes has no restrictions, and if the first outcome is heads, then the second one must be a tails, and thereafter the remaining $n-2$ length outcome sequence has no restriction on it. So, the Fibonacci recursion. $\endgroup$ Jun 16, 2020 at 17:19

1 Answer 1

0
$\begingroup$

Building on a hint that was provided by prof. Arnab Chakraborty from Indian Statistical Institute, Kolkata, India (where I study) I am writing this answer.

Let us consider a more general problem : suppose we have a coin $C$ which shows heads with probability $x$ and tails with probability $1-x$, and suppose $y \in [0,1].$ Let our interest be to generate a random variable $X$ which takes the value $1$ with probability $y$ and the value $0$ with probability $1-y$ using the given coin.

We first construct an unbiased coin tossing random variable (that is a binomial$(1,0.5)$ random variable). For this we do the following : toss the coin $C$ twice. If the sequence of outcomes is $H,T$ then declare $Y=1$. Otherwise if the sequence of outcomes is $T,H$ then we declare $Y=0.$ For any other sequence of the two outcomes, we just reject those two tosses, and toss $C$ twice once more. So, this would give us a random variable $Y \sim \text{binomial}(1,0.5).$

Next we consider the binary expression for the probability $y,$ and accordingly use the random variable $Y$ constructed above, to get a random variable $X \sim \text{binomial}(1,y).$

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.