Student[Statistics]
GeometricRandomVariable
geometric random variable
Calling Sequence
Parameters
Description
Examples
References
Compatibility
GeometricRandomVariable(p)
p
-
probability of success
The geometric random variable is a discrete probability random variable with probability function given by:
f⁡t=0t<0p⁢1−ptotherwise
subject to the following conditions:
0<p,p≤1
The geometric random variable has the lack of memory property: the probability of an event occurring in the next time interval of an exponential random variable is independent of the amount of time that has already passed.
The geometric variate is a special case of the NegativeBinomial variate with number of trials parameter x=1.
The continuous analog of the geometric variate is the Exponential variate.
Note that the distribution above is for the number of failures before the first success. The other common convention is for the number of trials with the last being the first success. That is, the other convention would have p⁢1−pt−1 in the probability function.
with⁡StudentStatistics:
X≔GeometricRandomVariable⁡p:
ProbabilityFunction⁡X,u
0u<0p⁢1−puotherwise
ProbabilityFunction⁡X,2
p⁢1−p2
Mean⁡X
1−pp
Variance⁡X
1−pp2
Y≔GeometricRandomVariable⁡14:
ProbabilityFunction⁡Y,x,output=plot
CDF⁡Y,x
0x<01−34x+1otherwise
CDF⁡Y,5,output=plot
Evans, Merran; Hastings, Nicholas; and Peacock, Brian. Statistical Distributions. 3rd ed. Hoboken: Wiley, 2000.
Johnson, Norman L.; Kotz, Samuel; and Balakrishnan, N. Continuous Univariate Distributions. 2nd ed. 2 vols. Hoboken: Wiley, 1995.
Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol. 1: Distribution Theory.
The Student[Statistics][GeometricRandomVariable] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
Statistics[Distributions][Geometric]
Student
Student[Statistics][RandomVariable]
Download Help Document