binary_likelihood_rest: binary_likelihood_rest

Description Usage Arguments Value

Description

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

Usage

1
2
binary_likelihood_rest(theta, Delta, n_exp, n_ref, n_pla, sum_exp, sum_ref,
  sum_pla, h, h_inv)

Arguments

theta

vector of rates

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

h

Function used in hypothesis

h_inv

Inverse function of h

Value

numeric


ThreeArmedTrials documentation built on May 2, 2019, 3:28 p.m.