Finite Sample Power Calculations for Detection Boundary Tests


[Up] [Top]

Documentation for package ‘DBpower’ version 0.1.0

Help Pages

calcb1 calc_b1.R
calcb2 calc_b2.R
calc_exact_power calc_exact_power.R
createMj Create the matrix that linearly transforms the vector of test statistics into a quantity amenable for pmvnorm.
createMjk Create the matrix that linearly transforms the vector of test statistics into a quantity amenable for pmvnorm.
performIntegralLower1 Apply this function over 1:J to calculate each portion of the integral we need for the lower bound.
performIntegralLower2 Apply this function over all m, j not equal (order matters) to calculate each portion of the integral we need for the lower bound for calc_b2.
performIntegralUpper1 Apply this function over 1:J to calculate each portion of the integral we need for the upper bound.
performIntegralUpper2 Apply this function over all m, j not equal (order matters) to calculate each portion of the integral we need for the lower bound for calc_b2.
set_BJ_bounds set_BJ_bounds.R
set_GBJ_bounds set_GBJ_bounds.R
sim_b1 sim_R1.R
sim_b2 sim_b2.R
sim_power_mvn sim_power_mvn.R
sim_stats_mef sim_power_indiv.R
sim_stats_mo Simulate power starting from individual-level data for multiple outcomes setting.