Estimate the power of a 2sample Welch4 ttest assuming you ca
Estimate the power of a 2-sample Welch^4 t-test assuming you can have a total of 40 experimental units (that is n1+n2 = 40) under each of the following conditions: For each condition assume you are testing Ho: mu 1 = mu 2 vs. Ha: mu 1 not equal to mu 2 use alpha = 0.05 as the significance level assume the true values of the means are mu 1, true = 100 and mu 2, true = 120 assume observations come from a normal distribution simulate power using 100,000 simulations 4 a.k.a. the Satterthwaite 2-sample t-test, the one that does not assume equal variance.
Solution
H0: Two means are equal
Ha: Two means are not equal
Alpha =0.05
True values of the mean mu1, true = 100 and mu2, true = 120
Power of the test = 0.04
