negbin_likelihood: negbin_likelihood
Description
negative log-likelihood function of the three-arm study with negative binomial endpoints
Usage
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