type_two: Compute the type II error

Description Usage Arguments Details

Description

type_two computes the type II error approximately if the c_2-function and the n_2-function are approximated via a set of splines.

Usage

1

Arguments

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 nodes

n1

First stage sample size

n2

n_2-values that correspond to nodes

Details

Note that nodes, c2 and n2 have to be of the same length.


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