Assume that we have an experiment $A$ which has the outcome "success" or "failure". Each time we try $A$ the probability of getting a success is different but always less than or equal to a given constant $p~(0<p<1$). The probability of success for every trial does not depent on previous trials.
Let $X$ be the random variable representing the number of times we have to repeat $A$ until we get the first success. Let $Y$ be a random variable that follows the geometric distribution with parameter $p$, i.e. $\Pr (Y=k) = (1-p)^{k-1} \cdot p$.
Does $X \geq_{\text{st}} Y$ hold? Why?
Remarks
- According to this link independent trials with non-constant probability are called "Poisson Trials".
- $\geq_{\text{st}}$ is the stochastic ordering. See the wikipedia page on Stochastic Ordering.
- The straightforward way to approach the problem is as follows:
If the probability of success in the $i$-th trial is $p_i \leq p$ it should hold that (for $k \geq 1$): $$ \Pr (X=k) = (1-p_1) \cdot \dots \cdot (1-p_{k-1}) \cdot p_k~. $$ Now we have that \begin{align*} & X \geq_{\text{st}} Y & \Leftrightarrow\\ & (\forall a) \Pr (X \geq a) \geq \Pr (Y \geq a) & \Leftrightarrow\\ & (\forall a) \Pr (X < a) \leq \Pr (Y < a)\\ \end{align*} Since the probability of getting a success in $A$ is always at most equal to $p$, the fact that $(\forall a) \Pr (X < a) \leq \Pr (Y < a)$ seems "reasoble", but I am unable to prove it.