Derivatives of PGF of Shifted Geometric Distribution
Theorem
Let $X$ be a discrete random variable with the shifted geometric distribution with parameter $p$.
Then the derivatives of the PGF of $X$ w.r.t. $s$ are:
- $\displaystyle \frac {d^n} {ds^n} \Pi_X \left({s}\right) = \frac {p q^{n-1} \left({n-1}\right)!} {\left({1 - qs}\right)^{n+1}}$
where $q = 1 - p$.
Proof
The Probability Generating Function of Shifted Geometric Distribution is:
- $\displaystyle \Pi_X \left({s}\right) = \frac {ps} {1 - qs}$
where $q = 1 - p$.
First we need to obtain the first derivative:
| \(\displaystyle \) | \(\displaystyle \Pi'_X \left({s}\right)\) | \(=\) | \(\displaystyle \frac d {ds} \left({\frac {p s} {1 - qs} }\right)\) | \(\displaystyle \) | |||
| \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle p s \frac d {ds} \left({\frac 1 {1 - qs} }\right) + \frac 1 {1 - qs} \frac d {ds} \left({ps}\right)\) | \(\displaystyle \) | Sum Rule for Derivatives | ||
| \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle \frac {p q s} {\left({1 - qs}\right)^2} + \frac {p} {1 - qs}\) | \(\displaystyle \) | LHS is first derivative of PGF of Geometric Distribution | ||
| \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle \frac {p q s + p \left({1 - qs}\right)} {\left({1 - qs}\right)^2}\) | \(\displaystyle \) | |||
| \(\displaystyle \) | \(\displaystyle \) | \(=\) | \(\displaystyle \frac p {\left({1 - qs}\right)^2}\) | \(\displaystyle \) | after some algebra |
From Derivatives of Function of ax + b, we have that:
- $\displaystyle \frac {d^n} {ds^n} \left({f \left({1 - qs}\right)}\right) = \left({-q}\right)^n \frac {d^n} {dz^n} \left({f \left({z}\right)}\right)$
where $z = 1 - qs$.
Here we have that $f \left({z}\right) = p \dfrac 1 {z^2}$.
From Nth Derivative of Reciprocal of Mth Power:
- $\displaystyle \frac {d^{n-1}}{dz^{n-1}} \frac 1 {z^2} = \frac {\left({-1}\right)^{n-1} 2^{\overline {n-1}}} {z^{\left({n-1}\right) + 2}}$
where $\overline {n-1}$ denotes the rising factorial.
Note that we consider the $n-1$th derivative because we've already taken the first one.
Also note that $2^{\overline {n-1}} = 1^{\overline {n-1}} = \left({n-1}\right)!$
So putting it together:
- $\displaystyle \frac {d^n} {ds^n} \Pi_X \left({s}\right) = p \left({-q}\right)^{n-1} \frac {\left({-1}\right)^{n-1} \left({n-1}\right)!} {\left({1 - qs}\right)^{n + 1}}$
whence (after algebra):
- $\displaystyle \frac {d^n} {ds^n} \Pi_X \left({s}\right) = \frac {p q^{n-1} \left({n-1}\right)!} {\left({1 - qs}\right)^{n+1}}$
$\blacksquare$