Description Usage Arguments Details
score_direct
computes the objective score approximately if the c_2
-function and the n_2
-function
are approximated via a set of splines.
1 | score_direct(parameters, cf, ce, nodes, c2, n1, n2)
|
parameters |
Parameters (alpha, power, standardized effect) whith which you want to build your design |
cf |
Boundary for stopping for futility after the first stage |
ce |
Boundary for stopping for efficacy after the first stage |
nodes |
Nodes for the stage two functions |
c2 |
c_2-values that correspond to |
n1 |
First stage sample size |
n2 |
n_2-values that correspond to |
Note that nodes, c2 and n2 have to be of the same length. The score is given as the expected sample size of the design under the alternative hypothesis. The integrals are approximated via the trapezial rule.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.