View source: R/BayesianPredictiveFutility.R
nNeededFromTotal | R Documentation |
Calculates number of positive outcomes from total number of patients that is required for the full study to be successful
nNeededFromTotal( ns, p.target, beta.a, beta.b, cutoff.n.for.greater.p0, increase )
ns |
array of patients per stage |
p.target |
target probability for successful study |
beta.a |
beta a |
beta.b |
beta b |
cutoff.n.for.greater.p0 |
cutoff.n.for.greater.p0 |
increase |
boolean for specifying if study evaluation is aimed capture significant increase or decrease. TRUE = increase FALSE = reduce |
numeric value of outcomes that needs to be exceded for positive outcome of study
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.