calc_conditional_power: Calculate the conditional power to reject both hypothesis...

View source: R/conditional_probability_functions.R

calc_conditional_powerR Documentation

Calculate the conditional power to reject both hypothesis given both interim test statistics.

Description

Calculate the conditional power to reject both hypothesis given both interim test statistics.

Usage

calc_conditional_power(Z_TP1, Z_TC1, D)

Arguments

Z_TP1

First stage Z-test statistic of the superiority test of treatment over placebo.

Z_TC1

First stage Z-test statistic of the non-inferiority test of treatment to the active control.

D

list containing all parameters of a the trial design.

Value

numeric value of the conditional power.


jan-imbi/OptimalGoldstandardDesigns documentation built on Sept. 13, 2023, 11:47 a.m.