properties_binom_one: Properties for single-arm single binomial endpoint trial...

Description Usage Arguments Value

Description

Get frequentist and Bayesian properties for a single-arm single binomial endpoint trial design.

Usage

1
2
properties_binom_one(failure = NULL, success = NULL, reviews = NULL, 
	p0, p1, prior.a = 0, prior.b = 0, round = TRUE, cutpoints = NULL)

Arguments

failure

Vector of failures needed to stop the trial

success

Vector of successes needed to stop the trial

reviews

Vector of the number of patients at each analysis

p0

probability of success under H0

p1

probability of success under H1

prior.a,prior.b

beta prior parameters

round

Option whether to round results or not

cutpoints

Alternative usage, this replaces failure, success and reviews with a data.frame with columns of the same names

Value

Returns an object of class trialDesign_binom_one.


finite2/Eurosarc_bayes documentation built on May 16, 2019, 12:53 p.m.