negbin_likelihood: negbin_likelihood

View source: R/likelihoods.R

negbin_likelihoodR Documentation

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

Value

numeric


tobiasmuetze/ThreeArmedTrials documentation built on April 25, 2023, 8:26 a.m.