Bernoulli distribution.
Static member | Description |
Full Usage:
Bernoulli.CDF(p) (x)
Parameters:
float
-
x : float
-
Returns: float
|
Example
|
Full Usage:
Bernoulli.CheckParam(p)
Parameters:
float
|
|
Full Usage:
Bernoulli.Estimate(observations, ?weights)
Parameters:
float[]
?weights : float[]
Returns: DiscreteDistribution<float, int>
|
|
Full Usage:
Bernoulli.Fit(observations, ?weights)
Parameters:
float[]
?weights : float[]
Returns: float
|
|
|
Example
|
Full Usage:
Bernoulli.InvCDF(p) (x)
Parameters:
float
-
x : 'a
-
Returns: 'b
|
Example
|
Full Usage:
Bernoulli.Mean(p)
Parameters:
float
-
Returns: float
|
Example
|
Full Usage:
Bernoulli.Mode(p)
Parameters:
float
-
Returns: int
|
Example
|
Full Usage:
Bernoulli.PMF(p) (x)
Parameters:
float
-
x : int
-
Returns: float
|
Example
|
Full Usage:
Bernoulli.Sample(p)
Parameters:
float
-
Returns: int
|
Example
|
Full Usage:
Bernoulli.StandardDeviation(p)
Parameters:
float
-
Returns: float
|
Example
|
|
Example
|
Full Usage:
Bernoulli.ToString(p)
Parameters:
float
-
Returns: string
|
Example
|
Full Usage:
Bernoulli.Variance(p)
Parameters:
float
-
Returns: float
|
Example
|