asked 34.4k views
3 votes
Let’s fix some n e {1,2,3,...}. A biased coin with probability of head p is tossed n times, and the number of heads, N1, is counted. The coin is then tossed Ni more times, and the number of heads, N2, is counted. Find the expected total number of heads, E[Ni + N2], generated by this process. The answer should depend on n and p only.

asked
User Arrehman
by
8.3k points

1 Answer

6 votes

Answer:

The answer is "np(1+p)".

Explanation:


N_1 = Number of n tossed heads

According to
N_1, Y = amount of
N_1 tossing heads

So,
N_1~ Bin(n, p) and
N_2 |
N_1 ~ Bin(
N_1, p)


E(N_1+N_2) & = E\Big[N_1+N_2\vert N_1\Big]\\ &


= E(N_1)+E\Big[N_2\vert N_1\Big]\\\\ & = E(N_1) + E(N_1\,p)\\\\ & = np + np.p \\\\ =np+np^2\\\\ =np(1+p)

answered
User Piotr Walat
by
7.7k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.