Geometric Distribution. Probability density function, cumulative distribution function, mean and variance
This calculator calculates geometric distribution pdf, cdf, mean and variance for given parameters
This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/7693/. Also, please do not modify any references to the original work (if any) contained in this content.
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
Cumulative distribution function of geometrical distribution is
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
Variance is
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.
Comments