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
sample mean of group 1
sd1
standard deviation for group 1
mu2
sample mean of group 2
equal.sample
equal sample sizes for two groups, see details
trials
number of trials in simulation
equal.precision
equal dispersion parameter assumption in simulation
sd2
standard deviation for group 2. Only applicable when equal.precision = FALSE
link.type
type of link used in the beta regression, see details
Value
Object of class "power.htest", a list of the arguments (including the computed one) augmented with method and note elements.
Details
Exactly one of the parameters n1, n2 and power must be passed as NULL, and that parameter is determined from the others.
This function allows you to set the number of trials in the simulation to control the result accuracy,
and type of link used in the beta regression. You can choose one of the following: "logit", "probit", "cloglog", "cauchit", "log", "loglog".