A helper function passed to uniroot()
get_combo_power(n, bound, info_fh, theta_fh, corr_fh, algorithm, beta, ...)
The optimal sample size (a single numeric value)
Input sample size
an object of class GenzBretz
,
Miwa
or TVPACK
specifying both the algorithm to be used as well as
the associated hyper parameters.
Type II error.
Additional parameters passed to mvtnorm::pmvnorm.
This function calculates the difference between the derived power and the targeted power (1 - beta), based on the provided sample size, upper and lower boundaries, and treatment effect.