crit_3_of_3: Critical value at final analysis

View source: R/helper_functions.R

crit_3_of_3R Documentation

Critical value at final analysis

Description

Find the critical value at the final analysis of a three-stage design

Usage

crit_3_of_3(info_frac_1_3, info_frac_2_3, crit_1, crit_2, design,
  alpha_spend_f = ldobf, alpha_one_sided = 0.025)

Arguments

info_frac_1_3

The observed information fraction: determines covariance of test statistics.

info_frac_2_3

The observed information fraction: determines covariance of test statistics.

crit_1

The critical value for the z-statistic at the first interim, found via crit_1_of_3.

crit_2

The critical value for the z-statistic at the second interim, found via crit_2_of_3.

alpha_spend_f

The alpha-spending function. Default is the Lan-DeMets O'Brien-Fleming function.

alpha_one_sided

One-sided alpha level.

Value

The critical value for the final z-statistic.


dominicmagirr/gsdelayed documentation built on May 15, 2024, 8:24 a.m.