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