Learn R Programming

ThreeArmedTrials (version 1.0-4)

poisson_likelihood: poisson_likelihood

Description

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

Usage

poisson_likelihood(theta, n_exp, n_ref, n_pla, sum_exp, sum_ref, sum_pla)

Value

numeric

Arguments

n_exp

sample size in the experimental treatment group

n_ref

sample size in the reference treatment group

n_pla

sample size in the placebo treatment group

sum_exp

sum of results of the experimental treatment group

sum_ref

sum of results of the reference treatment group

sum_pla

sum of results of the placebo treatment group

rate_exp

rate in the experimental treatment group

rate_ref

rate in the reference treatment group

rate_pla

rate in the placebo treatment group