%!demo
%! ## Compute confidence intervals for parameters of a fitted Negative Binomial
%! ## distribution
%! rand ("seed", 21);
%! data = nbinrnd(5, 0.5, 1000, 1);
%! pd_fitted = fitdist (data, "NegativeBinomial");
%! ci = paramci (pd_fitted, "Alpha", 0.05)
%!
%! ## Use this to obtain confidence intervals for the estimated parameters (R and P),
%! ## providing a range of plausible values given the data.
