calc_prob_reject_both_singlestage: Helper function to calculate the probability to reject both...

View source: R/design_helper_functions.R

calc_prob_reject_both_singlestageR Documentation

Helper function to calculate the probability to reject both hypotheses given the mean of the normal test statistic vector c(Z_TP1, Z_TC1).

Description

Helper function to calculate the probability to reject both hypotheses given the mean of the normal test statistic vector c(Z_TP1, Z_TC1).

Usage

calc_prob_reject_both_singlestage(mu_vec, D)

Arguments

mu_vec

vector of means of the test statistic c(Z_TP1, Z_TP2, Z_TC1, Z_TC1).

D

list containing all parameters of a the trial design.


OptimalGoldstandardDesigns documentation built on Sept. 11, 2023, 5:09 p.m.