binary_likelihood_rest: binary_likelihood_rest

View source: R/likelihoods.R

binary_likelihood_restR Documentation

binary_likelihood_rest

Description

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

Usage

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 Dec. 28, 2022, 2:06 a.m.