Statistics Toolbox    
geostat

Mean and variance for the geometric distribution

Syntax

Description

[M,V] = geostat(P) returns the mean and variance for the geometric distribution with parameters specified by P.

The mean of the geometric distribution with parameter p is q/p, where q = 1-p. The variance is q/p2.

Examples

See Also

geocdf, geoinv, geopdf, geornd


  geornd gline