The R function size2z.test () shown below implements the sample size formula for calculating the sample size
Question:
The R function size2z.test () shown below implements the sample size formula for calculating the sample size for a test of $H_{0}: \theta=0$ versus $H_{1}: \theta eq 0$, where $\theta=\mu_{1}-\mu_{2}$.
a. What are the main assumptions behind this sample size formula?
b. Assuming all other parameters remain fixed, indicate whether the sample size increases or decreases in each of the following cases.i. As $\sigma$ decreases.
ii. As $\alpha$ decreases.
iii. As $\theta$ decreases.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Design And Analysis Of Experiments And Observational Studies Using R
ISBN: 9780367456856
1st Edition
Authors: Nathan Taback
Question Posted: