Binomial |
The binomial distribution is the discrete probability distribution of the number of successes in a sequence of n independent yes/no experiments, each of which yields success with probability p. Such a success/failure experiment is also called a Bernoulli experiment or Bernoulli trial; when n = 1, the binomial distribution is a Bernoulli distribution.
The Binomial distribution is an n times repeated Bernoulli trial. The binomial distribution is the basis for the popular binomial test of statistical significance.
This topic contains the following sections:
Constructor | Description | Performance |
---|---|---|
set success probability and number of trials | Creates new instance of Binomial with user specified parameters. |
Method | Description | Performance |
---|---|---|
pmf | Probability mass function. Static probability mass function. | |
cdf | Cumulative distribution function. Static cumulative distribution function. | |
inverse cdf | Inverse cumulative distribution function. Is useful for quantile calculation. Function will return value of random variable such that likelihood for this random variable to occur less than or equal to returned value equal to specified pvalue parameter. |
Property | Description | Performance |
---|---|---|
number of trials | Number of trials n. | |
success probability | Success probability in each trial p. | |
mean | Mean of the distribution. | |
median | Median is the numerical value separating the higher half of a probability distribution, from the lower half. | |
mode | Mode of distribution. | |
kurtosis | Excess Kurtosis of distribution. | |
skewness | Skewness of distribution. | |
variance | Variance of the distribution. |