# Geometric Distribution. Probability density function, cumulative distribution function, mean and variance

This calculator calculates geometric distribution pdf, cdf, mean and variance for given parameters

### Esta página existe graças aos esforços das seguintes pessoas:

#### Timur

Criado: 2018-01-26 07:26:07, Ultima atualização: 2021-02-13 11:04:37

In the theory of probability and statistics, a Bernoulli trial (or binomial trial) is a random experiment with exactly two possible outcomes, "success" and "failure," in which the probability of success is the same every time the experiment is conducted. wikipedia

When we want to know the probability of k successes in n such trials, we should look for the probability of k-th point in probability density function of the binomial distribution, for example here - Binomial distribution, probability density function, cumulative distribution function, mean and variance.
But if we want to know the probability of getting the first "success" on k-th trial, we should look into geometric distribution

Probability density function of geometrical distribution is
$f(x)=(1-p)^{x-1}p$
Cumulative distribution function of geometrical distribution is
$F(x)=1-(1-p)^{x}$
where p is probability of success of a single trial, x is the trial number on which the first success occurs.

Note that f(1)=p, that is, the chance to get the first success on the first trial is exactly p, which is quite obvious.

Mean or expected value for the geometric distribution is
$\mu_x=\frac{1}{p}$

Variance is
$\sigma^{2}_{x}=\frac{1-p}{p^2}$

The calculator below calculates the mean and variance of geometric distribution and plots the probability density function and cumulative distribution function for given parameters: the probability of success p and the number of trials n.

#### Geometric Distribution. Probability density function, cumulative distribution function, mean and variance

Digits after the decimal point: 2
Mean

Variance

Geometric distribution
The file is very large. Browser slowdown may occur during loading and creation.
Cumulative distribution function
The file is very large. Browser slowdown may occur during loading and creation.

URL copiado para a área de transferência
PLANETCALC, Geometric Distribution. Probability density function, cumulative distribution function, mean and variance