# Definition:Geometric Distribution/Shifted

## Definition

Let $X$ be a discrete random variable on a probability space $\struct {\Omega, \Sigma, \Pr}$.

$X$ has the **shifted geometric distribution with parameter $p$** if and only if:

- $\map X \Omega = \set {1, 2, \ldots} = \N_{>0}$
- $\map \Pr {X = k} = p \paren {1 - p}^{k-1}$

where $0 < p < 1$.

It is written:

- $X \sim \ShiftedGeometric p$

## Also presented as

The shifted geometric distribution can also be found presented as:

- $\map \Pr {X = k} = q^{k - 1} p$

where $q = 1 - p$.

## Also known as

This page has been identified as a candidate for refactoring of advanced complexity.In particular: All approaches to the geometric distribution need to be rationalised.Until this has been finished, please leave
`{{Refactor}}` in the code.
Because of the underlying complexity of the work needed, it is recommended that you do not embark on a refactoring task until you have become familiar with the structural nature of pages of $\mathsf{Pr} \infty \mathsf{fWiki}$.To discuss this page in more detail, feel free to use the talk page.When this work has been completed, you may remove this instance of `{{Refactor}}` from the code. |

Some sources, for example 1986: Geoffrey Grimmett and Dominic Welsh: *Probability: An Introduction*, refer to this as the **geometric distribution**, failing adequately to distinguish between this and what is defined on $\mathsf{Pr} \infty \mathsf{fWiki}$ as the geometric distribution.

The distinction may appear subtle, but the two distributions do have subtly different behaviour.

For example (and perhaps most significantly), their expectations are different:

- Expectation of Geometric Distribution: $\expect X = \dfrac p {1 - p}$

- Expectation of Shifted Geometric Distribution: $\expect X = \dfrac 1 p$

Also, **beware confusion**: some treatments of this subject define the **geometric distribution** as the number of failures before the first success, that is:

- $\map X \Omega = \set {0, 1, 2, \ldots} = \N$
- $\map \Pr {X = k} = p \paren {1 - p}^k$

which makes this distribution hardly any different from (and therefore, hardly any more useful than) the **shifted geometric distribution**.

## Also see

- Bernoulli Process as Shifted Geometric Distribution where it is shown that this models the number of Bernoulli trials performed before the first success is achieved.

- Results about
**the shifted geometric distribution**can be found here.

## Technical Note

The $\LaTeX$ code for \(\ShiftedGeometric {p}\) is `\ShiftedGeometric {p}`

.

When the argument is a single character, it is usual to omit the braces:

`\ShiftedGeometric p`

## Sources

- 1986: Geoffrey Grimmett and Dominic Welsh:
*Probability: An Introduction*... (previous) ... (next): $\S 2.2$: Examples: $(9)$