Cognitoware.Robotics.dll

Class Binomial<T>

System.Object

Cognitoware.Mathematics.Probability.RandomDistribution<T>

Cognitoware.Mathematics.Probability.Continuous.ContinuousDistribution<T>

Cognitoware.Mathematics.Probability.Continuous.Binomial<T>

A binomial distribution.

Binomial(Int32, Int32)

Creates a binomial distribution where one event has been observed p times and the other event observed q times.

AliasAs()

Inherited from Cognitoware.Mathematics.Probability.RandomDistribution

Equals(Object)

Inherited from System.Object

Finalize()

Inherited from System.Object

GetEntropy(IEnumerable<T>)

Inherited from Cognitoware.Mathematics.Probability.RandomDistribution

GetHashCode()

Inherited from System.Object

GetType()

Inherited from System.Object

MemberwiseClone()

Inherited from System.Object

Multiply(Binomial<T>, Binomial<T>)

Mutiplies two binomials to mean in a new binomial.

Gets the probability density that E[X=q] = t.

Product(Binomial<T>)

Mutiplies this binomial by a binomial to mean in a new binomial.

Sample(Random)

Not implemented in Binomial.

ToString()

Inherited from System.Object

A binomial distribution models the expectation of a two x random variable.
Let a random variable X have two states [0,1].
E[X] is average of all events.
If both events are equally likely then E[X=0] = E[X=1] = 0.5.
The binomial distribution models the probability of E[X].
P(E[X]) = K * E[X]p * (1-E[X])q

public Binomial(Int32 p, Int32 q)

Creates a binomial distribution where one event has been observed p times and the other event observed q times.

`p`

- The number of times the first event has been observed.`q`

- The number of times the second event has been observed.public static Binomial<T> Multiply(Binomial<T> arg0, Binomial<T> arg1)

Mutiplies two binomials to mean in a new binomial.
The operation sums the values of p and q in both distributions.

`arg0`

- The first operand.`arg1`

- The second operand.A new binomial combining information from the two operands.

public override Double ProbabilityOf(T t)

Gets the probability density that E[X=q] = t.

`t`

- An expected value.The probability that the specified expected value is the true expected values.

public final virtual Binomial<T> Product(Binomial<T> that)

Mutiplies a binomial by a binomial to mean in a new binomial.
The operation sums the values of p and q in both distributions.
Product is used to collapse distribution representations during Bayesian inferencing.

`that`

- The second operand in the multiplication.A new binomial combining the information from the two binomial arguments.

public override T Sample(Random select)

Implements the abstract method in RandomDistribution.
Throws NotImplementedException.