Description Usage Arguments Details Value See Also Examples
View source: R/compute-power-by-sample-size.R
Computes the power over a grid of sample size values.
| 1 | computePowerBySampleSize(V, Delta, min_Delta, alpha = 0.05, sample_size_grid)
 | 
| V | The covariance matrix of mean EDTR estimators. | 
| Delta | The vector of effect sizes with a zero indicating the best EDTR. | 
| min_Delta | The minimum desired detectable effect size. | 
| alpha | The Type I error rate for not including the true best EDTR. | 
| sample_size_grid | The vector of sample sizes | 
It employs common random variables
to reduce the variance. See computePower for more details.
A vector of power for each sample size in the given grid.
| 1 2 3 4 5 6 7 8 9 10 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.