powered by
Calculate the log likelihood of the negative binomial function (and its derivatives)
llikNbinomMu(x, size, mu, full = FALSE)
data frame with fx for the pdf value of with dProb that has the derivatives with respect to the parameters at the observation time-point
fx
dProb
Number of successes
Size of trial
mu parameter for negative binomial
Add the data frame showing x, mean, sd as well as the fx and derivatives
Matthew L. Fidler
llikNbinomMu(46:54, 100, 40) llikNbinomMu(46:54, 100, 40, TRUE)
Run the code above in your browser using DataLab