Click or drag to resize

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

Constructor

Description

Performance

set success probability and number of trials

Creates new instance of Binomial with user specified parameters.

methodBinomial(Int32, Double)

Methods

Method

Description

Performance

pmf

Probability mass function.

DBinomial Pmf

methodPmf(Int32)

Static probability mass function.

StaticPmf(Int32, Int32, Double)

cdf

Cumulative distribution function.

DBinomial Cdf

methodCdf(Int32)

Static cumulative distribution function.

StaticCdf(Int32, Int32, Double)

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.

StaticInverseCdf(Double, Int32, Double)

Properties

Property

Description

Performance

number of trials

Number of trials n.

PropertyNumberOfTrials

success probability

Success probability in each trial p.

PropertySuccessProbability

mean

Mean of the distribution.

DBin Mean

PropertyMean

median

Median is the numerical value separating the higher half of a probability distribution, from the lower half.

DBin Median

PropertyMedian

mode

Mode of distribution.

DBin Mode

PropertyMode

kurtosis

Excess Kurtosis of distribution.

DBin Kurtosis

PropertyKurtosis

skewness

Skewness of distribution.

DBin Skewness

PropertySkewness

variance

Variance of the distribution.

DBin Variance

PropertyVariance