Learn R Programming

ThreeArmedTrials (version 1.0-4)

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)

Value

numeric

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