Prove that the following two summations are equal for any positive integers $i\leq n$, and any real number $p$ between $0$ and $1$:
$$ \sum_{k=i}^{n} {k-1 \choose i-1} p^i (1-p)^{k-i} = \sum_{k=i}^{n} {n \choose k} p^k (1-p)^{n-k} $$
I know the equation is originated from Binomial distribution and its insight. That is, $$ P\{X(i,p) > n\} = P\{B(n,p) < i\}, $$ which implies $$ 1 - \sum_{k=i}^{n} {k-1 \choose i-1} p^i (1-p)^{k-i} = \sum_{k=0}^{i-1} {n \choose k} p^k (1-p)^{n-k}. $$
But I do not know how to prove it mathematically using some transformations in combinatorics.
We show the identity \begin{align*} \color{blue}{\sum_{k=i}^{n} \binom{k-1}{i-1} p^i (1-p)^{k-i} = \sum_{k=i}^{n} \binom{n}{k}p^k (1-p)^{n-k}}\tag{1} \end{align*} is valid. We consider (1) as equality of polynomials of order $i$ and degree $n$ in the variable $p$. It is therefore sufficient to show equality of coefficients $[p^q], i\leq q\leq n$.
We use the coefficient of operator $[z^q]$ to denote the coefficient of series in $z$. We can write this way \begin{align*} [z^q](1+z)^n=\binom{n}{q}\tag{2} \end{align*}
Comment:
In (3) we apply the rule $[p^{a-b}]A(p)=[p^a]p^bA(p)$.
In (4) we select the coefficient of $[p^{q-i}]$ according to (2). Note the sum starts with $k=q$ since smaller indices do not contribute due to the factor $\binom{k-1}{k-q}$.
In (5) we use the binomial identity \begin{align*} \binom{k-1}{i-1}\binom{k-i}{q-i}=\frac{(k-1)!}{(i-1)!(k-i)!}\,\frac{(k-i)!}{(q-i)!(k-q)!}=\binom{q-1}{i-1}\binom{k-1}{k-q} \end{align*}
In (6) we shift the index and start with $k=0$. We also use $\binom{n}{k}=\binom{n}{n-k}$.
In (7) we apply (2) again and do some rearrangements in the next step.
In (8) we use the finite geometric series formula and observe that only the left term in parenthesis contributes to $[z^{q-1}]$.