Negative binomial distribution object
A NegativeBinomialDistribution
object consists of
parameters, a model description, and sample data for a negative binomial probability
distribution.
The negative binomial distribution models the number of failures x before a specified number of successes, R, is reached in a series of independent, identical trials. This distribution can also model count data, in which case R does not need to be an integer value.
The negative binomial distribution uses the following parameters.
Parameter | Description | Support |
---|---|---|
R | Number of successes | |
p | Probability of success |
There are several ways to create a NegativeBinomialDistribution
probability distribution object.
Create a distribution with specified parameter values using makedist
.
Fit a distribution to data using fitdist
.
Interactively fit a distribution to data using the Distribution Fitter app.
cdf | Cumulative distribution function |
icdf | Inverse cumulative distribution function |
iqr | Interquartile range |
mean | Mean of probability distribution |
median | Median of probability distribution |
negloglik | Negative loglikelihood of probability distribution |
paramci | Confidence intervals for probability distribution parameters |
pdf | Probability density function |
proflik | Profile likelihood function for probability distribution |
random | Random numbers |
std | Standard deviation of probability distribution |
truncate | Truncate probability distribution object |
var | Variance of probability distribution |