negbin_likelihood: negbin_likelihood

Description Usage Arguments Value

View source: R/likelihoods.R

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


ThreeArmedTrials documentation built on May 29, 2017, 11:50 a.m.