d_cf: d Score / d c_f

Description Usage Arguments

Description

d_cf gives the gradient of the score w.r.t. c_f. Mainly needed for c_early

Usage

1
d_cf(parameters, n1, lambda1, lambda2, x)

Arguments

parameters

The parameters (alpha, power, etc.) you want to use for your design

n1

The first-stage sample size

lambda1

The penalization parameter for type one error

lambda2

The penalization parameter for type two error

x

The z-value of the first stage


MatheMax/OptReSample documentation built on May 5, 2019, 8:14 a.m.