Geometric Random Variable
In questa pagina 5
Definition and density
The context is that of binary trials with the events forming an independent family, each with . The total number of trials is not fixed in advance; rather the experiment continues until, for the first time, the outcome is . Let be the number of the trial at which the first is observed. The alphabet of is Density of (a sequence of zeros followed by a one): Verification that is a density (geometric series with ratio ):
Definition. The r.v. with alphabet and density , , is said to be a geometric r.v. with parameter , and is denoted . Its stem plot has stems of height at , at , and so on, decreasing geometrically.
Tail probabilities
Example. The probability of passing the exam of Probability Theory is . Let = "the trial at which you pass the exam". Then
Distribution function
Complementing we get and for all , . A compact formula valid for all is where is the integer part of and the factor is there because for . The graph is a staircase starting with a jump of height at , then jumping at and approaching (see Distribution FunctionThe distribution function F_X(x) = P(X <= x) is an alternative to the discrete density; for a discrete random variable it is a right-continuous non-decreasing step function whose jumps are the values of the density.Distribution Function →).
Expectation and variance
(The term of the sum vanishes, and .)
The variance is (stated on the page without derivation) See Expected ValueThe expected value E(X) is the sum of the values of a discrete random variable weighted by their probabilities; it is linear, lies between the smallest and the largest value, and equals the barycenter of the density.Expected Value → and VarianceThe variance is the expected squared deviation from the expected value and measures how spread out a random variable is; it is non-negative, zero only for constants, scales with the square of a multiplier, ignores shifts, and equals E(X^2) minus the square of E(X).Variance → for the definitions.
Memoryless property
This property of the geometric r.v. refers to the (unexpected) fact that In words: having waited more than trials for the first success does not change the probability of having to wait more than trials starting from now. After each failure the process starts anew.
Proof. Since ,
Remark. It is not too difficult to prove that the geometric is the only r.v. on with this property.
Versione ripasso
- = index of the first success in independent trials with success probability ; ; : . It sums to 1 (geometric series).
- Tail: (sum of the series from ). Example: pass probability : .
- DF: ; for all real : .
- ; .
- Memoryless: ; the geometric is the only r.v. on with this property.
- Typical mistake: confusing the geometric (number of trials until the first success) with the binomial (number of successes in fixed trials).