Geometric distribution
- Dire notice: "The content is iffy, and uses a weird convention where geometric is time to first failure. New page content at Geometric distribution2"
- Partial expectation proof to be found at Geometric distribution2 page.
Geometric Distribution | |
X∼Geo(p) for p the probability of each trials' success | |
X=k means that the first success occurred on the kth trial, k∈N≥1 | |
Definition | |
---|---|
Defined over | X may take values in N≥1={1,2,…} |
p.m.f | P[X=k]:=(1−p)k−1p |
c.d.f / c.m.f[Note 1] | P[X≤k]=1−(1−p)k |
cor: | P[X≥k]=(1−p)k−1 |
Properties | |
Expectation: | E[X]=1p |
Variance: | TODO: Unknown [Note 2]
|
Contents
[hide]Definition
Consider a potentially infinite sequence of \text{Borv} variables, ({ X_i })_{ i = 1 }^{ n } , each independent and identically distributed (i.i.d) with X_i\sim\text{Borv} (p), so p is the probability of any particular trial being a "success".
The geometric distribution models the probability that the first success occurs on the k^\text{th} trial.
As such:
- \P{X\eq k} :\eq (1-p)^{k-1}p - which is derived as folllows:
- \P{X\eq k} :\eq \Big(\P{X_1\eq 0}\times\Pcond{X_2\eq 0}{X_1\eq 0}\times\cdots\times \Pcond{X_{k-1}\eq 0}{X_1\eq 0\cap X_2\eq 0\cap\cdots\cap X_{k-2}\eq 0}\Big)\times\Pcond{X_k\eq 1}{X_1\eq 0\cap X_2\eq 0\cap\cdots\cap X_{k-1}\eq 0}
- Using that the X_i are independent random variables we see:
- \P{X\eq k}\eq \left(\prod^{k-1}_{i\eq 1}\P{X_i\eq 0}\right)\times \P{X_k\eq 1}
- \eq (1-p)^{k-1} p as they all have the same distribution, namely X_i\sim\text{Borv}(p)
- \P{X\eq k}\eq \left(\prod^{k-1}_{i\eq 1}\P{X_i\eq 0}\right)\times \P{X_k\eq 1}
- Using that the X_i are independent random variables we see:
- \P{X\eq k} :\eq \Big(\P{X_1\eq 0}\times\Pcond{X_2\eq 0}{X_1\eq 0}\times\cdots\times \Pcond{X_{k-1}\eq 0}{X_1\eq 0\cap X_2\eq 0\cap\cdots\cap X_{k-2}\eq 0}\Big)\times\Pcond{X_k\eq 1}{X_1\eq 0\cap X_2\eq 0\cap\cdots\cap X_{k-1}\eq 0}
Convention notes
during proof of \mathbb{P}[X\le k] the result is obtained using a geometric series, however one has to align the sequences (not adjust the sum to start at zero, unless you adjust the S_n formula too!)
Check the variance, I did part the proof, checked the MEI formula book and moved on, I didn't confirm interpretation.
Make a note that my Casio calculator uses 1-p as the parameter, giving \mathbb{P}[X\eq k]:\eq (1-p)^{k-1}p along with the interpretation that allows 0
Notes
- Jump up ↑ Do we make this distinction for cumulative distributions?
- Jump up ↑ Due to different conventions on the definition of geometric (for example X':\eq X-1 for my X and another's X'\sim\text{Geo}(p)) or even differing by using 1-p in place of p in the X and X' just mentioned - I cannot be sure without working it out that it's \frac{1-p}{p^2} - I record this value only for a record of what was once there with the correct expectation - DO NOT USE THIS EXPRESSION
References
|