Bernoulli Class |
Namespace: FinMath.Statistics.Distributions
[SerializableAttribute] public class Bernoulli : Binomial
The Bernoulli type exposes the following members.
Name | Description | |
---|---|---|
Bernoulli(Double) |
Creates new instance of Bernoulli with user specified success probability.
| |
Bernoulli(RandomGenerator, Double) |
Creates new istance of Bernoulli with user specified success probability and generator.
|
Name | Description | |
---|---|---|
Entropy |
Entropy of the distribution.
http://en.wikipedia.org/wiki/Information_entropy
(Inherited from DUDistribution.) | |
Kurtosis |
Excess Kurtosis of distribution.
http://en.wikipedia.org/wiki/Excess_kurtosis
(Inherited from Binomial.) | |
Mean |
Mean of the distribution.
http://en.wikipedia.org/wiki/Expected_value
(Inherited from Binomial.) | |
Median |
Median of distribution.
http://en.wikipedia.org/wiki/Median
(Inherited from Binomial.) | |
Mode |
Mode of distribution.
http://en.wikipedia.org/wiki/Mode_(statistics)
(Inherited from Binomial.) | |
NumberOfTrials |
Number of trials.
(Inherited from Binomial.) | |
Skewness |
Skewness of distribution.
http://en.wikipedia.org/wiki/Skewness
(Inherited from Binomial.) | |
StandardDeviation |
Standard deviation of the distribution.
http://en.wikipedia.org/wiki/Standard_Deviation
(Inherited from DUDistribution.) | |
SuccessProbability |
Success probability in each trial.
(Inherited from Binomial.) | |
Variance |
Variance of the distribution.
http://en.wikipedia.org/wiki/Variance
(Inherited from Binomial.) |
Name | Description | |
---|---|---|
Cdf(Int32) |
Cumulative distribution function.
http://en.wikipedia.org/wiki/Cumulative_distribution_function
(Inherited from Binomial.) | |
Cdf(Int32, Double) |
Static cumulative distribution function.
http://en.wikipedia.org/wiki/Cumulative_distribution_function
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InverseCdf(Double) |
Inverse cumulative distribution function. Is userful for quatile generation.
Function will return random variable value such that probability that distribution sample
will get value less than or equal to returned value is equal to specified probability.
Note. Handle special cases pvalue = 0 and pvalue = 1 separately if results Int32.MinValue and Int32.MaxValue respectively are not expected ones.
(Inherited from DUDistribution.) | |
InverseCdf(Double, Double) |
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.
| |
Pmf(Int32) |
Probability mass function.
http://en.wikipedia.org/wiki/Probability_mass_function
(Inherited from Binomial.) | |
Pmf(Int32, Double) |
Static probability mass function.
http://en.wikipedia.org/wiki/Probability_mass_function
| |
Sample |
Generate random variable sample.
(Inherited from DUDistribution.) | |
Sample(Int32) |
Generate series of random variable samples.
(Inherited from DUDistribution.) | |
Sample(Int32) |
Fill in array with random variable series.
(Inherited from DUDistribution.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |