Description Usage Arguments Value
Density, distribution function, quantile function and random generation for the stopped negative binomial distribution with parameters, 'prob', 's', and 't'.
1 2 3 4 |
x |
vector of quantiles. |
prob |
probility of success on each coin flip. |
s |
the ceiling for the snb process |
t |
the length of the the process can run for. |
q |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of observations. |
'dsnb' give the density, 'psnb' give the distribution function function, 'qsnb' gives the quantile function, 'rsnb' generates random deviates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.