sample size in group 1, or sample size in each group if equal.sample = TRUE
n2
sample size in group 2
power
power of test (1 minus Type II error probability)
sig.level
significance level (Type I error probability)
mu1
arithmetic mean of group 1
mu2
arithmetic mean of group 2
gmu1
geometric mean of group 1
gmu2
geometric mean of group 2
trials
number of trials in simulation
M
number of simulations used in CAT method, see Chang (2011)
equal.sample
equal sample sizes for two groups, see details
equal.shape
assume the shape parameters are equal for two groups, see details
Value
Object of class "power.htest", a list of the arguments (including the computed one) augmented with method element.
Details
Exactly one of the parameters n1, n2, and power must be passed as NULL, and that parameter is determined from the others.
Notice that sig.level has non-NULL defaults, so NULL must be explicitly passed if you want to compute it.
If equal.sample = TRUE is used, N in output will denote the number in each group.
The equal shape parameter assumption will be tested automatically; otherwise it could be set manually with equal.shape.
References
Chang et al. (2011). Testing the equality of several gamma means: a parametric bootstrap method with applications. Computational Statistics, 26:55-76.