The distribution of the number of failures (k) before the rth success in repeated independent bernoulli trials with individual probability p.
Static member | Description |
Full Usage:
NegativeBinomial_failures.CDF(r) (p) (k)
Parameters:
int
p : float
k : float
Returns: float
Probability of requiring a maximum of k failures when r successes are required at a individual probability of p
|
X=the number of failures before the rth succeess
|
Full Usage:
NegativeBinomial_failures.CheckParam(r) (p)
Parameters:
int
p : float
|
|
Full Usage:
NegativeBinomial_failures.Init(r) (p)
Parameters:
int
-
p : float
-
Returns: DiscreteDistribution<float, int>
|
Initializes a negative binomial distribution.
Example
|
Full Usage:
NegativeBinomial_failures.InvCDF(r) (p) (k)
Parameters:
int
p : float
k : 'a
Returns: 'b
|
X=the number of failures before the rth succeess
|
Full Usage:
NegativeBinomial_failures.Mean(r) (p)
Parameters:
int
-
p : float
-
Returns: float
|
Example
|
Full Usage:
NegativeBinomial_failures.Mode(r) (p)
Parameters:
int
-
p : float
-
Returns: int
|
Computes the mode. Number of failures with the highest probability to obtain r successes with the last trial.
Example
|
Full Usage:
NegativeBinomial_failures.PMF(r) (p) (k)
Parameters:
int
p : float
k : int
Returns: float
Probability of requiring k failures when r successes are required at a individual probability of p
|
|
Full Usage:
NegativeBinomial_failures.PMFLn(r) (p) (k)
Parameters:
int
p : float
k : int
Returns: float
log probability of requiring k failures when r successes are required at a individual probability of p
|
|
Full Usage:
NegativeBinomial_failures.Sample(r) (p)
Parameters:
int
-
p : float
-
Returns: 'a
|
Example
|
Full Usage:
NegativeBinomial_failures.SampleUnchecked(r) (p)
Parameters:
'a
-
p : 'b
-
Returns: 'c
|
Example
|
Full Usage:
NegativeBinomial_failures.StandardDeviation(r) (p)
Parameters:
int
-
p : float
-
Returns: float
|
Example
|
Full Usage:
NegativeBinomial_failures.Support(r) (p)
Parameters:
int
-
p : float
-
Returns: int * int
|
Example
|
Full Usage:
NegativeBinomial_failures.ToString(r) (p)
Parameters:
int
-
p : float
-
Returns: string
|
Example
|
Full Usage:
NegativeBinomial_failures.Variance(r) (p)
Parameters:
int
-
p : float
-
Returns: float
|
Example
|