Data Science, Data Visualization, Data Analysis, Rust, Programming.
(1.0, 0.5)) in each NegativeBinomial::new method represents different values of r, the number of successes and p, the probability of success. Notice the dist.pmf function invocation which computes the Negative Binomial distribution pmf for a given sample. Now we can plot this vector using plotters