Suppose I have a coin that has:
- A 0.3 probability of Heads and a 0.7 probability of Tails
- If Heads, score = score + 1.3 and if Tails, score = score - 0.9
- Each flip is i.i.d
I am interested in understanding how to analyze the following problems:
- Problem 1: Suppose the initial score = 0. What is the probability of the score = $n$ after $t$ turns?
- Problem 2: Given that the score at time $t$ is $n$ (i.e. conditional probability, what is the probability of the score being $m$ at time $t+s$?
Originally, I thought this problem would have had to be analyzed using Random Walks since we are trying to find out the Probability Distribution for the sum of a Binomial Distribution - but now I think that there might be an easier answer.
Here is my attempt:
Problem 1:
Define $ X_i$ as the result of each coin flip .Define the score after $ t$ steps by $ S_t$. Since, $ S_0 = 0$, the score after $ t$ turns can be expressed as: $$ S_t = X_1 + X_2 + \cdots + X_t $$
To find the probability that $S_t = n$, we need to determine the number of Heads ($ k$) and Tails ($ t - k$) that produces a total score of $n$. I tried to write out the algebra as:
$$ 1.3k - 0.9(t - k) = n $$ $$ 1.3k + 0.9k = n + 0.9t $$ $$ 2.2k = n + 0.9t $$ $$ k = \frac{n + 0.9t}{2.2} $$
There is a constraint in this problem that the number of Heads $ k$ must be an integer. If $ k$ is not an integer, the probability is zero. If $ k$ is an integer, the probability should just be a regular Binomial Distribution: $$ P(S_t = n) = P\left(H_t = k\right) = \binom{t}{k} (0.3)^k (0.7)^{t-k} $$
I think we can also drop the constraint and write this as an inequality:
$$ P(S_t \leq n) = P\left(H_t = k\right) = \binom{t}{k} (0.3)^k (0.7)^{t-k} $$
Problem 2: I think that this problem is identical to Problem 1, just with a different constraint equation.
The score difference between time $ t$ and time $ t+s$: $$ S_{t+s} - S_t = m - n $$
Define $ X_s$ as the score change over the next $ s$ flips: $$ X_s = 1.3H_s - 0.9(T_s) $$ where $ H_s$ is the number of Heads and $ T_s = s - H_s$ is the number of Tails in $ s$ flips.
Here is where the equation from Part 1 changes:
$$ 1.3H_s - 0.9(s - H_s) = m - n $$ $$ 1.3H_s + 0.9H_s = m - n + 0.9s $$ $$ 2.2H_s = m - n + 0.9s $$ $$ H_s = \frac{m - n + 0.9s}{2.2} $$
The probability of Heads is given by the Binomial distribution: $$ P(S_{t+s} = m \mid S_t = n) = P\left(H_s = \frac{m - n + 0.9s}{2.2}\right) = \binom{s}{k} (0.3)^k (0.7)^{s-k} $$ where $ k = \frac{m - n + 0.9s}{2.2}$.
We can also write this as an inequality without loss of generality.
Is my reasoning correct? It seems like Random Walks were not necessary in this problem?
- Note: I think somehow the answers from Question 1 and Question 2 can also be analyzed using a Normal Distribution?