power_dom.Rd
Computes the statistical power for testing the difference of means (DOM) between two groups using Monte Carlo simulations. The power is estimated based on specified sample sizes, means, standard deviations, and significance level.
power_dom(
seed,
mu_test,
mu_control,
sigma_test,
sigma_control,
N_test,
N_control,
lb,
ub,
alpha = 0.05,
nsim = 10000
)
Integer. Seed for reproducibility.
Numeric. Mean of the test group.
Numeric. Mean of the control group.
Numeric. Standard deviation of the test group.
Numeric. Standard deviation of the control group.
Integer. Sample size of the test group.
Integer. Sample size of the control group.
Numeric. Lower bound for the equivalence margin.
Numeric. Upper bound for the equivalence margin.
Numeric. Significance level (default = 0.05).
Integer. Number of simulations (default = 10,000).
Numeric. Estimated power (probability between 0 and 1).