View source: R/gs_design_combo.R
get_combo_power | R Documentation |
A helper function passed to uniroot()
get_combo_power(n, bound, info_fh, theta_fh, corr_fh, algorithm, beta, ...)
n |
Input sample size |
algorithm |
an object of class |
beta |
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.
The optimal sample size (a single numeric value)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.