negbin_likelihood

Description

negative log-likelihood function of the three-arm study with negative binomial endpoints

Usage

1
negbin_likelihood(theta, x_exp, x_ref, x_pla)

Arguments

theta

parameter vector (rate_exp, rate_ref, rate_pla)

x_exp

results of the experimental treatment group

x_ref

results of the reference treatment group

x_pla

results of the placebo treatment group

Value

numeric

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.