llikNbinom: Calculate the log likelihood of the negative binomial...

View source: R/llik.R

llikNbinomR Documentation

Calculate the log likelihood of the negative binomial function (and its derivatives)

Description

Calculate the log likelihood of the negative binomial function (and its derivatives)

Usage

llikNbinom(x, size, prob, full = FALSE)

Arguments

x

Number of successes

size

Size of trial

prob

probability of success

full

Add the data frame showing x, mean, sd as well as the fx and derivatives

Value

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

Author(s)

Matthew L. Fidler

Examples


llikNbinom(46:54, 100, 0.5)

llikNbinom(46:54, 100, 0.5, TRUE)


rxode2ll documentation built on April 12, 2025, 1:56 a.m.