Computes the optimal n_2-value for a given first stage z_1-value in the Lagrangian framework.
1 | n2(parameters, z, n1, lambda1, lambda2, cf, ce)
|
n2
differs from response only so far that the values are set to 0 outside the interval (cf,ce).
@param parameters Parameters specifying the design @param z Z_1-value of the first stage @param n1 First stage sample size @param lambda1 Penalization parameter for type I error @param lambda2 Penalization parameter for type II error @param cf Boundary for stopping for futility @param ce Boundary for stopping for efficacy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.