powered by
Calculate the log likelihood of the negative binomial function (and its derivatives)
llikNbinom(x, size, prob, 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
probability of success
Add the data frame showing x, mean, sd as well as the fx and derivatives
Matthew L. Fidler
llikNbinom(46:54, 100, 0.5) llikNbinom(46:54, 100, 0.5, TRUE)
Run the code above in your browser using DataLab